Ignore:
Timestamp:
2016-05-20T22:21:01+02:00 (8 years ago)
Author:
Don-vip
Message:

sonar - squid:S1948 - Fields in a "Serializable" class should either be transient or serializable

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

Legend:

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

    r10174 r10254  
    226226    static class SegmentToKeepSelectionDialog extends ExtendedDialog {
    227227        static final AtomicInteger DISPLAY_COUNT = new AtomicInteger();
    228         final Way selectedWay;
    229         final List<Way> newWays;
     228        final transient Way selectedWay;
     229        final transient List<Way> newWays;
    230230        final JList<Way> list;
    231         final List<OsmPrimitive> selection;
    232         final Way wayToKeep;
     231        final transient List<OsmPrimitive> selection;
     232        final transient Way wayToKeep;
    233233
    234234        SegmentToKeepSelectionDialog(Way selectedWay, List<Way> newWays, Way wayToKeep, List<OsmPrimitive> selection) {
  • trunk/src/org/openstreetmap/josm/actions/UnGlueAction.java

    r10181 r10254  
    203203    static final class PropertiesMembershipDialog extends ExtendedDialog {
    204204
    205         final ExistingBothNewChoice tags;
    206         final ExistingBothNewChoice memberships;
     205        final transient ExistingBothNewChoice tags;
     206        final transient ExistingBothNewChoice memberships;
    207207
    208208        private PropertiesMembershipDialog(boolean preselectNew, boolean queryTags, boolean queryMemberships) {
Note: See TracChangeset for help on using the changeset viewer.