make members private
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Mon, 14 Apr 2008 20:49:59 +0000 (20:49 +0000)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Mon, 14 Apr 2008 20:49:59 +0000 (20:49 +0000)
git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@815 c3eda9e8-030b-0410-8277-bc7414b0a119

src/net/pterodactylus/fcp/highlevel/HighLevelCallback.java

index 304d24e..3f0cd39 100644 (file)
@@ -35,13 +35,13 @@ import java.util.List;
 public class HighLevelCallback<R extends HighLevelResult> {
 
        /** Object used for synchronization. */
-       public final Object syncObject = new Object();
+       private final Object syncObject = new Object();
 
        /** The list of callback listeners. */
-       public final List<HighLevelCallbackListener<R>> highLevelCallbackListeners = Collections.synchronizedList(new ArrayList<HighLevelCallbackListener<R>>());
+       private final List<HighLevelCallbackListener<R>> highLevelCallbackListeners = Collections.synchronizedList(new ArrayList<HighLevelCallbackListener<R>>());
 
        /** The result of the operation. */
-       public R result = null;
+       private R result = null;
 
        /**
         * Adds a callback listener to this callback. The callback listener will be