Ignore:
Timestamp:
2017-03-06T02:38:04+01:00 (8 years ago)
Author:
donvip
Message:

fix errors with error_prone

File:
1 edited

Legend:

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

    r32907 r33177  
    12051205    private static void obstructions() {
    12061206        if ((Renderer.zoom >= 12) && (feature.type == Obj.OBSTRN)) {
    1207             switch ((CatOBS) getAttEnum(feature.type, Att.CATOBS)) {
    1208             case OBS_BOOM:
     1207            if (getAttEnum(feature.type, Att.CATOBS) == CatOBS.OBS_BOOM) {
    12091208                Renderer.lineVector(new LineStyle(Color.black, 5, new float[] {20, 20}, null));
    12101209                if (Renderer.zoom >= 15) {
    12111210                    Renderer.lineText("Boom", new Font("Arial", Font.PLAIN, 80), Color.black, -20);
    12121211                }
    1213             default:
    1214                 break;
    12151212            }
    12161213        }
Note: See TracChangeset for help on using the changeset viewer.