aboutsummaryrefslogtreecommitdiffstats
path: root/ajdoc
diff options
context:
space:
mode:
Diffstat (limited to 'ajdoc')
-rw-r--r--ajdoc/src/main/java/org/aspectj/tools/ajdoc/Main.java2
-rw-r--r--ajdoc/src/test/java/org/aspectj/tools/ajdoc/ExecutionTestCase.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/ajdoc/src/main/java/org/aspectj/tools/ajdoc/Main.java b/ajdoc/src/main/java/org/aspectj/tools/ajdoc/Main.java
index 2e622ba9c..e4cf8be44 100644
--- a/ajdoc/src/main/java/org/aspectj/tools/ajdoc/Main.java
+++ b/ajdoc/src/main/java/org/aspectj/tools/ajdoc/Main.java
@@ -799,7 +799,7 @@ public class Main implements Config {
}
static String getVersion() {
- return "ajdoc version " + Version.text;
+ return "ajdoc version " + Version.getText();
}
public static boolean hasAborted() {
diff --git a/ajdoc/src/test/java/org/aspectj/tools/ajdoc/ExecutionTestCase.java b/ajdoc/src/test/java/org/aspectj/tools/ajdoc/ExecutionTestCase.java
index 837d7ef8c..721977f2c 100644
--- a/ajdoc/src/test/java/org/aspectj/tools/ajdoc/ExecutionTestCase.java
+++ b/ajdoc/src/test/java/org/aspectj/tools/ajdoc/ExecutionTestCase.java
@@ -23,7 +23,7 @@ public class ExecutionTestCase extends AjdocTestCase {
public void testVersionMatch() {
String ajdocVersion = Main.getVersion();
- String compilerVersion = Version.text;
+ String compilerVersion = Version.getText();
assertTrue("version check", ajdocVersion.endsWith(compilerVersion));
}