Skip to content

Commit 963e8ed

Browse files
committed
Deprecated stringify - it will be replaced by a good implementation in the Tainted project once that is made open-source.
1 parent 56bc360 commit 963e8ed

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/org/organicdesign/fp/FunctionUtils.java

+5
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ private FunctionUtils() {
2828
throw new UnsupportedOperationException("No instantiation");
2929
}
3030

31+
/**
32+
* Replace with com.planbase.taint.Taintable.stringify.
33+
* That method is safe. This one is a joke.
34+
*/
35+
@Deprecated(forRemoval = true)
3136
public static @NotNull String stringify(@Nullable Object o) {
3237
if (o == null) { return "null"; }
3338
if (o instanceof String) { return "\"" + o + "\""; }

0 commit comments

Comments
 (0)