You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reduce usages of DefaultEdgeFilter(encoder, true, false) #1380
(about 35 times in the current master). I've done this myself quite a few times and everytime I need to check if I got the flags right. Therefore I would suggest to add two or three static factory methods to DefaultEdgeFilter: DefaultEdgeFilter.inEdges(FlagEncoder), DefaultEdgeFilter.outEdges(FlagEncoder) and optionally DefaultEdgeFilter.allEdges(FlagEncoder). The last one is what the default constructor does, but would be more readable in my opinion.
Yes, please - this is a good idea. This would also solve the ugliness in #1112 where I swapped the booleans (as fwd,bwd is more intuitive) but this would brake all usages without being noticed.
Activity
karussell commentedon May 27, 2018
Yes, please - this is a good idea. This would also solve the ugliness in #1112 where I swapped the booleans (as fwd,bwd is more intuitive) but this would brake all usages without being noticed.