groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwagenleit...@apache.org
Subject [1/2] groovy git commit: minor refactor: deprecate method
Date Sun, 11 Sep 2016 02:19:50 GMT
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_4_X 49d5dd159 -> 287b9ab5b


minor refactor:  deprecate method


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/287b9ab5
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/287b9ab5
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/287b9ab5

Branch: refs/heads/GROOVY_2_4_X
Commit: 287b9ab5bf80b944b34b30122a4db9dcbbee5d1d
Parents: 5bae714
Author: John Wagenleitner <jwagenleitner@apache.org>
Authored: Sat Sep 10 19:08:44 2016 -0700
Committer: John Wagenleitner <jwagenleitner@apache.org>
Committed: Sat Sep 10 19:19:09 2016 -0700

----------------------------------------------------------------------
 src/main/org/codehaus/groovy/control/ParserPluginFactory.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/287b9ab5/src/main/org/codehaus/groovy/control/ParserPluginFactory.java
----------------------------------------------------------------------
diff --git a/src/main/org/codehaus/groovy/control/ParserPluginFactory.java b/src/main/org/codehaus/groovy/control/ParserPluginFactory.java
index d043a7f..30a0d1c 100644
--- a/src/main/org/codehaus/groovy/control/ParserPluginFactory.java
+++ b/src/main/org/codehaus/groovy/control/ParserPluginFactory.java
@@ -34,7 +34,9 @@ public abstract class ParserPluginFactory {
      *
      * @param useNewParser unused.
      * @return the new parser factory.
+     * @deprecated use {@link #newInstance()}
      */
+    @Deprecated
     public static ParserPluginFactory newInstance(boolean useNewParser) {
         return newInstance();
     }


Mime
View raw message