Mercurial > hg > RemoteEditor > Eclipse
changeset 168:63b4e8098553 worked
*** empty log message ***
author | kono |
---|---|
date | Thu, 28 Aug 2008 22:57:56 +0900 |
parents | f9b713ee3014 |
children | 31427856d0bd |
files | src/pathfinder/mergetest/test/RepCommandOptimizeTest.java |
diffstat | 1 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/pathfinder/mergetest/test/RepCommandOptimizeTest.java Thu Aug 28 22:51:55 2008 +0900 +++ b/src/pathfinder/mergetest/test/RepCommandOptimizeTest.java Thu Aug 28 22:57:56 2008 +0900 @@ -89,19 +89,15 @@ REPCommand d = output.get(ln); for(int i = ln; i < output.size(); i++){ REPCommand s = output.get(i); - switch(s.cmd){ - case REP.REPCMD_INSERT: + if(s.cmd==REP.REPCMD_INSERT) { if(s.lineno < lineno){ s.lineno ++; if(s.lineno == lineno){ output.remove(d); output.remove(s); - i = output.size(); + break; } } - break; - case REP.REPCMD_DELETE: - break; } } }