Ignore:
Timestamp:
2016-06-01T23:17:40+02:00 (8 years ago)
Author:
Don-vip
Message:

sonar - squid:S1854 - Dead stores should be removed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Instruction.java

    r8846 r10308  
    7171        @Override
    7272        public void execute(Environment env) {
    73             Object value = null;
     73            Object value;
    7474            if (val instanceof Expression) {
    7575                value = ((Expression) val).evaluate(env);
     
    8888        public String toString() {
    8989            return key + ": " + (val instanceof float[] ? Arrays.toString((float[]) val) :
    90                 val instanceof String ? "String<"+val+'>' : val) + ';';
     90                (val instanceof String ? ("String<"+val+'>') : val)) + ';';
    9191        }
    9292    }
Note: See TracChangeset for help on using the changeset viewer.