Mercurial > hg4j
comparison test/org/tmatesoft/hg/test/OutputParser.java @ 478:e74580e24feb
Test for subprogress
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 12 Jul 2012 19:11:12 +0200 |
parents | 0e34b8f3946a |
children | 59b7c817bc4d |
comparison
equal
deleted
inserted
replaced
477:9c9d09111aee | 478:e74580e24feb |
---|---|
69 return next; | 69 return next; |
70 } | 70 } |
71 | 71 |
72 public String next() { | 72 public String next() { |
73 if (next) { | 73 if (next) { |
74 String rv = m.group(); | 74 String rv = m.group(1); |
75 next = m.find(); | 75 next = m.find(); |
76 return rv; | 76 return rv; |
77 } | 77 } |
78 throw new NoSuchElementException(); | 78 throw new NoSuchElementException(); |
79 } | 79 } |