Skip to content

Commit dd8451d

Browse files
committed
Fix typo. sofMemo -> softMemo
1 parent 443e01a commit dd8451d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/fj/P.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public static <A> P1<A> weakMemo(F0<A> f) {
6161
* and at each subsequent call if and only if the reference have been garbage collected
6262
* due of shortage of memory (ie. to avoid OutOfMemoryErrors).
6363
*/
64-
public static <A> P1<A> sofMemo(F0<A> f) {
64+
public static <A> P1<A> softMemo(F0<A> f) {
6565
return new P1.SoftReferenceMemo<>(f);
6666
}
6767

0 commit comments

Comments
 (0)