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 @@ -683,7 +683,7 @@ public static <T> Option<T> none() {
683683 * return none, otherwise, return the given value in some.
684684 *
685685 * @param t The unsafe nullable value.
686- * @return If <code>t == null</code> then return it in some , otherwise, return none .
686+ * @return If <code>t == null</code> then return none , otherwise, return it in some .
687687 */
688688 public static <T > Option <T > fromNull (final T t ) {
689689 return t == null ? Option .<T >none () : some (t );
@@ -693,7 +693,7 @@ public static <T> Option<T> fromNull(final T t) {
693693 * Turns an unsafe nullable value into a safe optional value. If <code>t == null</code> then
694694 * return none, otherwise, return the given value in some.
695695 *
696- * @return If <code>t == null</code> then return it in some , otherwise, return none .
696+ * @return If <code>t == null</code> then return none , otherwise, return it in some .
697697 */
698698 public static <T > F <T , Option <T >> fromNull () {
699699 return t -> fromNull (t );
You can’t perform that action at this time.
0 commit comments