Changeset 32390 in osm for applications/viewer/jmapviewer
- Timestamp:
- 2016-06-24T01:31:44+02:00 (8 years ago)
- Location:
- applications/viewer/jmapviewer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/Demo.java
r32008 r32390 35 35 * 36 36 */ 37 public class Demo extends JFrame implements JMapViewerEventListener 37 public class Demo extends JFrame implements JMapViewerEventListener { 38 38 39 39 private static final long serialVersionUID = 1L; -
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/tilesources/TemplatedTMSTileSource.java
r31790 r32390 29 29 * {header:(HEADER_NAME,HEADER_VALUE)} - sets the headers to be sent to tile server 30 30 */ 31 32 31 public class TemplatedTMSTileSource extends TMSTileSource implements TemplatedTileSource { 33 32 … … 36 35 private final Map<String, String> headers = new HashMap<>(); 37 36 37 // CHECKSTYLE.OFF: SingleSpaceSeparator 38 38 private static final String COOKIE_HEADER = "Cookie"; 39 39 private static final String PATTERN_ZOOM = "\\{(?:(\\d+)-)?z(?:oom)?([+-]\\d+)?\\}"; … … 44 44 private static final String PATTERN_SWITCH = "\\{switch:([^}]+)\\}"; 45 45 private static final String PATTERN_HEADER = "\\{header\\(([^,]+),([^}]+)\\)\\}"; 46 // CHECKSTYLE.ON: SingleSpaceSeparator 46 47 47 48 private static final String[] ALL_PATTERNS = { 48 PATTERN_HEADER, PATTERN_ZOOM, PATTERN_X, PATTERN_Y, PATTERN_Y_YAHOO, PATTERN_NEG_Y, 49 PATTERN_SWITCH 49 PATTERN_HEADER, PATTERN_ZOOM, PATTERN_X, PATTERN_Y, PATTERN_Y_YAHOO, PATTERN_NEG_Y, PATTERN_SWITCH 50 50 }; 51 51 -
applications/viewer/jmapviewer/tools/checkstyle/jmapviewer_checks.xml
r31429 r32390 56 56 <module name="NoWhitespaceAfter"/> 57 57 <module name="NoWhitespaceBefore"/> 58 <module name="SingleSpaceSeparator"/> 58 59 <module name="MethodParamPad"/> 59 60 <module name="ParenPad"/>
Note:
See TracChangeset
for help on using the changeset viewer.