Ignore:
Timestamp:
2012-03-23T21:49:59+01:00 (13 years ago)
Author:
donvip
Message:

opendata: change in handlers management (use of classes instead of objects) to allow several instances of the same handler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/opendata/modules/fr.lemans/src/org/openstreetmap/josm/plugins/opendata/modules/fr/lemans/LeMansModule.java

    r28091 r28143  
    3030        public LeMansModule(ModuleInformation info) {
    3131                super(info);
    32                 handlers.add(new ServicesCommunautairesMunicipauxHandler());
    33                 handlers.add(new CantonsSartheHandler());
    34                 handlers.add(new CommunesHandler());
    35                 handlers.add(new CodesPostauxHandler());
    36                 handlers.add(new CirconscriptionsLegislativesHandler());
    37                 handlers.add(new ConseilsQuartiersHandler());
    38                 handlers.add(new PointsApportVolontaireHandler());
     32                handlers.add(ServicesCommunautairesMunicipauxHandler.class);
     33                handlers.add(CantonsSartheHandler.class);
     34                handlers.add(CommunesHandler.class);
     35                handlers.add(CodesPostauxHandler.class);
     36                handlers.add(CirconscriptionsLegislativesHandler.class);
     37                handlers.add(ConseilsQuartiersHandler.class);
     38                handlers.add(PointsApportVolontaireHandler.class);
    3939    }
    4040}
Note: See TracChangeset for help on using the changeset viewer.