Modify ↓
#12680 closed enhancement (fixed)
[Patch] Documentation and cleanup on predicates
Reported by: | michael2402 | Owned by: | team |
---|---|---|---|
Priority: | minor | Milestone: | 16.04 |
Component: | Core | Version: | |
Keywords: | predicate | Cc: |
Description
- Added new always true and always false predicates.
- Merged duplicate code of direction keys.
- New Predicate: isOfClass - used in OsmPrimitive
- Added javadoc
Attachments (1)
Change History (6)
by , 9 years ago
Attachment: | patch-osm-primitive-predicates.patch added |
---|
comment:1 by , 9 years ago
Milestone: | → 16.03 |
---|
comment:2 by , 9 years ago
comment:3 by , 9 years ago
The methods are not used often - at most once when creating a query.
If we add those constants we should add them as private members. We need to have a method to get nice generics (same reason Collections has all those methods to access the constants).
Note:
See TracTickets
for help on using tickets.
shouldn't we use constants instead? ALWAYS_TRUE and ALWAYS_FALSE?