question: public static String unescapeDot ( String identifierToUnescape ) { int indexof = identifierToUnescape . indexOf ( "." ) ; if ( indexof == - 1 ) { return identifierToUnescape ; } indexof = identifierToUnescape . indexOf ( "\\" ) ; if ( indexof == - 1 ) { return identifierToUnescape ; } StringBuilder builder = new StringBuilder ( ) ; int index = - 1 ; int max = identifierToUnescape . length ( ) - 1 ; do { index ++ ; char c = identifierToUnescape . charAt ( index ) ; if ( c != '\\' ) { builder . append ( c ) ; continue ; } if ( index < identifierToUnescape . length ( ) - 1 ) { if ( identifierToUnescape . charAt ( index + 1 ) == '.' ) { builder . append ( '.' ) ; index ++ ; } } } while ( index < max ) ; return builder . toString ( ) ; }
target:  Un-Escape all escaped dot characters in the text (identifier only) passed in.