X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Ffcp%2Fhighlevel%2FHighLevelCallback.java;h=3f0cd396e7fb1cca940d914933f2a6ff7d84f42c;hb=107652468c2522c5c83109d58eba1ebb2c1471db;hp=304d24e263105a375f0aa6ff96ac0d44134f0ec1;hpb=0a3d813b54cd9ced91dd6dadca8671d1fd10d8af;p=jFCPlib.git diff --git a/src/net/pterodactylus/fcp/highlevel/HighLevelCallback.java b/src/net/pterodactylus/fcp/highlevel/HighLevelCallback.java index 304d24e..3f0cd39 100644 --- a/src/net/pterodactylus/fcp/highlevel/HighLevelCallback.java +++ b/src/net/pterodactylus/fcp/highlevel/HighLevelCallback.java @@ -35,13 +35,13 @@ import java.util.List; public class HighLevelCallback { /** Object used for synchronization. */ - public final Object syncObject = new Object(); + private final Object syncObject = new Object(); /** The list of callback listeners. */ - public final List> highLevelCallbackListeners = Collections.synchronizedList(new ArrayList>()); + private final List> highLevelCallbackListeners = Collections.synchronizedList(new ArrayList>()); /** 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