Merge "Use local variable in RepositoryTestCase.indexState"

This commit is contained in:
Christian Halstrick 2015-07-09 18:27:38 -04:00 committed by Gerrit Code Review @ Eclipse.org
commit e7d86e1939
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ public String indexState(Repository repo, int includedOptions)
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))