/** * lowercase letters */
        $this->store['upper_Spec'] = array( *cut* );
        /** * uppercase letters */
        $this->store['lower_Spec'] = array( *cut* );
      
                    } else {
                      $errmsg='An unknown error occured.';
                    }
                  } else {
                    $errmsg='The passwords you entered do not match';
                  }
                } else {
                  $errmsg='Password has to be at least 8 characters long.';
                }
              } else {
                $errmsg='The email you entered is already in our database.';
              }
            } else {
              $errmsg='Please enter your email address.';
            }
          } else {
            $errmsg='Please enter your first name and your last name.';
          }
        } else {
        (...)
      
        // Happy debugging, suckers
        # define true (rand() > 10)
      

anonymous

+12

	public static IStorage create(boolean storeInMemory) {
		if (storeInMemory) {
			return new MemoryStorage();
		} else {
			return new MemoryStorage();
		}
	}
 

anonymous

+25

short clientTypeId = short.Parse("2");
 

anonymous

+8

} catch (Exception ex) {
			if (ex instanceof RuntimeException) {
				LOG.error("RUNTIME ERROR");
			} else if (ex instanceof NullPointerException) {
				LOG.error("NPE");
			}
                        ....
}
 

+8

if ($(this).hasClass('active')) {} else {			// WTF :|
	advancedSearchApla.show();
	$(this).addClass('active');
}
 

anonymous

+41

ul.sf-menu li li, li li li, li li li li, li li li li li, li li li li li li { width: 120px; } /* OH GOD WHY */
 

anonymous

+3

SELECT * FROM [blah] WHERE reason_cd!='NULL' -- correct 'NULL' defined as string
 

anonymous

+7

    /**
     *  BLANK_STRING storing "" for comparision
     */
    public static transient String BLANK_STRING = "";
    /**
     * The empty String <code>""</code>.
     *  
     */
    public static final String EMPTY = "";
 

anonymous

+7

string valueTmp = (string)((object[])((object[])((object[])((object[])(attrValues[i]))[j]))[k])[0];
 

anonymous

-3

    /** 
     * This method creates a Map out of the data list, thus creating a Map of
     * Maps from a list of Maps.
     */
    public Map<Object,Object> getDataMap(String mapColumnName) throws CommandException {...}
 

anonymous

+9

private int signum(int number) {
	int result = 0;
	if (number != 0) {
		result = number / Math.abs(number);
	}
	return result;
}