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

fix Checkstyle issues

Location:
trunk/src/org/openstreetmap/josm/gui/conflict
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/conflict/pair/ListMerger.java

    r8512 r8836  
    435435    class CopyStartLeftAction extends CopyAction {
    436436
    437         public CopyStartLeftAction() {
     437        CopyStartLeftAction() {
    438438            super(/* ICON(dialogs/conflict/)*/ "copystartleft", tr("> top"),
    439439                tr("Copy my selected nodes to the start of the merged node list"));
     
    457457    class CopyEndLeftAction extends CopyAction {
    458458
    459         public CopyEndLeftAction() {
     459        CopyEndLeftAction() {
    460460            super(/* ICON(dialogs/conflict/)*/ "copyendleft", tr("> bottom"),
    461461                tr("Copy my selected elements to the end of the list of merged elements."));
     
    479479    class CopyBeforeCurrentLeftAction extends CopyAction {
    480480
    481         public CopyBeforeCurrentLeftAction() {
     481        CopyBeforeCurrentLeftAction() {
    482482            super(/* ICON(dialogs/conflict/)*/ "copybeforecurrentleft", tr("> before"),
    483483                    tr("Copy my selected elements before the first selected element in the list of merged elements."));
     
    509509    class CopyAfterCurrentLeftAction extends CopyAction {
    510510
    511         public CopyAfterCurrentLeftAction() {
     511        CopyAfterCurrentLeftAction() {
    512512            super(/* ICON(dialogs/conflict/)*/ "copyaftercurrentleft", tr("> after"),
    513513                    tr("Copy my selected elements after the first selected element in the list of merged elements."));
     
    535535    class CopyStartRightAction extends CopyAction {
    536536
    537         public CopyStartRightAction() {
     537        CopyStartRightAction() {
    538538            super(/* ICON(dialogs/conflict/)*/ "copystartright", tr("< top"),
    539539                tr("Copy their selected element to the start of the list of merged elements."));
     
    553553    class CopyEndRightAction extends CopyAction {
    554554
    555         public CopyEndRightAction() {
     555        CopyEndRightAction() {
    556556            super(/* ICON(dialogs/conflict/)*/ "copyendright", tr("< bottom"),
    557557                tr("Copy their selected elements to the end of the list of merged elements."));
     
    571571    class CopyBeforeCurrentRightAction extends CopyAction {
    572572
    573         public CopyBeforeCurrentRightAction() {
     573        CopyBeforeCurrentRightAction() {
    574574            super(/* ICON(dialogs/conflict/)*/ "copybeforecurrentright", tr("< before"),
    575575                    tr("Copy their selected elements before the first selected element in the list of merged elements."));
     
    597597    class CopyAfterCurrentRightAction extends CopyAction {
    598598
    599         public CopyAfterCurrentRightAction() {
     599        CopyAfterCurrentRightAction() {
    600600            super(/* ICON(dialogs/conflict/)*/ "copyaftercurrentright", tr("< after"),
    601601                    tr("Copy their selected element after the first selected element in the list of merged elements"));
     
    623623    class CopyAllLeft extends AbstractAction implements Observer, PropertyChangeListener {
    624624
    625         public CopyAllLeft() {
     625        CopyAllLeft() {
    626626            ImageIcon icon = ImageProvider.get("dialogs/conflict", "useallleft");
    627627            putValue(Action.SMALL_ICON, icon);
     
    652652    class CopyAllRight extends AbstractAction implements Observer, PropertyChangeListener {
    653653
    654         public CopyAllRight() {
     654        CopyAllRight() {
    655655            ImageIcon icon = ImageProvider.get("dialogs/conflict", "useallright");
    656656            putValue(Action.SMALL_ICON, icon);
     
    681681    class MoveUpMergedAction extends AbstractAction implements ListSelectionListener {
    682682
    683         public MoveUpMergedAction() {
     683        MoveUpMergedAction() {
    684684            ImageIcon icon = ImageProvider.get("dialogs/conflict", "moveup");
    685685            putValue(Action.SMALL_ICON, icon);
     
    715715    class MoveDownMergedAction extends AbstractAction implements ListSelectionListener {
    716716
    717         public MoveDownMergedAction() {
     717        MoveDownMergedAction() {
    718718            ImageIcon icon = ImageProvider.get("dialogs/conflict", "movedown");
    719719            putValue(Action.SMALL_ICON, icon);
     
    749749    class RemoveMergedAction extends AbstractAction implements ListSelectionListener {
    750750
    751         public RemoveMergedAction() {
     751        RemoveMergedAction() {
    752752            ImageIcon icon = ImageProvider.get("dialogs/conflict", "remove");
    753753            putValue(Action.SMALL_ICON, icon);
  • trunk/src/org/openstreetmap/josm/gui/conflict/pair/properties/PropertiesMerger.java

    r8785 r8836  
    392392
    393393    class KeepMyCoordinatesAction extends AbstractAction implements Observer {
    394         public KeepMyCoordinatesAction() {
     394        KeepMyCoordinatesAction() {
    395395            putValue(Action.SMALL_ICON, ImageProvider.get("dialogs/conflict", "tagkeepmine"));
    396396            putValue(Action.SHORT_DESCRIPTION, tr("Keep my coordinates"));
     
    409409
    410410    class KeepTheirCoordinatesAction extends AbstractAction implements Observer {
    411         public KeepTheirCoordinatesAction() {
     411        KeepTheirCoordinatesAction() {
    412412            putValue(Action.SMALL_ICON, ImageProvider.get("dialogs/conflict", "tagkeeptheir"));
    413413            putValue(Action.SHORT_DESCRIPTION, tr("Keep their coordinates"));
     
    426426
    427427    class UndecideCoordinateConflictAction extends AbstractAction implements Observer {
    428         public UndecideCoordinateConflictAction() {
     428        UndecideCoordinateConflictAction() {
    429429            putValue(Action.SMALL_ICON, ImageProvider.get("dialogs/conflict", "tagundecide"));
    430430            putValue(Action.SHORT_DESCRIPTION, tr("Undecide conflict between different coordinates"));
     
    443443
    444444    class KeepMyDeletedStateAction extends AbstractAction implements Observer {
    445         public KeepMyDeletedStateAction() {
     445        KeepMyDeletedStateAction() {
    446446            putValue(Action.SMALL_ICON, ImageProvider.get("dialogs/conflict", "tagkeepmine"));
    447447            putValue(Action.SHORT_DESCRIPTION, tr("Keep my deleted state"));
     
    460460
    461461    class KeepTheirDeletedStateAction extends AbstractAction implements Observer {
    462         public KeepTheirDeletedStateAction() {
     462        KeepTheirDeletedStateAction() {
    463463            putValue(Action.SMALL_ICON, ImageProvider.get("dialogs/conflict", "tagkeeptheir"));
    464464            putValue(Action.SHORT_DESCRIPTION, tr("Keep their deleted state"));
     
    477477
    478478    class UndecideDeletedStateConflictAction extends AbstractAction implements Observer {
    479         public UndecideDeletedStateConflictAction() {
     479        UndecideDeletedStateConflictAction() {
    480480            putValue(Action.SMALL_ICON, ImageProvider.get("dialogs/conflict", "tagundecide"));
    481481            putValue(Action.SHORT_DESCRIPTION, tr("Undecide conflict between deleted state"));
  • trunk/src/org/openstreetmap/josm/gui/conflict/pair/tags/TagMerger.java

    r8510 r8836  
    270270     */
    271271    class KeepMineAction extends AbstractAction implements ListSelectionListener {
    272         public KeepMineAction() {
     272        KeepMineAction() {
    273273            ImageIcon icon = ImageProvider.get("dialogs/conflict", "tagkeepmine");
    274274            if (icon != null) {
     
    302302     */
    303303    class KeepTheirAction extends AbstractAction implements ListSelectionListener {
    304         public KeepTheirAction() {
     304        KeepTheirAction() {
    305305            ImageIcon icon = ImageProvider.get("dialogs/conflict", "tagkeeptheir");
    306306            if (icon != null) {
     
    339339        private final Set<Adjustable> synchronizedAdjustables;
    340340
    341         public AdjustmentSynchronizer() {
     341        AdjustmentSynchronizer() {
    342342            synchronizedAdjustables = new HashSet<>();
    343343        }
     
    400400    class UndecideAction extends AbstractAction implements ListSelectionListener  {
    401401
    402         public UndecideAction() {
     402        UndecideAction() {
    403403            ImageIcon icon = ImageProvider.get("dialogs/conflict", "tagundecide");
    404404            if (icon != null) {
  • trunk/src/org/openstreetmap/josm/gui/conflict/tags/CombinePrimitiveResolverDialog.java

    r8540 r8836  
    406406    class CancelAction extends AbstractAction {
    407407
    408         public CancelAction() {
     408        CancelAction() {
    409409            putValue(Action.SHORT_DESCRIPTION, tr("Cancel conflict resolution"));
    410410            putValue(Action.NAME, tr("Cancel"));
     
    465465        private double dividerLocation;
    466466
    467         public AutoAdjustingSplitPane(int newOrientation) {
     467        AutoAdjustingSplitPane(int newOrientation) {
    468468            super(newOrientation);
    469469            addPropertyChangeListener(JSplitPane.DIVIDER_LOCATION_PROPERTY, this);
  • trunk/src/org/openstreetmap/josm/gui/conflict/tags/MultiValueCellEditor.java

    r8540 r8836  
    196196         * Construct a new {@link EditorCellRenderer}.
    197197         */
    198         public EditorCellRenderer() {
     198        EditorCellRenderer() {
    199199            setOpaque(true);
    200200        }
  • trunk/src/org/openstreetmap/josm/gui/conflict/tags/RelationMemberConflictResolver.java

    r8510 r8836  
    154154
    155155    class ApplyRoleAction extends AbstractAction {
    156         public ApplyRoleAction() {
     156        ApplyRoleAction() {
    157157            putValue(NAME, tr("Apply"));
    158158            putValue(SMALL_ICON, ImageProvider.get("ok"));
Note: See TracChangeset for help on using the changeset viewer.