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

fix Checkstyle issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/imagery/ImageryPreference.java

    r8598 r8836  
    131131        pane.addTab(tr("Settings"), buildSettingsPanel());
    132132        pane.addTab(tr("Offset bookmarks"), new OffsetBookmarksPanel(gui));
    133         pane.addTab(tr("Cache contents") , new CacheContentsPanel());
     133        pane.addTab(tr("Cache contents"), new CacheContentsPanel());
    134134        loadSettings();
    135135        p.add(pane, GBC.std().fill(GBC.BOTH));
     
    239239            private transient List<ImageryInfo> layers;
    240240
    241             public ImageryURLTableCellRenderer(List<ImageryInfo> layers) {
     241            ImageryURLTableCellRenderer(List<ImageryInfo> layers) {
    242242                this.layers = layers;
    243243            }
     
    480480            private final ImageryInfo.ImageryType type;
    481481
    482             public NewEntryAction(ImageryInfo.ImageryType type) {
     482            NewEntryAction(ImageryInfo.ImageryType type) {
    483483                putValue(NAME, type.toString());
    484484                putValue(SHORT_DESCRIPTION, tr("Add a new {0} entry by entering the URL", type.toString()));
     
    542542             * Constructs a new {@code RemoveEntryAction}.
    543543             */
    544             public RemoveEntryAction() {
     544            RemoveEntryAction() {
    545545                putValue(NAME, tr("Remove"));
    546546                putValue(SHORT_DESCRIPTION, tr("Remove entry"));
     
    572572             * Constructs a new {@code ActivateAction}.
    573573             */
    574             public ActivateAction() {
     574            ActivateAction() {
    575575                putValue(NAME, tr("Activate"));
    576576                putValue(SHORT_DESCRIPTION, tr("copy selected defaults"));
     
    639639             * Constructs a new {@code ReloadAction}.
    640640             */
    641             public ReloadAction() {
     641            ReloadAction() {
    642642                putValue(SHORT_DESCRIPTION, tr("reload defaults"));
    643643                putValue(SMALL_ICON, ImageProvider.get("dialogs", "refresh"));
     
    813813         * Constructs a new {@code OffsetBookmarksPanel}.
    814814         */
    815         public OffsetBookmarksPanel(final PreferenceTabbedPane gui) {
     815        OffsetBookmarksPanel(final PreferenceTabbedPane gui) {
    816816            super(new GridBagLayout());
    817817            final JTable list = new JTable(model) {
     
    872872             * Constructs a new {@code OffsetsBookmarksModel}.
    873873             */
    874             public OffsetsBookmarksModel() {
     874            OffsetsBookmarksModel() {
    875875                setColumnIdentifiers(new String[] {tr("Projection"), tr("Layer"), tr("Name"), tr("Easting"), tr("Northing")});
    876876            }
Note: See TracChangeset for help on using the changeset viewer.