}else if(baton.myPropsAct == DECIDE){ Object[] names = baton.myProps.keySet().toArray(); for(int i = 0; i < names.length; i++){ String existingName = (String)names[i]; String existingValue = (String)baton.myProps.get(existingName); if(existingName.equals(name) && existingValue.equals(value)){  baton.myPropsAct = IGNORE; return; }
} else if (baton.myPropsAct == DECIDE) { String propVal = (String)baton.myProps.get(name); if (propVal != null && propVal.equals(value)) {  baton.myPropsAct = IGNORE; return;
    public void changeFileProperty(String path, String name, String value) throws SVNException{        if(!SVNProperty.isRegularProperty(name)){            return;        }        EntryBaton baton = (EntryBaton)pathsToFileBatons.get(path);        if(baton.myPropsAct == ACCEPT){            myCommitEditor.changeFileProperty(path, name, value);        }else if(baton.myPropsAct == DECIDE){            Object[] names = baton.myProps.keySet().toArray();            for(int i = 0; i < names.length; i++){                String existingName = (String)names[i];                String existingValue = (String)baton.myProps.get(existingName);                if(existingName.equals(name) && existingValue.equals(value)){                    /* The properties seem to be the same as of the copy origin,                      * do not reset them again.                     */                    baton.myPropsAct = IGNORE;                    return;                }            }            /*             * Properties do differ, accept them.             */            baton.myPropsAct = ACCEPT;            myCommitEditor.changeFileProperty(path, name, value);        }        //ignore props of the file being copied    }