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

Location:
trunk/src/org/openstreetmap/josm/actions
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/AlignInCircleAction.java

    r10662 r10763  
    388388     * @return true if all ways can be joined into a polygon
    389389     */
    390     protected static boolean checkWaysArePolygon(Collection<Way> ways) {
     390    private static boolean checkWaysArePolygon(Collection<Way> ways) {
    391391        // For each way, nodes strictly between first and last should't be reference by an other way
    392392        for (Way way: ways) {
  • trunk/src/org/openstreetmap/josm/actions/CloseChangesetAction.java

    r10601 r10763  
    109109
    110110        /**
    111          * Fetch the user info from the server. This is necessary if we don't know
    112          * the users id yet
     111         * Fetch the user info from the server. This is necessary if we don't know the users id yet
    113112         *
    114113         * @return the user info
    115114         * @throws OsmTransferException in case of any communication exception
    116115         */
    117         protected UserInfo fetchUserInfo() throws OsmTransferException {
    118             OsmServerUserInfoReader reader = new OsmServerUserInfoReader();
    119             return reader.fetchUserInfo(getProgressMonitor().createSubTaskMonitor(1, false));
     116        private UserInfo fetchUserInfo() throws OsmTransferException {
     117            return new OsmServerUserInfoReader().fetchUserInfo(getProgressMonitor().createSubTaskMonitor(1, false));
    120118        }
    121119
Note: See TracChangeset for help on using the changeset viewer.