TINKERPOP-1996 Undeprecated some Io related classes These classes still have use as part of IoRegistry which is still in use and I don't see a clear way to get rid of that easily. We'd have to change the whole system for serialization configuration to accomplish that so I guess this stuff stays for now.
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/8fd3bf21 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/8fd3bf21 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/8fd3bf21 Branch: refs/heads/TINKERPOP-1967 Commit: 8fd3bf21efac092f619254245ba83614327c4dcb Parents: c97d747 Author: Stephen Mallette <sp...@genoprime.com> Authored: Fri Jul 20 10:47:20 2018 -0400 Committer: Stephen Mallette <sp...@genoprime.com> Committed: Fri Jul 20 10:47:20 2018 -0400 ---------------------------------------------------------------------- .../main/java/org/apache/tinkerpop/gremlin/structure/io/Io.java | 3 --- .../apache/tinkerpop/gremlin/structure/io/graphml/GraphMLIo.java | 3 --- .../tinkerpop/gremlin/structure/io/graphson/GraphSONIo.java | 3 --- .../org/apache/tinkerpop/gremlin/structure/io/gryo/GryoIo.java | 3 --- 4 files changed, 12 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/8fd3bf21/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/Io.java ---------------------------------------------------------------------- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/Io.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/Io.java index 0971e31..bae56c5 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/Io.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/Io.java @@ -18,7 +18,6 @@ */ package org.apache.tinkerpop.gremlin.structure.io; -import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource; import org.apache.tinkerpop.gremlin.structure.Graph; import java.io.IOException; @@ -32,9 +31,7 @@ import java.util.function.Consumer; * internal {@link Mapper} (if the format has such capability). * * @author Stephen Mallette (http://stephen.genoprime.com) - * @deprecated As of release 3.4.0, replaced by {@link GraphTraversalSource#io(String)}. */ -@Deprecated public interface Io<R extends GraphReader.ReaderBuilder, W extends GraphWriter.WriterBuilder, M extends Mapper.Builder> { /** http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/8fd3bf21/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphml/GraphMLIo.java ---------------------------------------------------------------------- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphml/GraphMLIo.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphml/GraphMLIo.java index b6af646..88431bf 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphml/GraphMLIo.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphml/GraphMLIo.java @@ -18,7 +18,6 @@ */ package org.apache.tinkerpop.gremlin.structure.io.graphml; -import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource; import org.apache.tinkerpop.gremlin.structure.Graph; import org.apache.tinkerpop.gremlin.structure.io.Io; import org.apache.tinkerpop.gremlin.structure.io.IoRegistry; @@ -38,9 +37,7 @@ import java.util.function.Consumer; * such things. * * @author Stephen Mallette (http://stephen.genoprime.com) - * @deprecated As of release 3.4.0, replaced by {@link GraphTraversalSource#io(String)}. */ -@Deprecated public final class GraphMLIo implements Io<GraphMLReader.Builder, GraphMLWriter.Builder, GraphMLMapper.Builder> { private final Graph graph; private Optional<Consumer<Mapper.Builder>> onMapper; http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/8fd3bf21/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONIo.java ---------------------------------------------------------------------- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONIo.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONIo.java index 7f8b835..a3923a1 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONIo.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONIo.java @@ -18,7 +18,6 @@ */ package org.apache.tinkerpop.gremlin.structure.io.graphson; -import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource; import org.apache.tinkerpop.gremlin.structure.Graph; import org.apache.tinkerpop.gremlin.structure.io.Io; import org.apache.tinkerpop.gremlin.structure.io.IoRegistry; @@ -37,9 +36,7 @@ import java.util.function.Consumer; * interfaces should see the {@link GraphSONMapper} for information on the expectations for the {@link IoRegistry}. * * @author Stephen Mallette (http://stephen.genoprime.com) - * @deprecated As of release 3.4.0, replaced by {@link GraphTraversalSource#io(String)}. */ -@Deprecated public final class GraphSONIo implements Io<GraphSONReader.Builder, GraphSONWriter.Builder, GraphSONMapper.Builder> { private final Graph graph; private final Optional<Consumer<Mapper.Builder>> onMapper; http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/8fd3bf21/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/gryo/GryoIo.java ---------------------------------------------------------------------- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/gryo/GryoIo.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/gryo/GryoIo.java index a7dfe0d..29e63de 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/gryo/GryoIo.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/gryo/GryoIo.java @@ -18,7 +18,6 @@ */ package org.apache.tinkerpop.gremlin.structure.io.gryo; -import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource; import org.apache.tinkerpop.gremlin.structure.Graph; import org.apache.tinkerpop.gremlin.structure.io.Io; import org.apache.tinkerpop.gremlin.structure.io.IoRegistry; @@ -37,9 +36,7 @@ import java.util.function.Consumer; * interfaces should see the {@link GryoMapper} for information on the expectations for the {@link IoRegistry}. * * @author Stephen Mallette (http://stephen.genoprime.com) - * @deprecated As of release 3.4.0, replaced by {@link GraphTraversalSource#io(String)}. */ -@Deprecated public final class GryoIo implements Io<GryoReader.Builder, GryoWriter.Builder, GryoMapper.Builder> { private final Graph graph;