Skip to content

GremlinQueryCreator.java::toCondition() should not change member field 'schema' #48

@kerler

Description

@kerler

org.springframework.data.gremlin.query.GremlinQueryCreator.java::toCondition() changes member field 'schema', as make that sometimes GremlinQueryCreator.java::complete() uses member field 'schema' whose value is different against what is set in constructor.

Suggest to define all the member field of GremlinQueryCreator.java to be final, and in toCondition() use a local variable such like 'GremlinSchema tmpSchema = this.schema;'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions