quiz icon indicating copy to clipboard operation
quiz copied to clipboard

General refactor

Open 4gus71n opened this issue 7 years ago • 0 comments

  • Using a regex to replace all unicode characters in the getContentWithoutUnicode method.
  • Reusing the getContent method in the getContentWithoutUnicode instead of doing it all over.
  • Made one liner in the saveContent method. Also I'm using the PrintStream instead of the plain FileOutputStream.
  • I got rid of every char per char reading and writing, isn't efficent at all.

4gus71n avatar Sep 03 '16 00:09 4gus71n