static boolean requireLeftAlignment ( String reference , String alternate ) { return StringUtils . isEmpty ( reference ) || StringUtils . isEmpty ( alternate ) || reference . charAt ( reference . length ( ) - 1 ) == alternate . charAt ( alternate . length ( ) - 1 ) ; }
Reference and alternate are either empty or last base from each is equal