summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorEdwin Kempin2013-03-19 01:59:52 (EDT)
committer Matthias Sohn2013-03-19 19:48:30 (EDT)
commite02708a8b37b7d58976cd66bc017c91377053a76 (patch)
treed1bbbe879af5d4d89267c11f14dc2a6af0a1fd5a
parentb37b1c91651f3d78f3ae72fc5450d327c46906d8 (diff)
downloadjgit-e02708a8b37b7d58976cd66bc017c91377053a76.zip
jgit-e02708a8b37b7d58976cd66bc017c91377053a76.tar.gz
jgit-e02708a8b37b7d58976cd66bc017c91377053a76.tar.bz2
Fix formatting of PackConfig.toString() & GC.RepoStatistics.toString()refs/changes/95/11295/4
Change-Id: I7e0c74ecfd0e0615d10fb582b2897d33be23440a Signed-off-by: Edwin Kempin <edwin.kempin@sap.com> Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java2
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackConfig.java24
2 files changed, 13 insertions, 13 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java
index bc14d88..9950819 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java
@@ -842,7 +842,7 @@ public class GC {
public String toString() {
final StringBuilder b = new StringBuilder();
b.append("numberOfPackedObjects=").append(numberOfPackedObjects); //$NON-NLS-1$
- b.append(",numberOfPackFiles=").append(numberOfPackFiles); //$NON-NLS-1$
+ b.append(", numberOfPackFiles=").append(numberOfPackFiles); //$NON-NLS-1$
b.append(", numberOfLooseObjects=").append(numberOfLooseObjects); //$NON-NLS-1$
b.append(", numberOfLooseRefs=").append(numberOfLooseRefs); //$NON-NLS-1$
b.append(", numberOfPackedRefs=").append(numberOfPackedRefs); //$NON-NLS-1$
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackConfig.java b/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackConfig.java
index 5180742..7559e90 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackConfig.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackConfig.java
@@ -689,18 +689,18 @@ public class PackConfig {
public String toString() {
final StringBuilder b = new StringBuilder();
b.append("maxDeltaDepth=").append(getMaxDeltaDepth()); //$NON-NLS-1$
- b.append("deltaSearchWindowSize=").append(getDeltaSearchWindowSize()); //$NON-NLS-1$
- b.append("deltaSearchMemoryLimit=").append(getDeltaSearchMemoryLimit()); //$NON-NLS-1$
- b.append("deltaCacheSize=").append(getDeltaCacheSize()); //$NON-NLS-1$
- b.append("deltaCacheLimit=").append(getDeltaCacheLimit()); //$NON-NLS-1$
- b.append("compressionLevel=").append(getCompressionLevel()); //$NON-NLS-1$
- b.append("indexVersion=").append(getIndexVersion()); //$NON-NLS-1$
- b.append("bigFileThreshold=").append(getBigFileThreshold()); //$NON-NLS-1$
- b.append("threads=").append(getThreads()); //$NON-NLS-1$
- b.append("reuseDeltas=").append(isReuseDeltas()); //$NON-NLS-1$
- b.append("reuseObjects=").append(isReuseObjects()); //$NON-NLS-1$
- b.append("deltaCompress=").append(isDeltaCompress()); //$NON-NLS-1$
- b.append("buildBitmaps=").append(isBuildBitmaps()); //$NON-NLS-1$
+ b.append(", deltaSearchWindowSize=").append(getDeltaSearchWindowSize()); //$NON-NLS-1$
+ b.append(", deltaSearchMemoryLimit=").append(getDeltaSearchMemoryLimit()); //$NON-NLS-1$
+ b.append(", deltaCacheSize=").append(getDeltaCacheSize()); //$NON-NLS-1$
+ b.append(", deltaCacheLimit=").append(getDeltaCacheLimit()); //$NON-NLS-1$
+ b.append(", compressionLevel=").append(getCompressionLevel()); //$NON-NLS-1$
+ b.append(", indexVersion=").append(getIndexVersion()); //$NON-NLS-1$
+ b.append(", bigFileThreshold=").append(getBigFileThreshold()); //$NON-NLS-1$
+ b.append(", threads=").append(getThreads()); //$NON-NLS-1$
+ b.append(", reuseDeltas=").append(isReuseDeltas()); //$NON-NLS-1$
+ b.append(", reuseObjects=").append(isReuseObjects()); //$NON-NLS-1$
+ b.append(", deltaCompress=").append(isDeltaCompress()); //$NON-NLS-1$
+ b.append(", buildBitmaps=").append(isBuildBitmaps()); //$NON-NLS-1$
return b.toString();
}
}