package org.xcolab.client.admin.enums;

public enum ServerEnvironment {
    PRODUCTION, STAGING, DEV, LOCAL, UNKNOWN;

    public boolean isProduction() {
        if (PRODUCTION == this)
            return true;
        else
            return false;
    }
}

@@ -160,12 +160,15 @@
     
-if (
+return 
 PROD
@@ -185,72 +185,8 @@
 this
-)%0A            return true;%0A        else%0A            return false
 ;%0A  

Simplify ServerEnvironment isProduction method