GitHub user shahabkondri opened a pull request:
https://github.com/apache/commons-compress/pull/61
Code Cleanup.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/shahabkondri/commons-compress cleanup
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/commons-compress/pull/61.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #61
----
commit 182ccc1a418ec882270db5bc503aa5737265c9a9
Author: shahab <shahab.kondri@...>
Date: 2018-01-14T19:06:33Z
Modifier 'private' is redundant for enum constructors.
commit 4818cf0ccf606c2a4c0bca463d05c64b6bc404a8
Author: shahab <shahab.kondri@...>
Date: 2018-01-14T19:08:17Z
Modifier 'static' is redundant for enum constructors.
commit adb0b2ab641f629fe6da99a0a996eabff8b78911
Author: shahab <shahab.kondri@...>
Date: 2018-01-14T19:12:51Z
if statement can be simplified.
commit f5af518667398f02c78511247eb3338111fd8b92
Author: shahab <shahab.kondri@...>
Date: 2018-01-14T19:19:10Z
if statement can be simplified.
commit 30d624385def5739a5ec9eb1f6754b392c8392d2
Author: shahab <shahab.kondri@...>
Date: 2018-01-14T19:21:33Z
Local variable is redundant.
commit fef06ba8c650f2a2963dbbb23c2ba09e519da53d
Author: shahab <shahab.kondri@...>
Date: 2018-01-14T19:25:04Z
There is General exception 'IOException' in the throws list already.
commit f26634ce898eb1db4f71becf98b07bc3ebddb4d4
Author: shahab <shahab.kondri@...>
Date: 2018-01-14T19:26:56Z
remove unused import.
commit 068eefbae5a0df4000961e84a4dd37fe4bdb9f70
Author: shahab <shahab.kondri@...>
Date: 2018-01-14T19:32:18Z
Explicit manual boxing is unnecessary under Java 5 and newer, and can be
safely removed.
commit 394a315316063d30769c89355732d57863d656cb
Author: shahab <shahab.kondri@...>
Date: 2018-01-14T19:37:59Z
'long' literal ending with lowercase 'l' instead of 'L'
----
---