File tree Expand file tree Collapse file tree
core/src/main/java/fj/data Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -695,7 +695,7 @@ public static <T> Option<T> none() {
695695 * return none, otherwise, return the given value in some.
696696 *
697697 * @param t The unsafe nullable value.
698- * @return If <code>t == null</code> then return it in some , otherwise, return none .
698+ * @return If <code>t == null</code> then return none , otherwise, return it in some .
699699 */
700700 public static <T > Option <T > fromNull (final T t ) {
701701 return t == null ? Option .<T >none () : some (t );
@@ -705,7 +705,7 @@ public static <T> Option<T> fromNull(final T t) {
705705 * Turns an unsafe nullable value into a safe optional value. If <code>t == null</code> then
706706 * return none, otherwise, return the given value in some.
707707 *
708- * @return If <code>t == null</code> then return it in some , otherwise, return none .
708+ * @return If <code>t == null</code> then return none , otherwise, return it in some .
709709 */
710710 public static <T > F <T , Option <T >> fromNull () {
711711 return new F <T , Option <T >>() {
You can’t perform that action at this time.
0 commit comments