SVNErrorManager.error(err, SVNLogType.DEFAULT);
}
}
public static void validateEOLProperty(String path, ISVNFileContentFetcher fetcher) throws SVNException {
SVNTranslatorOutputStream out = new SVNTranslatorOutputStream(SVNFileUtil.DUMMY_OUT, new byte[0], false, null, false);
try {
fetcher.fetchFileContent(out);
} catch (SVNException e) {
handleInconsistentEOL(e, path);
throw e;
} finally {
try {
out.close();
} catch (IOExceptionWrapper wrapper) {
handleInconsistentEOL(wrapper.getOriginalException(), path);
throw wrapper.getOriginalException();
} catch (IOException e) {
SVNErrorManager.error(SVNErrorMessage.create(SVNErrorCode.IO_ERROR, e), SVNLogType.DEFAULT);