/guava/guava/src/com/google/common/base/Strings.java
s--; || validSurrogatePairAt( b, b.length( ) - s - 1) ) {
|| validSurrogatePairAt ( b, b.length ( ) - s - 1 ) ) { s--;
int maxSuffixLength = Math.min(a.length(), b.length()); int s = 0; while (s < maxSuffixLength && a.charAt(a.length() - s - 1) == b.charAt(b.length() - s - 1)) { s++; } if (validSurrogatePairAt(a, a.length() - s - 1) <extra_id_0> } return a.subSequence(a.length() - s, a.length()).toString(); } @VisibleForTesting static boolean validSurrogatePairAt(CharSequence string, int index) { return index >= 0