DESCRIPTION

[chores] Fix some code issues as reported by Sonar

Motivation
----------
Sonar reported a few items that it makes sense to fix:

 - squid:S1118 - Utility classes should not have public constructors.
 - squid:S1444 - "public static" fields should be constant.
 - squid:S1854 - Dead stores should be removed.
 - squid:ClassVariableVisibilityCheck - Class variable fields should
   not have public accessibility.
 - squid:CommentedOutCodeLine - Sections of code should not be
   "commented out".
 - squid:S1481 - Unused local variables should be removed.
 - squid:S2786 - Nested "enum"s should not be declared static.

Modifications
-------------
The fixes proposed by Sonar that made sense have been applied,
improving code quality.

Result
------
Improved code quality.

Fixes #14
Fixes #18
Change-Id: Idd44c1f6aa4cc9842820883a28554fd0357ee088
Reviewed-on: http://review.couchbase.org/64953
Reviewed-by: Estrella Humphrey xxx@xxx.xxx
Tested-by: Estrella Humphrey xxx@xxx.xxx


COMMENTS

author: Tate Garrett
date: 2016-08-29 09:14:55.092000000

Change has been successfully cherry-picked as 5addb24c52e8db1f0daecbcdec654c66acfd310b by Estrella Humphrey

-------------------------------------
