Changeset 28566 in osm for applications/editors/josm


Ignore:
Timestamp:
2012-08-18T13:55:48+02:00 (12 years ago)
Author:
donvip
Message:

[josm_tagging_preset_tester] remove dead code that won't compile anymore

Location:
applications/editors/josm/plugins/tagging-preset-tester
Files:
2 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/tagging-preset-tester/.classpath

    r18962 r28566  
    33        <classpathentry kind="src" path="src"/>
    44        <classpathentry including="images/" kind="src" path=""/>
    5         <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JDK 5"/>
     5        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
    66        <classpathentry combineaccessrules="false" kind="src" path="/JOSM"/>
    77        <classpathentry kind="output" path="bin"/>
  • applications/editors/josm/plugins/tagging-preset-tester/.project

    r3639 r28566  
    11<?xml version="1.0" encoding="UTF-8"?>
    22<projectDescription>
    3         <name>tagging-preset-tester</name>
     3        <name>josm-tagging-preset-tester</name>
    44        <comment></comment>
    55        <projects>
  • applications/editors/josm/plugins/tagging-preset-tester/src/org/openstreetmap/josm/plugins/taggingpresettester/TaggingCellRenderer.java

    r22454 r28566  
    1818    @Override public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) {
    1919        TaggingPreset a = null;
    20         if (value instanceof ForwardActionListener)
    21             a = ((ForwardActionListener)value).preset;
    22         else if (value instanceof TaggingPreset)
     20        if (value instanceof TaggingPreset)
    2321            a = (TaggingPreset)value;
    2422        String name = a == null ? null : (String)a.getValue(Action.NAME);
Note: See TracChangeset for help on using the changeset viewer.