aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core
diff options
context:
space:
mode:
authormkersten <mkersten>2003-08-07 09:16:05 +0000
committermkersten <mkersten>2003-08-07 09:16:05 +0000
commitbe23e3d01d1acde57b8ae25e04d0fc011a71e219 (patch)
tree341c6274bc12289cbdf38b54d0d0031fdd816fac /org.aspectj.ajdt.core
parent02d3af8df7b3131a7dd64e5e19e19367e275b0bc (diff)
downloadaspectj-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')
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/tools/ajc/Main.java2
-rw-r--r--org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/CommandTestCase.java2
-rw-r--r--org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/IncrementalCase.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/tools/ajc/Main.java b/org.aspectj.ajdt.core/src/org/aspectj/tools/ajc/Main.java
index 061239ac5..101fef62b 100644
--- a/org.aspectj.ajdt.core/src/org/aspectj/tools/ajc/Main.java
+++ b/org.aspectj.ajdt.core/src/org/aspectj/tools/ajc/Main.java
@@ -403,7 +403,7 @@ public class Main {
if (toString) {
text = message.toString();
}
- ISourceLocation loc = message.getISourceLocation();
+ ISourceLocation loc = message.getSourceLocation();
String context = null;
if (null != loc) {
File file = loc.getSourceFile();
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]);