boolean result = false;  switch(code) { case 100: case 101: case 102: result = true; break; }  return result;
return isInfo(getCode());
   public static boolean isInfo(int code)   {      boolean result = false;      switch(code)      {         case 100:         case 101:         case 102:            result = true;         break;      }      return result;   }