Changeset 15986 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Selector.java
- Timestamp:
- 2020-03-01T23:36:02+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Selector.java
r15985 r15986 112 112 Range getRange(); 113 113 114 String getBase(); 115 114 116 /** 115 117 * Create an "optimized" copy of this selector that omits the base check. … … 177 179 this.right = b; 178 180 this.type = type; 181 } 182 183 @Override 184 public String getBase() { 185 // take the base from the rightmost selector 186 return right.getBase(); 179 187 } 180 188 … … 678 686 679 687 @Override 688 public String getBase() { 689 throw new UnsupportedOperationException(); 690 } 691 692 @Override 680 693 public Subpart getSubpart() { 681 throw new UnsupportedOperationException( "Not supported yet.");694 throw new UnsupportedOperationException(); 682 695 } 683 696 684 697 @Override 685 698 public Range getRange() { 686 throw new UnsupportedOperationException( "Not supported yet.");699 throw new UnsupportedOperationException(); 687 700 } 688 701 … … 774 787 } 775 788 789 @Override 776 790 public String getBase() { 777 791 return base;
Note:
See TracChangeset
for help on using the changeset viewer.
