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:14:13 GMT
Repository: groovy
Updated Branches:
  refs/heads/master 84f6288b9 -> 006b0ba12


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/006b0ba1
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/006b0ba1
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/006b0ba1

Branch: refs/heads/master
Commit: 006b0ba1255fdc449e0f8b38a9997f513be090fc
Parents: 4241dce
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:10:03 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/006b0ba1/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