tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spmalle...@apache.org
Subject [1/8] tinkerpop git commit: TINKERPOP-1634 Deprecated CustomizerProvider infrastructure
Date Thu, 23 Feb 2017 13:19:02 GMT
Repository: tinkerpop
Updated Branches:
  refs/heads/master 52bd67304 -> 01ff414c7


TINKERPOP-1634 Deprecated CustomizerProvider infrastructure


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

Branch: refs/heads/master
Commit: d694dfa3c651d97797bd3a694bf15dfeab06e1f5
Parents: c6bbbd6
Author: Stephen Mallette <spmva@genoprime.com>
Authored: Tue Feb 14 07:28:48 2017 -0500
Committer: Stephen Mallette <spmva@genoprime.com>
Committed: Tue Feb 14 15:05:51 2017 -0500

----------------------------------------------------------------------
 .../gremlin/groovy/AbstractImportCustomizerProvider.java         | 2 ++
 .../tinkerpop/gremlin/groovy/CompilerCustomizerProvider.java     | 3 +++
 .../gremlin/groovy/DefaultImportCustomizerProvider.java          | 4 ++++
 .../tinkerpop/gremlin/groovy/EmptyImportCustomizerProvider.java  | 2 ++
 .../tinkerpop/gremlin/groovy/ImportCustomizerProvider.java       | 4 ++++
 .../tinkerpop/gremlin/groovy/NoImportCustomizerProvider.java     | 2 ++
 6 files changed, 17 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/d694dfa3/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/AbstractImportCustomizerProvider.java
----------------------------------------------------------------------
diff --git a/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/AbstractImportCustomizerProvider.java
b/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/AbstractImportCustomizerProvider.java
index a7542b6..131216e 100644
--- a/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/AbstractImportCustomizerProvider.java
+++ b/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/AbstractImportCustomizerProvider.java
@@ -76,7 +76,9 @@ import java.util.Set;
 
 /**
  * @author Stephen Mallette (http://stephen.genoprime.com)
+ * @deprecated As of release 3.2.5, replaced by {@link ImportCustomizer}
  */
+@Deprecated
 public abstract class AbstractImportCustomizerProvider implements ImportCustomizerProvider
{
     protected static final String DOT_STAR = ".*";
     protected static final String EMPTY_STRING = "";

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/d694dfa3/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/CompilerCustomizerProvider.java
----------------------------------------------------------------------
diff --git a/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/CompilerCustomizerProvider.java
b/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/CompilerCustomizerProvider.java
index 9980911..0e8cc38 100644
--- a/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/CompilerCustomizerProvider.java
+++ b/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/CompilerCustomizerProvider.java
@@ -19,6 +19,7 @@
 package org.apache.tinkerpop.gremlin.groovy;
 
 import org.apache.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngine;
+import org.apache.tinkerpop.gremlin.jsr223.Customizer;
 import org.codehaus.groovy.control.customizers.CompilationCustomizer;
 
 /**
@@ -26,7 +27,9 @@ import org.codehaus.groovy.control.customizers.CompilationCustomizer;
  * {@link GremlinGroovyScriptEngine}.
  *
  * @author Stephen Mallette (http://stephen.genoprime.com)
+ * @deprecated As of release 3.2.5, replaced by {@link Customizer}.
  */
+@Deprecated
 public interface CompilerCustomizerProvider {
 
     /**

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/d694dfa3/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/DefaultImportCustomizerProvider.java
----------------------------------------------------------------------
diff --git a/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/DefaultImportCustomizerProvider.java
b/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/DefaultImportCustomizerProvider.java
index cd9f3d3..7282e81 100644
--- a/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/DefaultImportCustomizerProvider.java
+++ b/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/DefaultImportCustomizerProvider.java
@@ -18,6 +18,8 @@
  */
 package org.apache.tinkerpop.gremlin.groovy;
 
+import org.apache.tinkerpop.gremlin.jsr223.DefaultImportCustomizer;
+
 import java.util.HashSet;
 import java.util.Set;
 
@@ -25,7 +27,9 @@ import java.util.Set;
  * Grabs the standard Gremlin core classes and allows additional imports to be added.
  *
  * @author Stephen Mallette (http://stephen.genoprime.com)
+ * @deprecated As of release 3.2.5, replaced by {@link DefaultImportCustomizer}.
  */
+@Deprecated
 public class DefaultImportCustomizerProvider extends AbstractImportCustomizerProvider {
     private static Set<String> staticExtraImports = new HashSet<>();
     private static Set<String> staticExtraStaticImports = new HashSet<>();

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/d694dfa3/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/EmptyImportCustomizerProvider.java
----------------------------------------------------------------------
diff --git a/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/EmptyImportCustomizerProvider.java
b/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/EmptyImportCustomizerProvider.java
index 36d5f93..01f6995 100644
--- a/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/EmptyImportCustomizerProvider.java
+++ b/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/EmptyImportCustomizerProvider.java
@@ -29,7 +29,9 @@ import java.util.Set;
  * This {@link ImportCustomizerProvider} is empty and comes with no pre-defined imports at
all.
  *
  * @author Stephen Mallette (http://stephen.genoprime.com)
+ * @deprecated As of release 3.2.5, replaced by {@link ImportCustomizer}
  */
+@Deprecated
 public class EmptyImportCustomizerProvider extends DefaultImportCustomizerProvider {
 
     /**

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/d694dfa3/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/ImportCustomizerProvider.java
----------------------------------------------------------------------
diff --git a/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/ImportCustomizerProvider.java
b/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/ImportCustomizerProvider.java
index dfebef8..cb71865 100644
--- a/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/ImportCustomizerProvider.java
+++ b/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/ImportCustomizerProvider.java
@@ -18,13 +18,17 @@
  */
 package org.apache.tinkerpop.gremlin.groovy;
 
+import org.codehaus.groovy.control.customizers.ImportCustomizer;
+
 import java.util.Set;
 
 /**
  * Allows customization of the imports used by the GremlinGroovyScriptEngine implementation.
  *
  * @author Stephen Mallette (http://stephen.genoprime.com)
+ * @deprecated As of release 3.2.5, replaced by {@link ImportCustomizer}
  */
+@Deprecated
 public interface ImportCustomizerProvider extends CompilerCustomizerProvider {
 
     Set<String> getExtraImports();

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/d694dfa3/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/NoImportCustomizerProvider.java
----------------------------------------------------------------------
diff --git a/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/NoImportCustomizerProvider.java
b/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/NoImportCustomizerProvider.java
index 9ded2b4..433a51d 100644
--- a/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/NoImportCustomizerProvider.java
+++ b/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/NoImportCustomizerProvider.java
@@ -28,7 +28,9 @@ import java.util.Set;
  * Provides no imports.
  *
  * @author Stephen Mallette (http://stephen.genoprime.com)
+ * @deprecated As of release 3.2.5, replaced by {@link ImportCustomizer}
  */
+@Deprecated
 public final class NoImportCustomizerProvider implements ImportCustomizerProvider {
 
     public static final NoImportCustomizerProvider INSTANCE = new NoImportCustomizerProvider();


Mime
View raw message