Ignore:
Timestamp:
2014-12-19T17:12:01+01:00 (10 years ago)
Author:
donvip
Message:

[josm_cadastre-fr] replace calls to System.out/err by calls to Main.info/warn/error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastrePlugin.java

    r30858 r30859  
    451451                dialog.setAlwaysOnTop(true);
    452452            } catch(SecurityException e) {
    453                 System.out.println(tr("Warning: failed to put option pane dialog always on top. Exception was: {0}", e.toString()));
     453                Main.warn(tr("Warning: failed to put option pane dialog always on top. Exception was: {0}", e.toString()));
    454454            }
    455455        }
     
    490490        } catch (NumberFormatException e) {}
    491491        if (srcYear.equals("AAAA") || (year != null && year < currentYear)) {
    492             System.out.println("Replace source year "+srcYear+" by current year "+currentYear);
     492                Main.info("Replace source year "+srcYear+" by current year "+currentYear);
    493493            src = src.substring(0, src.lastIndexOf(" ")+1)+currentYear;
    494494            Main.pref.put("cadastrewms.source", src);
Note: See TracChangeset for help on using the changeset viewer.