You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2016/11/03 11:57:51 UTC
[02/12] tinkerpop git commit: removed ImmutablePathImpl. Was
initially Deprecated as TailPath is no longer needed,
but since its a package local interface,
it is not possible to implement outside of the package. Thus,
if its no longer used in the package
removed ImmutablePathImpl. Was initially Deprecated as TailPath is no longer needed, but since its a package local interface, it is not possible to implement outside of the package. Thus, if its no longer used in the package, delete.
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/3caa5c8a
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/3caa5c8a
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/3caa5c8a
Branch: refs/heads/TINKERPOP-1434
Commit: 3caa5c8aa38b108f9548ce345ddd97bd7378f99e
Parents: 04fe38a
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Tue Nov 1 06:41:17 2016 -0600
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Tue Nov 1 06:41:17 2016 -0600
----------------------------------------------------------------------
.../traversal/step/util/ImmutablePathImpl.java | 52 --------------------
1 file changed, 52 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/3caa5c8a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/util/ImmutablePathImpl.java
----------------------------------------------------------------------
diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/util/ImmutablePathImpl.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/util/ImmutablePathImpl.java
deleted file mode 100644
index 16203c5..0000000
--- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/util/ImmutablePathImpl.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.tinkerpop.gremlin.process.traversal.step.util;
-
-import org.apache.tinkerpop.gremlin.process.traversal.Path;
-import org.apache.tinkerpop.gremlin.process.traversal.Pop;
-
-import java.util.List;
-
-/**
- * Internal interface used by ImmutablePath to provide more efficient implementation.
- *
- * @author Matt Frantz (http://github.com/mhfrantz)
- * @deprecated Since 3.2.3 ({@link ImmutablePath} contains all requisite behavior)
- */
-@Deprecated
-interface ImmutablePathImpl extends Path {
-
- /**
- * Get the object least recently associated with the particular label of the path.
- *
- * @param label the label of the path
- * @param <A> the type of the object associated with the label
- * @return the object associated with the label of the path or null if the path does not contain the label
- */
- public <A> A getSingleHead(final String label);
-
- /**
- * Get the object most recently associated with the particular label of the path.
- *
- * @param label the label of the path
- * @param <A> the type of the object associated with the label
- * @return the object associated with the label of the path or null if the path does not contain the label
- */
- public <A> A getSingleTail(final String label);
-}