public SVNPropertyValue getProperty(String propertyName) throws SVNException { return SVNPropertiesManager.getProperty(access, path, propertyName); } });
public boolean fileIsBinary() throws SVNException { SVNPropertyValue mimeType = getProperty(access, path, SVNProperty.MIME_TYPE); return mimeType != null && SVNProperty.isBinaryMimeType(mimeType.getString()); } });
public boolean fileIsBinary() throws SVNException { SVNPropertyValue mimeType = getProperty(access, path, SVNProperty.MIME_TYPE); return mimeType != null && SVNProperty.isBinaryMimeType(mimeType.getString()); } });
public boolean fileIsBinary() throws SVNException { SVNPropertyValue mimeType = SVNPropertiesManager.getProperty(access, path, SVNProperty.MIME_TYPE); return mimeType != null && SVNProperty.isBinaryMimeType(mimeType.getString()); }
for (Iterator addedPathsIter = myAddedPaths.iterator(); addedPathsIter.hasNext();) { File addedPath = (File) addedPathsIter.next(); SVNPropertyValue addedPathParentPropValue = SVNPropertiesManager.getProperty(myWCAccess, addedPath.getParentFile(), SVNProperty.MERGE_INFO); String addedPathParentPropValueStr = addedPathParentPropValue != null ?
for (Iterator addedPathsIter = myAddedPaths.iterator(); addedPathsIter.hasNext();) { File addedPath = (File) addedPathsIter.next(); SVNPropertyValue addedPathParentPropValue = SVNPropertiesManager.getProperty(myWCAccess, addedPath.getParentFile(), SVNProperty.MERGE_INFO); String addedPathParentPropValueStr = addedPathParentPropValue != null ?
private static void validateEOLProperty(File path, SVNWCAccess access) throws SVNException { String mimeType = getProperty(access, path, SVNProperty.MIME_TYPE); if (mimeType != null && SVNProperty.isBinaryMimeType(mimeType)) { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.ILLEGAL_TARGET, "File ''{0}'' has binary mime type property", path); SVNErrorManager.error(err); } boolean consistent = SVNTranslator.checkNewLines(path); if (!consistent) { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.ILLEGAL_TARGET, "File ''{0}'' has inconsistent newlines", path); SVNErrorManager.error(err); } }
for (Iterator addedPathsIter = myAddedPaths.iterator(); addedPathsIter.hasNext();) { File addedPath = (File) addedPathsIter.next(); SVNPropertyValue addedPathParentPropValue = SVNPropertiesManager.getProperty(myWCAccess, addedPath.getParentFile(), SVNProperty.MERGE_INFO); String addedPathParentPropValueStr = addedPathParentPropValue != null ?