viatra / EMF-IncQuery

This repository is only kept for historic reasons. All development happens on eclipse.org
http://eclipse.org/viatra
13 stars 4 forks source link

Source code formatter adds superfluous line break to OR patterns #157

Closed istvanrath closed 12 years ago

istvanrath commented 12 years ago

E.g.

pattern inEdge(Activity)= {
    find sequenceFlowEdge(SeqEdgeTo, SomeActivity, Activity);
}
   // <-- this is unnecessary
or {
    find messageFlowEdge(MessEdgeTo, SomeMessActivity, Activity);
}

// instead would be good:
pattern inEdge(Activity)= {
    find sequenceFlowEdge(SeqEdgeTo, SomeActivity, Activity);
} or {
    find messageFlowEdge(MessEdgeTo, SomeMessActivity, Activity);
}
ujhelyiz commented 12 years ago

Fixed in master.