diff options
author | Christian Halstrick <christian.halstrick@sap.com> | 2015-07-09 18:27:38 -0400 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org <gerrit@eclipse.org> | 2015-07-09 18:27:40 -0400 |
commit | e7d86e1939b97cd0374ae292cd20fe838f6421b8 (patch) | |
tree | ce6655136eba2e6139fac061a9ccc7ced2f1acc6 /org.eclipse.jgit.junit | |
parent | 19b45dab71aa8401de403b22ef24f0b0a82411fd (diff) | |
parent | 88168c6d603833a7033af973af0282dc7056d7ef (diff) | |
download | jgit-e7d86e1939b97cd0374ae292cd20fe838f6421b8.tar.gz jgit-e7d86e1939b97cd0374ae292cd20fe838f6421b8.zip |
Merge "Use local variable in RepositoryTestCase.indexState"
Diffstat (limited to 'org.eclipse.jgit.junit')
-rw-r--r-- | org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/RepositoryTestCase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/RepositoryTestCase.java b/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/RepositoryTestCase.java index 83148d0009..f9eb7b4eac 100644 --- a/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/RepositoryTestCase.java +++ b/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())); if (0 != (includedOptions & CONTENT)) { sb.append(", content:" - + new String(db.open(entry.getObjectId(), + + new String(repo.open(entry.getObjectId(), Constants.OBJ_BLOB).getCachedBytes(), "UTF-8")); } if (0 != (includedOptions & ASSUME_UNCHANGED)) |