Changeset 10910 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ConditionFactory.java
- Timestamp:
- 2016-08-28T19:00:16+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ConditionFactory.java
r10837 r10910 332 332 final Pattern pattern; 333 333 334 /** 335 * Constructs a new {@code KeyValueRegexpCondition}. 336 * @param k key 337 * @param v value 338 * @param op operation 339 * @param considerValAsKey must be false 340 */ 334 341 public KeyValueRegexpCondition(String k, String v, Op op, boolean considerValAsKey) { 335 342 super(k, v, op, considerValAsKey); … … 361 368 public static class RegexpKeyValueRegexpCondition extends KeyValueRegexpCondition { 362 369 363 publicfinal Pattern keyPattern;370 final Pattern keyPattern; 364 371 365 372 /** … … 386 393 387 394 public static class RoleCondition implements Condition { 388 public final String role; 389 public final Op op; 390 395 final String role; 396 final Op op; 397 398 /** 399 * Constructs a new {@code RoleCondition}. 400 * @param role role 401 * @param op operation 402 */ 391 403 public RoleCondition(String role, Op op) { 392 404 this.role = role; … … 403 415 404 416 public static class IndexCondition implements Condition { 405 public final String index; 406 public final Op op; 407 417 final String index; 418 final Op op; 419 420 /** 421 * Constructs a new {@code IndexCondition}. 422 * @param index index 423 * @param op operation 424 */ 408 425 public IndexCondition(String index, Op op) { 409 426 this.index = index; … … 548 565 549 566 public final String id; 550 publicfinal boolean not;567 final boolean not; 551 568 552 569 public ClassCondition(String id, boolean not) { … … 740 757 public static class PseudoClassCondition implements Condition { 741 758 742 publicfinal Method method;743 publicfinal boolean not;759 final Method method; 760 final boolean not; 744 761 745 762 protected PseudoClassCondition(Method method, boolean not) { … … 810 827 public static class ExpressionCondition implements Condition { 811 828 812 privatefinal Expression e;829 final Expression e; 813 830 814 831 /**
Note:
See TracChangeset
for help on using the changeset viewer.