Ignore:
Timestamp:
2015-10-08T00:22:36+02:00 (6 years ago)
Author:
Don-vip
Message:

fix Checkstyle issues

Location:
trunk/src/org/openstreetmap/josm/tools
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/BugReportExceptionHandler.java

    r8510 r8836  
    133133         * @param t the exception
    134134         */
    135         public BugReporterThread(Throwable t) {
     135        BugReporterThread(Throwable t) {
    136136            super("Bug Reporter");
    137137            this.e = t;
  • trunk/src/org/openstreetmap/josm/tools/ExceptionUtil.java

    r8756 r8836  
    584584                + "you tried to read, update, or delete. Either the respective object<br>"
    585585                + "does not exist on the server or you are using an invalid URL to access<br>"
    586                 + "it. Please carefully check the server''s address ''{0}'' for typos."
    587                 , apiUrl);
     586                + "it. Please carefully check the server''s address ''{0}'' for typos.",
     587                apiUrl);
    588588        Main.error(e);
    589589        return "<html>" + message + "</html>";
  • trunk/src/org/openstreetmap/josm/tools/ImageProvider.java

    r8734 r8836  
    9595     * Position of an overlay icon
    9696     */
    97     public static enum OverlayPosition {
     97    public enum OverlayPosition {
    9898        /** North west */
    9999        NORTHWEST,
     
    109109     * Supported image types
    110110     */
    111     public static enum ImageType {
     111    public enum ImageType {
    112112        /** Scalable vector graphics */
    113113        SVG,
     
    120120     * @since 7687
    121121     */
    122     public static enum ImageSizes {
     122    public enum ImageSizes {
    123123        /** SMALL_ICON value of on Action */
    124124        SMALLICON,
     
    10751075        private final String result;
    10761076
    1077         public SAXReturnException(String result) {
     1077        SAXReturnException(String result) {
    10781078            this.result = result;
    10791079        }
  • trunk/src/org/openstreetmap/josm/tools/SubclassFilteredCollection.java

    r8285 r8836  
    2727        private S current;
    2828
    29         public FilterIterator(Iterator<? extends S> iterator) {
     29        FilterIterator(Iterator<? extends S> iterator) {
    3030            this.iterator = iterator;
    3131        }
  • trunk/src/org/openstreetmap/josm/tools/XmlObjectParser.java

    r8510 r8836  
    4949        private final String namespace;
    5050
    51         public AddNamespaceFilter(String namespace) {
     51        AddNamespaceFilter(String namespace) {
    5252            this.namespace = namespace;
    5353        }
     
    6060                super.startElement(uri, localName, qName, atts);
    6161            }
    62 
    63         }
    64 
     62        }
    6563    }
    6664
     
    190188        private final Map<String, Method> methods = new HashMap<>();
    191189
    192         public Entry(Class<?> klass, boolean onStart, boolean both) {
     190        Entry(Class<?> klass, boolean onStart, boolean both) {
    193191            this.klass = klass;
    194192            this.onStart = onStart;
  • trunk/src/org/openstreetmap/josm/tools/date/FallbackDateParser.java

    r8513 r8836  
    4242     * Creates a new instance.
    4343     */
    44     public FallbackDateParser() {
     44    FallbackDateParser() {
    4545        // Build a list of candidate date parsers.
    4646        dateParsers = new ArrayList<>(formats.length);
Note: See TracChangeset for help on using the changeset viewer.