Changeset 8290 in josm


Ignore:
Timestamp:
2015-04-29T00:46:00+02:00 (10 years ago)
Author:
Don-vip
Message:

code cleanup

Location:
trunk/src/org/openstreetmap/josm
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/AbstractPrimitive.java

    r8283 r8290  
    1111import java.util.HashMap;
    1212import java.util.HashSet;
    13 import java.util.Locale;
    1413import java.util.Map;
    1514import java.util.Map.Entry;
  • trunk/src/org/openstreetmap/josm/data/osm/Storage.java

    r8285 r8290  
    8989    private int mask;
    9090    private int size;
    91     private transient volatile int modCount = 0;
     91    private volatile int modCount = 0;
    9292    private float loadFactor = 0.6f;
    9393    private static final int DEFAULT_CAPACITY = 16;
  • trunk/src/org/openstreetmap/josm/gui/FileDrop.java

    r8151 r8290  
    7777public class FileDrop
    7878{
    79     private transient Border normalBorder;
    80     private transient DropTargetListener dropListener;
     79    private Border normalBorder;
     80    private DropTargetListener dropListener;
    8181
    8282    /** Discover if the running JVM is modern enough to have drag and drop. */
  • trunk/src/org/openstreetmap/josm/gui/MainApplication.java

    r8282 r8290  
    88
    99import java.awt.Dimension;
    10 import java.awt.GraphicsEnvironment;
    1110import java.awt.Image;
    1211import java.awt.Toolkit;
     
    197196        /** --offline=<osm_api|josm_website|all> Disable access to the given resource(s), delimited by comma */
    198197        OFFLINE(true),
    199         /* --skip-plugins */
     198        /** --skip-plugins */
    200199        SKIP_PLUGINS(false),
    201200        ;
  • trunk/src/org/openstreetmap/josm/gui/util/RotationAngle.java

    r8260 r8290  
     1// License: GPL. See LICENSE file for details.
    12package org.openstreetmap.josm.gui.util;
    2 
    3 import java.util.regex.Matcher;
    4 import java.util.regex.Pattern;
    53
    64import org.openstreetmap.josm.data.osm.Node;
  • trunk/src/org/openstreetmap/josm/gui/widgets/JosmEditorPane.java

    r8282 r8290  
    1616import javax.swing.text.html.StyleSheet;
    1717
    18 import org.openstreetmap.josm.Main;
    1918import org.openstreetmap.josm.gui.util.GuiHelper;
    2019import org.openstreetmap.josm.tools.LanguageInfo;
  • trunk/src/org/openstreetmap/josm/plugins/ReadRemotePluginInformationTask.java

    r8093 r8290  
    1414import java.io.InputStream;
    1515import java.io.InputStreamReader;
    16 import java.io.OutputStream;
    1716import java.io.OutputStreamWriter;
    1817import java.io.PrintWriter;
     
    4241import org.openstreetmap.josm.io.OsmTransferException;
    4342import org.openstreetmap.josm.tools.GBC;
    44 import org.openstreetmap.josm.tools.ImageProvider;
    4543import org.openstreetmap.josm.tools.Utils;
    4644import org.xml.sax.SAXException;
  • trunk/src/org/openstreetmap/josm/tools/ImageOverlay.java

    r8097 r8290  
    33
    44import java.awt.Dimension;
    5 import java.awt.Graphics;
    6 import java.awt.Image;
    75import java.awt.image.BufferedImage;
    86
     
    2321    /** offset of the image from bottom border, values between 0 and 1 */
    2422    private double offsetBottom;
    25    
     23
    2624    /**
    2725     * Create an overlay info. All values are relative sizes between 0 and 1. Size of the image
     
    4240        this.offsetBottom = offsetBottom;
    4341    }
    44    
     42
    4543    /**
    4644     * Create an overlay in southeast corner. All values are relative sizes between 0 and 1.
Note: See TracChangeset for help on using the changeset viewer.