diff options
author | mkersten <mkersten> | 2003-08-07 09:16:05 +0000 |
---|---|---|
committer | mkersten <mkersten> | 2003-08-07 09:16:05 +0000 |
commit | be23e3d01d1acde57b8ae25e04d0fc011a71e219 (patch) | |
tree | 341c6274bc12289cbdf38b54d0d0031fdd816fac /org.aspectj.ajdt.core/testsrc | |
parent | 02d3af8df7b3131a7dd64e5e19e19367e275b0bc (diff) | |
download | aspectj-be23e3d01d1acde57b8ae25e04d0fc011a71e219.tar.gz aspectj-be23e3d01d1acde57b8ae25e04d0fc011a71e219.zip |
Changed org.aspectj.bridge.IMessage.getISourceLocation to getSourceLocation in order to match method naming conventions.
Diffstat (limited to 'org.aspectj.ajdt.core/testsrc')
2 files changed, 2 insertions, 2 deletions
diff --git a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/CommandTestCase.java b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/CommandTestCase.java index 7fa623c0f..d1391b8a5 100644 --- a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/CommandTestCase.java +++ b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/CommandTestCase.java @@ -112,7 +112,7 @@ public abstract class CommandTestCase extends TestCase { boolean found = false; for (Iterator iter = errors.iterator(); iter.hasNext(); ) { IMessage m = (IMessage)iter.next(); - if (m.getISourceLocation() != null && m.getISourceLocation().getLine() == line) { + if (m.getSourceLocation() != null && m.getSourceLocation().getLine() == line) { found = true; iter.remove(); } diff --git a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/IncrementalCase.java b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/IncrementalCase.java index 7a5a306a9..e8cd9ab21 100644 --- a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/IncrementalCase.java +++ b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/IncrementalCase.java @@ -336,7 +336,7 @@ public class IncrementalCase { // XXX NOT bound to junit - bridge tests? final int expLine = exp[i]; boolean found = false; for (int j = 0; !found && (j < messages.length); j++) { - ISourceLocation sl = messages[j].getISourceLocation(); + ISourceLocation sl = messages[j].getSourceLocation(); found = ((null != sl) && (expLine == sl.getLine())); if (found) { info(handler, "found " + label + " for: " + exp[i]); |