Mercurial > hg4j
diff test/org/tmatesoft/hg/test/LogOutputParser.java @ 150:6b55f10ef54b
Unused variables removed.
author | Alexander Kitaev <kitaev@gmail.com> |
---|---|
date | Thu, 24 Feb 2011 18:53:33 +0100 |
parents | a3a2e5deb320 |
children | 7a908ba66ff3 |
line wrap: on
line diff
--- a/test/org/tmatesoft/hg/test/LogOutputParser.java Thu Feb 24 18:52:46 2011 +0100 +++ b/test/org/tmatesoft/hg/test/LogOutputParser.java Thu Feb 24 18:53:33 2011 +0100 @@ -37,7 +37,6 @@ private Pattern pattern4; public LogOutputParser(boolean outputWithDebug) { - String p; if (outputWithDebug) { pattern1 = Pattern.compile("^changeset:\\s+(\\d+):([a-f0-9]{40})\n(^tag:(.+)$)?", Pattern.MULTILINE); pattern2 = Pattern.compile("^parent:\\s+(-?\\d+):([a-f0-9]{40})\n", Pattern.MULTILINE); @@ -98,10 +97,4 @@ public String date; public String description; } - - private static void a(Matcher m) { - for (int i = 1; i <= m.groupCount(); i++) { - System.out.println("" + i + ":" + m.group(i)); - } - } }