From f7a840c7644d344861e6decde9c2158d615728df Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Wed, 18 Jun 2014 17:07:43 -0500 Subject: [PATCH] Move RuntimeMetaData.VERSION field to the top of the source file --- .../org/antlr/v4/runtime/RuntimeMetaData.java | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/runtime/Java/src/org/antlr/v4/runtime/RuntimeMetaData.java b/runtime/Java/src/org/antlr/v4/runtime/RuntimeMetaData.java index 2d1c2123b..09cabf849 100644 --- a/runtime/Java/src/org/antlr/v4/runtime/RuntimeMetaData.java +++ b/runtime/Java/src/org/antlr/v4/runtime/RuntimeMetaData.java @@ -63,6 +63,22 @@ import java.util.concurrent.CopyOnWriteArraySet; * may be re-registered by calling {@link #addListener}.

*/ public class RuntimeMetaData { + /** + * A compile-time constant containing the current version of the ANTLR 4 + * runtime library. + * + *

+ * This compile-time constant value allows generated parsers and other + * libraries to include a literal reference to the version of the ANTLR 4 + * runtime library the code was compiled against.

+ * + *

+ * During development (between releases), this value contains the + * expected next release version. For official releases, the value + * will be the actual published version of the library.

+ */ + public static final String VERSION = "4.3"; + /** * This class provides detailed information about a mismatch between the * version of the tool a parser was generated with, the version of the @@ -210,22 +226,6 @@ public class RuntimeMetaData { listeners.clear(); } - /** - * A compile-time constant containing the current version of the ANTLR 4 - * runtime library. - * - *

- * This compile-time constant value allows generated parsers and other - * libraries to include a literal reference to the version of the ANTLR 4 - * runtime library the code was compiled against.

- * - *

- * During development (between releases), this value contains the - * expected next release version. For official releases, the value - * will be the actual published version of the library.

- */ - public static final String VERSION = "4.3"; - /** * Gets the currently executing version of the ANTLR 4 runtime library. *