Ignore:
Timestamp:
2016-09-03T16:52:05+02:00 (8 years ago)
Author:
donvip
Message:

fix some error-prone warnings

Location:
applications/editors/josm/plugins/seachart/src/render
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/seachart/src/render/Renderer.java

    r32907 r32909  
    6868        if (map != null) {
    6969            if (context.clip()) {
    70                 Point2D tl = context.getPoint(map.new Snode(map.bounds.maxlat, map.bounds.minlon));
    71                 Point2D br = context.getPoint(map.new Snode(map.bounds.minlat, map.bounds.maxlon));
     70                Point2D tl = context.getPoint(new Snode(map.bounds.maxlat, map.bounds.minlon));
     71                Point2D br = context.getPoint(new Snode(map.bounds.minlat, map.bounds.maxlon));
    7272                g2.clip(new Rectangle2D.Double(tl.getX(), tl.getY(), (br.getX() - tl.getX()), (br.getY() - tl.getY())));
    7373            }
  • applications/editors/josm/plugins/seachart/src/render/Signals.java

    r32907 r32909  
    365365    }
    366366
    367     class Sect {
     367    static class Sect {
    368368        int dir;
    369369        LitCHR chr;
Note: See TracChangeset for help on using the changeset viewer.