private String displayNametoBackCompatName(String queryName){
  final int lastBackSlash=queryName.lastIndexOf('\\');
  if (lastBackSlash > 0 && lastBackSlash < queryName.length() - 1) {
    queryName=(char)0x00ab + queryName;
    queryName=queryName.substring(0,lastBackSlash + 1) + (char)0x00bb + ' '+ queryName.substring(lastBackSlash + 2);
    queryName=queryName.replace('\\',(char)0x2044);
  }
  return queryName;
}

private String displayNametoBackCompatName ( String queryName ) { final int lastBackSlash = queryName . lastIndexOf ( '\\' ) ; if ( lastBackSlash > 0 && lastBackSlash < queryName . length ( ) - 1 ) { queryName = ( char ) 0x00ab + queryName ; queryName = queryName . substring ( 0 , lastBackSlash + 1 ) + ( char ) 0x00bb + ' ' + queryName . substring ( lastBackSlash + 2 ) ; queryName = queryName . replace ( '\\' , ( char ) 0x2044 ) ; } return queryName ; }
method to work around the query names that are expected when working in back - compat mode against stored queries .
