TINKERPOP-1094 Removed deprecated VertexPropertyFeatures - addProperty
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/732c80b0 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/732c80b0 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/732c80b0 Branch: refs/heads/TINKERPOP-1682 Commit: 732c80b001a098cae15999cbc382180f4024cd65 Parents: 4d0a5fb Author: Stephen Mallette <[email protected]> Authored: Fri Jun 9 10:10:12 2017 -0400 Committer: Stephen Mallette <[email protected]> Committed: Fri Jun 9 10:10:12 2017 -0400 ---------------------------------------------------------------------- CHANGELOG.asciidoc | 1 + docs/src/upgrade/release-3.3.x.asciidoc | 4 +++- .../apache/tinkerpop/gremlin/structure/Graph.java | 18 ------------------ 3 files changed, 4 insertions(+), 19 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/732c80b0/CHANGELOG.asciidoc ---------------------------------------------------------------------- diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index aa3ca46..404a570 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -32,6 +32,7 @@ TinkerPop 3.3.0 (Release Date: NOT OFFICIALLY RELEASED YET) * Added "attachment requisite" `VertexProperty.element()` and `Property.element()` data in GraphSON serialization. * GraphSON 3.0 is now the default serialization format in TinkerGraph and Gremlin Server. * Established the GraphSON 3.0 format. +* Removed previously deprecated `VertexPropertyFeatures.supportsAddProperty()`. * Removed previously deprecated TinkerGraph configuration member variables. * Removed previously deprecated `OpSelectorHandler.errorMeter` and `AbstractEvalOpProcessor.errorMeter` fields. * Removed previously deprecated `AbstractEvalOpProcessor.validBindingName` field. http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/732c80b0/docs/src/upgrade/release-3.3.x.asciidoc ---------------------------------------------------------------------- diff --git a/docs/src/upgrade/release-3.3.x.asciidoc b/docs/src/upgrade/release-3.3.x.asciidoc index 800fd7a..8d1c712 100644 --- a/docs/src/upgrade/release-3.3.x.asciidoc +++ b/docs/src/upgrade/release-3.3.x.asciidoc @@ -192,6 +192,8 @@ The following deprecated classes, methods or fields have been removed in this ve ** `org.apache.tinkerpop.gremlin.jsr223.GremlinModule` ** `org.apache.tinkerpop.gremlin.jsr223.GremlinScriptEngineManager#addModule(GremlinModule)` ** `org.apache.tinkerpop.gremlin.jsr223.console.PluginAcceptor` +** `org.apache.tinkerpop.gremlin.structure.Graph.Features.VertexPropertyFeatures#supportsAddProperty()` +** `org.apache.tinkerpop.gremlin.structure.Graph.Features.VertexPropertyFeatures#FEATURE_ADD_PROPERTY` ** `org.apache.tinkerpop.gremlin.structure.Graph.OptIn#SUITE_GROOVY_PROCESS_STANDARD` ** `org.apache.tinkerpop.gremlin.structure.Graph.OptIn#SUITE_GROOVY_PROCESS_COMPUTER` ** `org.apache.tinkerpop.gremlin.structure.Graph.OptIn#SUITE_GROOVY_ENVIRONMENT` @@ -244,7 +246,7 @@ The following deprecated classes, methods or fields have been removed in this ve ** `org.apache.tinkerpop.gremlin.spark.groovy.plugin.SparkGremlinPlugin` * `tinkergraph-gremlin` ** `org.apache.tinkerpop.gremlin.tinkergraph.groovy.plugin.TinkerGraphGremlinPlugin` -** `org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph.CONFIG_*` +** `org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph#CONFIG_*` Please see the javadoc deprecation notes or upgrade documentation specific to when the deprecation took place to understand how to resolve this breaking change. http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/732c80b0/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/Graph.java ---------------------------------------------------------------------- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/Graph.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/Graph.java index 4e5395a..3c9ce8e 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/Graph.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/Graph.java @@ -751,12 +751,6 @@ public interface Graph extends AutoCloseable, Host { * Features that are related to {@link Vertex} {@link Property} objects. */ public interface VertexPropertyFeatures extends PropertyFeatures { - /** - * @deprecated As of release 3.1.1-incubating, replaced by - * {@link org.apache.tinkerpop.gremlin.structure.Graph.Features.VertexFeatures#FEATURE_META_PROPERTIES} - */ - @Deprecated - public static final String FEATURE_ADD_PROPERTY = "AddProperty"; public static final String FEATURE_REMOVE_PROPERTY = "RemoveProperty"; public static final String FEATURE_USER_SUPPLIED_IDS = "UserSuppliedIds"; public static final String FEATURE_NUMERIC_IDS = "NumericIds"; @@ -766,18 +760,6 @@ public interface Graph extends AutoCloseable, Host { public static final String FEATURE_ANY_IDS = "AnyIds"; /** - * Determines if a {@link VertexProperty} allows properties to be added. - * - * @deprecated As of release 3.1.1-incubating, replaced by - * {@link org.apache.tinkerpop.gremlin.structure.Graph.Features.VertexFeatures#supportsMetaProperties()} - */ - @Deprecated - @FeatureDescriptor(name = FEATURE_ADD_PROPERTY) - public default boolean supportsAddProperty() { - return true; - } - - /** * Determines if a {@link VertexProperty} allows properties to be removed. */ @FeatureDescriptor(name = FEATURE_REMOVE_PROPERTY)
