neo4j/cypher-dsl — pull request #18 by tbaum (2013-01-05 12:00:49+00:00)
Title: Make CypherDSL immutable

using shared constants like

public static final Property FOO_BAR = identifier("foo").property("bar");

creates unpredictable application-behaviour.

calling in one place:

.... return(FOO_BAR.optional())

and in a other

.... return(FOO_BAR)