Browse Source

Merge "Use local variable in RepositoryTestCase.indexState"

stable-4.1
Christian Halstrick 10 years ago committed by Gerrit Code Review @ Eclipse.org
parent
commit
e7d86e1939
  1. 2
      org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/RepositoryTestCase.java

2
org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/RepositoryTestCase.java

@ -238,7 +238,7 @@ public abstract class RepositoryTestCase extends LocalDiskRepositoryTestCase {
sb.append(", sha1:" + ObjectId.toString(entry.getObjectId())); sb.append(", sha1:" + ObjectId.toString(entry.getObjectId()));
if (0 != (includedOptions & CONTENT)) { if (0 != (includedOptions & CONTENT)) {
sb.append(", content:" sb.append(", content:"
+ new String(db.open(entry.getObjectId(), + new String(repo.open(entry.getObjectId(),
Constants.OBJ_BLOB).getCachedBytes(), "UTF-8")); Constants.OBJ_BLOB).getCachedBytes(), "UTF-8"));
} }
if (0 != (includedOptions & ASSUME_UNCHANGED)) if (0 != (includedOptions & ASSUME_UNCHANGED))

Loading…
Cancel
Save