Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package net.java.ao.atlassian;
 
 
 final class ConverterUtils
 {
     static final int MAX_LENGTH = 30;
 
     static String checkLength(String nameString errorMsg)
    {
        if (enforceLength() && name != null && name.length() > )
        {
            throw new ActiveObjectsException(errorMsg);
        }
        return name;
    }
    private static boolean enforceLength()
    {
        return Boolean.valueOf(System.getProperty("ao.atlassian.enforce.length""true"));
    }
New to GrepCode? Check out our FAQ X