Make fields private where possible

This commit is contained in:
Phillip Webb
2014-01-21 16:21:00 -08:00
parent 0160760568
commit 43e54d38f7
169 changed files with 280 additions and 280 deletions

View File

@@ -222,7 +222,7 @@ class JarWriter {
private static final byte[] ZIP_HEADER = new byte[] { 0x50, 0x4b, 0x03, 0x04 };
private byte[] header;
private final byte[] header;
private ByteArrayInputStream headerStream;

View File

@@ -36,9 +36,9 @@ public class TestJarFile {
private final byte[] buffer = new byte[4096];
private TemporaryFolder temporaryFolder;
private final TemporaryFolder temporaryFolder;
private File jarSource;
private final File jarSource;
public TestJarFile(TemporaryFolder temporaryFolder) throws IOException {
this.temporaryFolder = temporaryFolder;