[ 
https://issues.apache.org/jira/browse/TINKERPOP3-486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marko A. Rodriguez closed TINKERPOP3-486.
-----------------------------------------
       Resolution: Won't Fix
    Fix Version/s: 3.0.0.GA

This is not really smart to add to the docs. Lambdas are not used much anymore 
and TinkerPop3 docs are not a "Java8 Tutorial."

> Add to docs about clone() and lambdas.
> --------------------------------------
>
>                 Key: TINKERPOP3-486
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-486
>             Project: TinkerPop 3
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Marko A. Rodriguez
>            Assignee: Marko A. Rodriguez
>             Fix For: 3.0.0.GA
>
>
> good. heads up -- cause it will drive you mad if you forget and have to debug 
> --- be VERY wary of using lambdas with things that get cloned in TinkerPop. 
> Cloning a lambda will not redirect the object references. "this" in the 
> lambda is the original this, not the clone.
> things that get cloned --- Step, Traversal, VertexProgram, MapReduce, 
> Traverser, ...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to