commit | 004da76d2b83276a1fccf1876494ba0038816c68 | [log] [tgz] |
---|---|---|
author | Robert Varga <nite@hq.sk> | Sun Jan 31 12:25:45 2016 +0100 |
committer | Dave Wallace <dwallacelf@gmail.com> | Mon Feb 01 03:00:39 2016 +0000 |
tree | 3d172effcdf0fb1cc9e722a0e8d5049a0460d268 | |
parent | 52a3a4de071cae9fe8cad4227ab44627721ae175 [diff] |
Make public fields final where possible Class fields initialized via the constructor should be final. Also mark leaking byte[] instances with a FIXME. API users consider them immutable, but they are vulnerable to System.arrayCopy(). Also fixes constructor arguments so they do not use underscores, which is prohibited by Java 9. Change-Id: I393d55ed7234149cb3604bc92b2cb1d1207c55dc Signed-off-by: Robert Varga <nite@hq.sk>