Changeset 20546 in osm for applications/editors


Ignore:
Timestamp:
2010-03-18T20:43:23+01:00 (14 years ago)
Author:
bastik
Message:

'validator: fixed memory leak'

Location:
applications/editors/josm/plugins/validator
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/validator/build.xml

    r20426 r20546  
    2626          ** update before publishing
    2727        -->
    28         <property name="commit.message" value="validator: fixed josm bug 4594" />
     28        <property name="commit.message" value="validator: fixed memory leak" />
    2929        <property name="plugin.main.version" value="3118" />
    3030
  • applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/ValidatorDialog.java

    r20365 r20546  
    460460        private Collection<TestError> testErrors;
    461461        private boolean canceled;
    462         private LinkedList<Command> fixCommands;
    463 
    464462
    465463        public FixTask(Collection<TestError> testErrors) {
    466464            super(tr("Fixing errors ..."), false /* don't ignore exceptions */);
    467465            this.testErrors = testErrors == null ? new ArrayList<TestError> (): testErrors;
    468             fixCommands = new LinkedList<Command>();
    469466        }
    470467
     
    493490                    final Command fixCommand = error.getFix();
    494491                    if (fixCommand != null) {
    495                         fixCommands.add(fixCommand);
    496492                        SwingUtilities.invokeAndWait(
    497493                                new Runnable() {
Note: See TracChangeset for help on using the changeset viewer.