Michael Joyner
7 years ago
Currently we are using the following to detect when in "SDM" mode:
private static Boolean isSdm = null;
   public static boolean isSdm() {
      if (isSdm==null) {
         isSdm=false;
         GWT.log("SDM MODE: "+(isSdm=true)); // only compiles and
runs when SDM is active
      }
      return isSdm;
   }
Is there a better way?
private static Boolean isSdm = null;
   public static boolean isSdm() {
      if (isSdm==null) {
         isSdm=false;
         GWT.log("SDM MODE: "+(isSdm=true)); // only compiles and
runs when SDM is active
      }
      return isSdm;
   }
Is there a better way?
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.