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

fix Checkstyle issues

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/history/CoordinateInfoViewer.java

    r8510 r8836  
    246246         * @param role the role for this viewer.
    247247         */
    248         public LatLonViewer(HistoryBrowserModel model, PointInTimeType role) {
     248        LatLonViewer(HistoryBrowserModel model, PointInTimeType role) {
    249249            build();
    250250            this.model = model;
     
    297297        private JLabel lblDistance;
    298298
    299         public DistanceViewer(HistoryBrowserModel model) {
     299        DistanceViewer(HistoryBrowserModel model) {
    300300            super(model, PointInTimeType.REFERENCE_POINT_IN_TIME);
    301301        }
  • trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowserDialog.java

    r8686 r8836  
    154154
    155155    class CloseAction extends AbstractAction {
    156         public CloseAction() {
     156        CloseAction() {
    157157            putValue(NAME, tr("Close"));
    158158            putValue(SHORT_DESCRIPTION, tr("Close the dialog"));
     
    173173
    174174    class ReloadAction extends AbstractAction {
    175         public ReloadAction() {
     175        ReloadAction() {
    176176            putValue(NAME, tr("Reload"));
    177177            putValue(SHORT_DESCRIPTION, tr("Reload the history from the server"));
  • trunk/src/org/openstreetmap/josm/gui/history/NodeListViewer.java

    r8702 r8836  
    201201        private final ShowHistoryAction showHistoryAction;
    202202
    203         public NodeListPopupMenu() {
     203        NodeListPopupMenu() {
    204204            zoomToNodeAction = new ZoomToNodeAction();
    205205            add(zoomToNodeAction);
     
    223223         * Constructs a new {@code ZoomToNodeAction}.
    224224         */
    225         public ZoomToNodeAction() {
     225        ZoomToNodeAction() {
    226226            putValue(NAME, tr("Zoom to node"));
    227227            putValue(SHORT_DESCRIPTION, tr("Zoom to this node in the current data layer"));
     
    269269         * Constructs a new {@code ShowHistoryAction}.
    270270         */
    271         public ShowHistoryAction() {
     271        ShowHistoryAction() {
    272272            putValue(NAME, tr("Show history"));
    273273            putValue(SHORT_DESCRIPTION, tr("Open a history browser with the history of this node"));
     
    319319
    320320    class InternalPopupMenuLauncher extends PopupMenuLauncher {
    321         public InternalPopupMenuLauncher() {
     321        InternalPopupMenuLauncher() {
    322322            super(popupMenu);
    323323        }
    324324
    325         @Override protected int checkTableSelection(JTable table, Point p) {
     325        @Override
     326        protected int checkTableSelection(JTable table, Point p) {
    326327            int row = super.checkTableSelection(table, p);
    327328            popupMenu.prepare(primitiveIdAtRow(table.getModel(), row));
     
    334335        private ShowHistoryAction showHistoryAction;
    335336
    336         public DoubleClickAdapter(JTable table) {
     337        DoubleClickAdapter(JTable table) {
    337338            this.table = table;
    338339            showHistoryAction = new ShowHistoryAction();
  • trunk/src/org/openstreetmap/josm/gui/history/TwoColumnDiff.java

    r8702 r8836  
    4949        }
    5050
    51         public Item(DiffItemType state, Object value) {
     51        Item(DiffItemType state, Object value) {
    5252            this.state = state;
    5353            this.value = state == DiffItemType.EMPTY ? null : value;
     
    6464    boolean referenceReversed = false;
    6565
    66     public TwoColumnDiff(Object[] reference, Object[] current) {
     66    TwoColumnDiff(Object[] reference, Object[] current) {
    6767        this.reference = Utils.copyArray(reference);
    6868        this.current = Utils.copyArray(current);
  • trunk/src/org/openstreetmap/josm/gui/history/VersionInfoPanel.java

    r8510 r8836  
    248248        private Integer id;
    249249
    250         public OpenChangesetDialogAction() {
     250        OpenChangesetDialogAction() {
    251251            super(tr("Changeset"), new ImageProvider("dialogs/changeset", "changesetmanager").resetMaxSize(new Dimension(16, 16)).get());
    252252            putValue(SHORT_DESCRIPTION, tr("Opens the Changeset Manager window for the selected changesets"));
  • trunk/src/org/openstreetmap/josm/gui/history/VersionTable.java

    r8510 r8836  
    155155         * Constructs a new {@code ChangesetInfoAction}.
    156156         */
    157         public ChangesetInfoAction() {
     157        ChangesetInfoAction() {
    158158            super(true);
    159159            putValue(NAME, tr("Changeset info"));
     
    192192         * Constructs a new {@code UserInfoAction}.
    193193         */
    194         public UserInfoAction() {
     194        UserInfoAction() {
    195195            super(true);
    196196            putValue(NAME, tr("User info"));
     
    233233         * Constructs a new {@code VersionTablePopupMenu}.
    234234         */
    235         public VersionTablePopupMenu() {
     235        VersionTablePopupMenu() {
    236236            super();
    237237            build();
Note: See TracChangeset for help on using the changeset viewer.