Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.2.0, 4.0.0
-
None
-
Patch
Description
LazyTimestamp.java
if (s.compareTo("NULL") == 0) { isNull = true; logExceptionMessage(bytes, start, length, "TIMESTAMP"); }
compareTo generates a number to represent the differences between the two Strings. It's faster to simply call "equals" which will simply compare the two String directly and return a boolean.