List of usage examples for org.eclipse.jgit.diff RawTextComparator WS_IGNORE_CHANGE
RawTextComparator WS_IGNORE_CHANGE
To view the source code for org.eclipse.jgit.diff RawTextComparator WS_IGNORE_CHANGE.
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 ww. j av a 2 s . c o m*/ return RawTextComparator.DEFAULT; } }