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

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

Location:
trunk/src/org/openstreetmap/josm/data/osm
Files:
2 edited

Legend:

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

    r10657 r10763  
    6868    }
    6969
    70     protected void fireChangesetCacheEvent(final ChangesetCacheEvent e) {
     70    private void fireChangesetCacheEvent(final ChangesetCacheEvent e) {
    7171        GuiHelper.runInEDT(() -> {
    7272            for (ChangesetCacheListener l: listeners) {
     
    7676    }
    7777
    78     protected void update(Changeset cs, DefaultChangesetCacheEvent e) {
     78    private void update(Changeset cs, DefaultChangesetCacheEvent e) {
    7979        if (cs == null) return;
    8080        if (cs.isNew()) return;
     
    123123    }
    124124
    125     protected void remove(int id, DefaultChangesetCacheEvent e) {
     125    private void remove(int id, DefaultChangesetCacheEvent e) {
    126126        if (id <= 0) return;
    127127        Changeset cs = cache.get(id);
  • trunk/src/org/openstreetmap/josm/data/osm/Node.java

    r10658 r10763  
    112112     * @param eastNorth east/north
    113113     */
    114     protected void setCoorInternal(LatLon coor, EastNorth eastNorth) {
     114    void setCoorInternal(LatLon coor, EastNorth eastNorth) {
    115115        if (coor != null) {
    116116            this.lat = coor.lat();
Note: See TracChangeset for help on using the changeset viewer.