Mercurial > hg4j
diff test/org/tmatesoft/hg/test/OutputParser.java @ 548:ab21ac7dd833
Line-by-line annotation API and support code in place
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Mon, 18 Feb 2013 19:58:51 +0100 |
parents | 59b7c817bc4d |
children |
line wrap: on
line diff
--- a/test/org/tmatesoft/hg/test/OutputParser.java Mon Feb 18 19:58:10 2013 +0100 +++ b/test/org/tmatesoft/hg/test/OutputParser.java Mon Feb 18 19:58:51 2013 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011-2012 TMate Software Ltd + * Copyright (c) 2011-2013 TMate Software Ltd * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -50,6 +50,9 @@ public CharSequence result() { return result; } + public void reset() { + result = null; + } public Iterable<String> lines() { return lines(Pattern.compile("(.+)$", Pattern.MULTILINE), 1);