Improve Visitor signature

Bug #631522 reported by Timo Westkämper
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Querydsl
Fix Released
Medium
Unassigned

Bug Description

Something like this :

interface Visitor<R,C>{

    R visit(Path<?> path, C context);

   // ...
}

interface Expression {

  <R,C> R accept(Visitor<R,C> visitor);

}

This way a context can be supplied and something can be returned.

The current form is

interface Visitor {

  void visit(Path<?> path;

 // ...
}

Changed in querydsl:
importance: Undecided → Medium
milestone: none → 2.0
description: updated
Changed in querydsl:
status: New → In Progress
Changed in querydsl:
status: In Progress → Fix Committed
Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

Released in 1.9.6

Changed in querydsl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.