Added Lambda to the list of imports CTR
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/217a44f6 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/217a44f6 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/217a44f6 Branch: refs/heads/TINKERPOP-1752 Commit: 217a44f6212c42296d363ab1bb56e2f1eead53b7 Parents: cb99ddb Author: Stephen Mallette <sp...@genoprime.com> Authored: Tue Sep 19 11:22:32 2017 -0400 Committer: Stephen Mallette <sp...@genoprime.com> Committed: Tue Sep 19 11:22:32 2017 -0400 ---------------------------------------------------------------------- .../java/org/apache/tinkerpop/gremlin/jsr223/CoreImports.java | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/217a44f6/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/jsr223/CoreImports.java ---------------------------------------------------------------------- diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/jsr223/CoreImports.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/jsr223/CoreImports.java index fef2e0f..e6665e9 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/jsr223/CoreImports.java +++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/jsr223/CoreImports.java @@ -123,6 +123,7 @@ import org.apache.tinkerpop.gremlin.structure.util.GraphFactory; import org.apache.tinkerpop.gremlin.structure.util.empty.EmptyGraph; import org.apache.tinkerpop.gremlin.util.Gremlin; import org.apache.tinkerpop.gremlin.util.TimeUtil; +import org.apache.tinkerpop.gremlin.util.function.Lambda; import org.apache.tinkerpop.gremlin.util.iterator.IteratorUtils; import org.javatuples.Pair; @@ -263,6 +264,7 @@ public final class CoreImports { CLASS_IMPORTS.add(Gremlin.class); CLASS_IMPORTS.add(IteratorUtils.class); CLASS_IMPORTS.add(TimeUtil.class); + CLASS_IMPORTS.add(Lambda.class); ///////////// // METHODS // @@ -273,6 +275,7 @@ public final class CoreImports { uniqueMethods(__.class).filter(m -> !m.getName().equals("__")).forEach(METHOD_IMPORTS::add); uniqueMethods(Computer.class).forEach(METHOD_IMPORTS::add); uniqueMethods(TimeUtil.class).forEach(METHOD_IMPORTS::add); + uniqueMethods(Lambda.class).forEach(METHOD_IMPORTS::add); /////////// // ENUMS //