public static SVNProperties normalizeRevisionProperties(SVNProperties revProps) throws SVNException { SVNProperties normalizedProps = new SVNProperties(); for (Iterator propNamesIter = revProps.nameSet().iterator(); propNamesIter.hasNext();) { String propName = (String) propNamesIter.next(); if (SVNPropertiesManager.propNeedsTranslation(propName)) { SVNPropertyValue value = revProps.getSVNPropertyValue(propName); String normalizedValue = normalizeString(SVNPropertyValue.getPropertyAsString(value)); if (normalizedValue != null) { normalizedProps.put(propName, SVNPropertyValue.create(normalizedValue)); } } } revProps.putAll(normalizedProps); return normalizedProps; }
public static SVNProperties normalizeRevisionProperties(SVNProperties revProps) throws SVNException { SVNProperties normalizedProps = new SVNProperties(); for (Iterator propNamesIter = revProps.nameSet().iterator(); propNamesIter.hasNext();) { String propName = (String) propNamesIter.next(); if (SVNPropertiesManager.propNeedsTranslation(propName)) { SVNPropertyValue value = revProps.getSVNPropertyValue(propName); String normalizedValue = normalizeString(SVNPropertyValue.getPropertyAsString(value)); if (normalizedValue != null) { normalizedProps.put(propName, SVNPropertyValue.create(normalizedValue)); } } } revProps.putAll(normalizedProps); return normalizedProps; }
public static SVNProperties normalizeRevisionProperties(SVNProperties revProps) throws SVNException { SVNProperties normalizedProps = new SVNProperties(); for (Iterator propNamesIter = revProps.nameSet().iterator(); propNamesIter.hasNext();) { String propName = (String) propNamesIter.next(); if (SVNPropertiesManager.propNeedsTranslation(propName)) { SVNPropertyValue value = revProps.getSVNPropertyValue(propName); String normalizedValue = normalizeString(SVNPropertyValue.getPropertyAsString(value)); if (normalizedValue != null) { normalizedProps.put(propName, SVNPropertyValue.create(normalizedValue)); } } } revProps.putAll(normalizedProps); return normalizedProps; }
public void changeFileProperty(String path, String name, SVNPropertyValue value) throws SVNException { if (SVNProperty.isRegularProperty(name)) { if (SVNPropertiesManager.propNeedsTranslation(name)) { String normalizedVal = SVNAdminClient.normalizeString(SVNPropertyValue.getPropertyAsString(value)); if (normalizedVal != null) { value = SVNPropertyValue.create(normalizedVal); myNormalizedNodePropsCounter++; } } getWrappedEditor().changeFileProperty(path, name, value); } }
public void changeFileProperty(String path, String name, SVNPropertyValue value) throws SVNException { if (SVNProperty.isRegularProperty(name)) { if (SVNPropertiesManager.propNeedsTranslation(name)) { String normalizedVal = SVNAdminClient.normalizeString(SVNPropertyValue.getPropertyAsString(value)); if (normalizedVal != null) { value = SVNPropertyValue.create(normalizedVal); myNormalizedNodePropsCounter++; } } getWrappedEditor().changeFileProperty(path, name, value); } }
public void changeDirProperty(String name, SVNPropertyValue value) throws SVNException { if (SVNProperty.isRegularProperty(name)) { if (SVNPropertiesManager.propNeedsTranslation(name)) { String normalizedValue = SVNAdminClient.normalizeString(SVNPropertyValue.getPropertyAsString(value)); if (normalizedValue != null) { value = SVNPropertyValue.create(normalizedValue); myNormalizedNodePropsCounter++; } } getWrappedEditor().changeDirProperty(name, value); } }
public void changeDirProperty(String name, SVNPropertyValue value) throws SVNException { if (SVNProperty.isRegularProperty(name)) { if (SVNPropertiesManager.propNeedsTranslation(name)) { String normalizedValue = SVNAdminClient.normalizeString(SVNPropertyValue.getPropertyAsString(value)); if (normalizedValue != null) { value = SVNPropertyValue.create(normalizedValue); myNormalizedNodePropsCounter++; } } getWrappedEditor().changeDirProperty(name, value); } }
public void changeDirProperty(String name, SVNPropertyValue value) throws SVNException { if (SVNProperty.isRegularProperty(name)) { if (SVNPropertiesManager.propNeedsTranslation(name)) { String normalizedValue = SVNAdminClient.normalizeString(SVNPropertyValue.getPropertyAsString(value)); if (normalizedValue != null) { value = SVNPropertyValue.create(normalizedValue); myNormalizedNodePropsCounter++; } } getWrappedEditor().changeDirProperty(name, value); } }
public void changeFileProperty(String path, String name, SVNPropertyValue value) throws SVNException { if (SVNProperty.isRegularProperty(name)) { if (SVNPropertiesManager.propNeedsTranslation(name)) { String normalizedVal = SVNAdminClient.normalizeString(SVNPropertyValue.getPropertyAsString(value)); if (normalizedVal != null) { value = SVNPropertyValue.create(normalizedVal); myNormalizedNodePropsCounter++; } } getWrappedEditor().changeFileProperty(path, name, value); } }
if (SVNPropertiesManager.propNeedsTranslation(propertyName)) { encoding = getSVNEnvironment().getEncoding(); if (encoding == null) {
if (SVNPropertiesManager.propNeedsTranslation(propertyName)) { encoding = getSVNEnvironment().getEncoding(); if (encoding == null) {