List of usage examples for org.eclipse.jgit.diff RawTextComparator WS_IGNORE_TRAILING
RawTextComparator WS_IGNORE_TRAILING
To view the source code for org.eclipse.jgit.diff RawTextComparator WS_IGNORE_TRAILING.
Click Source Link
From source file:com.google.gerrit.server.patch.PatchListLoader.java
License:Apache License
private static RawTextComparator comparatorFor(Whitespace ws) { switch (ws) { case IGNORE_ALL_SPACE: return RawTextComparator.WS_IGNORE_ALL; case IGNORE_SPACE_AT_EOL: return RawTextComparator.WS_IGNORE_TRAILING; case IGNORE_SPACE_CHANGE: return RawTextComparator.WS_IGNORE_CHANGE; case IGNORE_NONE: default://from w w w .ja v a 2s .c o m return RawTextComparator.DEFAULT; } }