List of usage examples for org.eclipse.jgit.diff RawText EMPTY_TEXT
RawText EMPTY_TEXT
To view the source code for org.eclipse.jgit.diff RawText EMPTY_TEXT.
Click Source Link
From source file:org.openflexo.hannah.IterativeFileGenerator.java
License:Open Source License
private RawText getRawText(ObjectId id) throws IOException { if (ObjectId.zeroId().equals(id)) { return RawText.EMPTY_TEXT; }/*w w w . ja va 2 s .co m*/ final ObjectLoader loader = git.getRepository().open(id, Constants.OBJ_BLOB); return new RawText(loader.getCachedBytes()); }