File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Parse/src/main/java/com/parse Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ class ParsePlugins {
26
26
private static final String INSTALLATION_ID_LOCATION = "installationId" ;
27
27
28
28
private static final Object LOCK = new Object ();
29
- private static final String TAG = "com.parse.ParsePlugins" ;
30
29
private static ParsePlugins instance ;
31
30
32
31
// TODO(grantland): Move towards a Config/Builder parameter pattern to allow other configurations
@@ -38,8 +37,7 @@ static void initialize(Parse.Configuration configuration) {
38
37
static void set (ParsePlugins plugins ) {
39
38
synchronized (LOCK ) {
40
39
if (instance != null ) {
41
- PLog .w (TAG , "ParsePlugins is already initialized" );
42
- return ;
40
+ throw new IllegalStateException ("ParsePlugins is already initialized" );
43
41
}
44
42
instance = plugins ;
45
43
}
You can’t perform that action at this time.
0 commit comments