Ignore:
Timestamp:
2016-08-07T18:07:59+02:00 (3 years ago)
Author:
Don-vip
Message:

sonar - squid:S2156 - "final" classes should not have "protected" members

File:
1 edited

Legend:

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

    r10657 r10763  
    6868    }
    6969
    70     protected void show(long id, HistoryBrowserDialog dialog) {
     70    private void show(long id, HistoryBrowserDialog dialog) {
    7171        if (dialogs.values().contains(dialog)) {
    7272            show(id);
     
    7878    }
    7979
    80     protected void show(long id) {
     80    private void show(long id) {
    8181        if (dialogs.keySet().contains(id)) {
    8282            dialogs.get(id).toFront();
     
    8484    }
    8585
    86     protected boolean hasDialogWithCloseUpperLeftCorner(Point p) {
     86    private boolean hasDialogWithCloseUpperLeftCorner(Point p) {
    8787        for (HistoryBrowserDialog dialog: dialogs.values()) {
    8888            Point corner = dialog.getLocation();
     
    9494    }
    9595
    96     protected void placeOnScreen(HistoryBrowserDialog dialog) {
     96    private void placeOnScreen(HistoryBrowserDialog dialog) {
    9797        WindowGeometry geometry = new WindowGeometry(WINDOW_GEOMETRY_PREF, WindowGeometry.centerOnScreen(new Dimension(850, 500)));
    9898        geometry.applySafe(dialog);
Note: See TracChangeset for help on using the changeset viewer.