Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
There are two cases:
1. a duplicate check of null bytes.
2. a lot switch statement without default case.
For the default case, I suggest
1. throwing an exception as a way to break the program. It's highly unexpected.
2. or LOG.warn it.
I am doing the second right now to keep the original.