protected boolean urlEquals(String url1,String url2){
  return url1.equals(url2);
}

protected boolean urlEquals ( String url1 , String url2 ) { return url1 . equals ( url2 ) ; }
determines whether two urls are the same . default implementation uses string . equals ( ) . subclass should override if this is not appropriate . this method is used by rename ( ) .
