From 0ea71e054e754825686d7b7adf8778bd994b5bfa Mon Sep 17 00:00:00 2001 From: Shawn Pearce Date: Tue, 19 Feb 2013 00:43:04 +0000 Subject: [PATCH] Revert "Non-matching brackets in SparseFileContent.toString()" This reverts commit 17daae9934941bc6db6b372a04433f19186d5972 The use of ) was intentional as the range is inclusive, exclusive. Change-Id: I1aa25b6d8a17a374766c6316ee1872c4272e609e --- .../com/google/gerrit/prettify/common/SparseFileContent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gerrit-prettify/src/main/java/com/google/gerrit/prettify/common/SparseFileContent.java b/gerrit-prettify/src/main/java/com/google/gerrit/prettify/common/SparseFileContent.java index 633d4ea29f..1a5468caa7 100644 --- a/gerrit-prettify/src/main/java/com/google/gerrit/prettify/common/SparseFileContent.java +++ b/gerrit-prettify/src/main/java/com/google/gerrit/prettify/common/SparseFileContent.java @@ -296,7 +296,7 @@ public class SparseFileContent { @Override public String toString() { - return "Range[" + base + "," + end() + "]"; + return "Range[" + base + "," + end() + ")"; } } }