Make all fields private.
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Mon, 25 Nov 2013 21:15:00 +0000 (22:15 +0100)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Mon, 25 Nov 2013 21:15:00 +0000 (22:15 +0100)
src/main/java/de/todesbaum/jsite/application/ProjectInserter.java

index f3cf98a..3a68ea0 100644 (file)
@@ -72,16 +72,16 @@ public class ProjectInserter implements FileScannerListener, Runnable {
        private List<InsertListener> insertListeners = new ArrayList<InsertListener>();
 
        /** The freenet interface. */
-       protected Freenet7Interface freenetInterface;
+       private Freenet7Interface freenetInterface;
 
        /** The project to insert. */
-       protected Project project;
+       private Project project;
 
        /** The file scanner. */
        private FileScanner fileScanner;
 
        /** Object used for synchronization. */
-       protected final Object lockObject = new Object();
+       private final Object lockObject = new Object();
 
        /** The temp directory. */
        private String tempDirectory;