From e02708a8b37b7d58976cd66bc017c91377053a76 Mon Sep 17 00:00:00 2001 From: Edwin Kempin Date: Tue, 19 Mar 2013 06:59:52 +0100 Subject: [PATCH] Fix formatting of PackConfig.toString() & GC.RepoStatistics.toString() Change-Id: I7e0c74ecfd0e0615d10fb582b2897d33be23440a Signed-off-by: Edwin Kempin Signed-off-by: Matthias Sohn --- .../jgit/internal/storage/file/GC.java | 2 +- .../eclipse/jgit/storage/pack/PackConfig.java | 24 +++++++++---------- 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 bc14d88d60..9950819cbf 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 518074278a..7559e907ef 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(); } } -- 2.39.5