question: protected static String trimAttributeName ( String attName ) { return attName . substring ( 0 , attName . length ( ) - 1 ) ; }
target:  Removes the last character of the input string and returns the trimmed name