Ignore:
Timestamp:
2009-11-01T14:57:45+01:00 (15 years ago)
Author:
stoecker
Message:

fixed warnings

Location:
applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/GroupManipulatorDialog.java

    r15585 r18409  
    5353
    5454        // And finalize initializing the form.
    55         setupDialog(mainPanel, new String[] { "ok.png", "cancel.png" });
     55        setContent(mainPanel);
     56        setButtonIcons(new String[] {"ok.png", "cancel.png"});
     57        setupDialog();
    5658        setDefaultCloseOperation(DISPOSE_ON_CLOSE);
    57         setAlwaysOnTop(false);
    5859
    5960        // TODO: Why does it always crash if the modality is set in constructor?
  • applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/LocationSelector.java

    r16750 r18409  
    5050
    5151        initComponents();
    52         setupDialog(mainPanel, new String[] { "ok.png", "cancel.png"});
     52        setContent(mainPanel);
     53        setButtonIcons(new String[] {"ok.png", "cancel.png"});
     54        setupDialog();
    5355
    5456        oblastComboBox.setRenderer(new AddressElementRenderer());
  • applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/ManagerDialog.java

    r16750 r18409  
    6969
    7070        // And finalize initializing the form.
    71         setupDialog(mainPanel, new String[] {});
     71        setContent(mainPanel);
     72        setButtonIcons(new String[] {"ok.png", "cancel.png"});
     73        setupDialog();
    7274    }
    7375
  • applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/intelligence/Capitalizator.java

    r15558 r18409  
    1919/**
    2020 * Updates the names in the database according the map.
    21  * 
     21 *
    2222 * @author Radomír Černoch, radomir.cernoch@gmail.com
    2323 */
     
    4141        for (Street elem : results.keySet()) {
    4242            try {
    43                
     43
    4444                OsmPrimitive match = results.get(elem).get();
    4545                if (match == null) continue;
    4646
    4747                map.put(elem, match);
    48                
     48
    4949            } catch (InterruptedException ex) {
    5050                logger.log(Level.SEVERE, "Thread interrupted during matching", ex);
     
    5555    }
    5656
    57     private class StreetMatcher implements Callable {
     57    private class StreetMatcher implements Callable<OsmPrimitive> {
    5858
    5959        private AddressElement elem;
     
    7575                if (prim.get("name").equals(elem.getName()))
    7676                    return prim;
    77                
     77
    7878                if (StringUtils.matchAbbrev(prim.get("name"), elem.getName()))
    7979                    candidate = prim;
Note: See TracChangeset for help on using the changeset viewer.