aboutsummaryrefslogtreecommitdiffstats
path: root/ajdoc/src
diff options
context:
space:
mode:
authorAndy Clement <aclement@pivotal.io>2019-02-11 10:46:03 -0800
committerAndy Clement <aclement@pivotal.io>2019-02-11 10:46:03 -0800
commitde2f7c753232c9bb4c8e602ac841206a0b72260a (patch)
tree31ea677478d76b19039c009dcee244a2e6ccb7e9 /ajdoc/src
parent704a0ac3321dd3bd3f56e52216de0643d0dab748 (diff)
downloadaspectj-de2f7c753232c9bb4c8e602ac841206a0b72260a.tar.gz
aspectj-de2f7c753232c9bb4c8e602ac841206a0b72260a.zip
Fix version tagging for info strings
Diffstat (limited to 'ajdoc/src')
-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));
}