Method
stringOr
(Object string1, Object string2)
Source from the content-addressed store, hash-verified
| 256 | } |
| 257 | |
| 258 | public static String stringOr(Object string1, Object string2) { |
| 259 | if (string1 == null || string2 == null) return null; |
| 260 | return new Precise(String.valueOf(string1)) |
| 261 | .or(new Precise(String.valueOf(string2))) |
| 262 | .toString(); |
| 263 | } |
| 264 | |
| 265 | public static boolean stringGt(Object a, Object b) { |
| 266 | if (a == null || b == null) return false; |
Callers
nothing calls this directly
Tested by
no test coverage detected