Changeset 9079 in josm
- Timestamp:
- 2015-12-02T00:19:08+01:00 (9 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 1 deleted
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r9057 r9079 604 604 <target name="checkstyle"> 605 605 <taskdef resource="com/puppycrawl/tools/checkstyle/ant/checkstyle-ant-task.properties" 606 classpath="tools/checkstyle/checkstyle-6.1 2.1-all.jar"/>606 classpath="tools/checkstyle/checkstyle-6.13-all.jar"/> 607 607 <checkstyle config="tools/checkstyle/josm_checks.xml"> 608 608 <fileset dir="${basedir}/src/org/openstreetmap/josm" includes="**/*.java" -
trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java
r8971 r9079 55 55 import org.openstreetmap.josm.tools.Shortcut; 56 56 import org.openstreetmap.josm.tools.Utils; 57 58 57 59 58 public class SearchAction extends JosmAction implements ParameterizedAction { -
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
r9077 r9079 476 476 * @param text The text to write on the area. 477 477 */ 478 protected void drawArea(OsmPrimitive osm, Path2D.Double path, Color color, MapImage fillImage, Float extent, Path2D.Double pfClip, boolean unclosedHighlight,479 boolean disabled, TextElement text) {478 protected void drawArea(OsmPrimitive osm, Path2D.Double path, Color color, MapImage fillImage, Float extent, Path2D.Double pfClip, 479 boolean unclosedHighlight, boolean disabled, TextElement text) { 480 480 481 481 Shape area = path.createTransformedShape(nc.getAffineTransform()); … … 1657 1657 if (dx1 * dx2 + dy1 * dy2 < 0) { 1658 1658 double len = Math.sqrt(dx1 * dx1 + dy1 * dy1); 1659 double dxm = - 1659 double dxm = -dy1 * extent / len; 1660 1660 double dym = dx1 * extent / len; 1661 1661 if (dx1 * dy2 - dx2 * dy1 < 0) { -
trunk/src/org/openstreetmap/josm/data/preferences/ParametrizedEnumProperty.java
r7937 r9079 5 5 6 6 public abstract class ParametrizedEnumProperty<T extends Enum<T>> { 7 8 7 9 8 private final T defaultValue; … … 28 27 return Enum.valueOf(enumClass, s); 29 28 } 30 31 32 29 } -
trunk/src/org/openstreetmap/josm/data/validation/Severity.java
r8378 r9079 66 66 return color; 67 67 } 68 69 70 68 } -
trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/query/UrlBasedQueryPanel.java
r8510 r9079 28 28 import org.openstreetmap.josm.io.OsmApi; 29 29 import org.openstreetmap.josm.tools.ImageProvider; 30 31 30 32 31 public class UrlBasedQueryPanel extends JPanel { -
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageDisplay.java
r9078 r9079 28 28 import org.openstreetmap.josm.Main; 29 29 import org.openstreetmap.josm.tools.ExifReader; 30 31 30 32 31 public class ImageDisplay extends JComponent { -
trunk/src/org/openstreetmap/josm/io/MissingOAuthAccessTokenException.java
r8510 r9079 2 2 package org.openstreetmap.josm.io; 3 3 4 public class MissingOAuthAccessTokenException extends OsmTransferException { 4 5 5 public class MissingOAuthAccessTokenException extends OsmTransferException { 6 /** 7 * Constructs a new {@code MissingOAuthAccessTokenException}. 8 */ 6 9 public MissingOAuthAccessTokenException() { 7 10 super(); 8 11 } 9 12 13 /** 14 * Constructs a new {@code OsmTransferException} with the specified detail message and cause. 15 * @param message The detail message (which is saved for later retrieval by the {@link #getMessage} method) 16 * @param cause The cause (which is saved for later retrieval by the {@link #getCause} method). 17 * A null value is permitted, and indicates that the cause is nonexistent or unknown. 18 */ 10 19 public MissingOAuthAccessTokenException(String message, Throwable cause) { 11 20 super(message, cause); 12 21 } 13 22 23 /** 24 * Constructs a new {@code OsmTransferException} with the specified detail message. 25 * @param message The detail message (which is saved for later retrieval by the {@link #getMessage} method) 26 */ 14 27 public MissingOAuthAccessTokenException(String message) { 15 28 super(message); 16 29 } 17 30 31 /** 32 * Constructs a new {@code OsmTransferException} with the specified cause. 33 * @param cause The cause (which is saved for later retrieval by the {@link #getCause} method). 34 * A null value is permitted, and indicates that the cause is nonexistent or unknown. 35 */ 18 36 public MissingOAuthAccessTokenException(Throwable cause) { 19 37 super(cause); -
trunk/src/org/openstreetmap/josm/tools/template_engine/CompoundTemplateEntry.java
r8376 r9079 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.tools.template_engine; 3 4 3 5 4 public final class CompoundTemplateEntry implements TemplateEntry { -
trunk/src/org/openstreetmap/josm/tools/template_engine/Condition.java
r8390 r9079 4 4 import java.util.ArrayList; 5 5 import java.util.List; 6 7 6 8 7 public class Condition implements TemplateEntry {
Note:
See TracChangeset
for help on using the changeset viewer.