quiz icon indicating copy to clipboard operation
quiz copied to clipboard

Changes made:

Open commandini opened this issue 9 years ago • 0 comments

Defined magic hex number (0x80) as a constant and used it. Made public methods final to allow a better design and prevent classes overriding the default behaviour. File reading/writing was not thread-safe, used synchronized blocks to do operations safely on file arguments. JVM String pool would be potentially polluted with unnecessary String creations in the original code, used StringBuilder instead.

commandini avatar Mar 13 '16 20:03 commandini