Ignore:
Timestamp:
2013-08-21T03:47:16+02:00 (11 years ago)
Author:
donvip
Message:

[josm_plugins] fix #8987 - bump min JOSM version of nearly all plugins to r6162 + code update/cleanup, fix warnings

Location:
applications/editors/josm/plugins/OpeningHoursEditor
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/OpeningHoursEditor/build.xml

    r29771 r29854  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <!--
    3 ** This is a template build file for a JOSM  plugin.
    4 **
    5 ** Maintaining versions
    6 ** ====================
    7 ** see README.template
    8 **
    9 ** Usage
    10 ** =====
    11 ** To build it run
    12 **
    13 **    > ant  dist
    14 **
    15 ** To install the generated plugin locally (in you default plugin directory) run
    16 **
    17 **    > ant  install
    18 **
    19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration
    20 ** dialog. You have to check it in first.
    21 **
    22 ** Use the ant target 'publish' to check in the plugin and make it available to other
    23 ** JOSM users:
    24 **    set the properties commit.message and plugin.main.version
    25 ** and run
    26 **    > ant  publish
    27 **
    28 **
    29 -->
    302<project name="OpeningHoursEditor" default="dist" basedir=".">
    313    <!-- enter the SVN commit message -->
    324    <property name="commit.message" value="fixed main version"/>
    335    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="6082"/>
     6    <property name="plugin.main.version" value="6162"/>
    357    <!--
    368      ************************************************
     
    4214    <!-- this is the directory where the plugin jar is copied to -->
    4315    <property name="plugin.dist.dir" value="../../dist"/>
    44     <property name="ant.build.javac.target" value="1.5"/>
     16    <property name="ant.build.javac.target" value="1.6"/>
    4517    <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    4618    <!--
  • applications/editors/josm/plugins/OpeningHoursEditor/src/org/openstreetmap/josm/plugins/ohe/OhePlugin.java

    r29778 r29854  
    108108        }
    109109
     110        @SuppressWarnings("unchecked")
    110111        @Override
    111112        public void actionPerformed(ActionEvent evt) {
  • applications/editors/josm/plugins/OpeningHoursEditor/src/org/openstreetmap/josm/plugins/ohe/gui/OheDialogPanel.java

    r26215 r29854  
    6262            value = (String) valuesToEdit;
    6363        else if (valuesToEdit instanceof Map<?, ?>) {
     64            @SuppressWarnings("unchecked")
    6465            Map<String, Integer> valuesMap = (Map<String, Integer>) valuesToEdit;
    6566            if (valuesMap.size() == 1)
  • applications/editors/josm/plugins/OpeningHoursEditor/src/org/openstreetmap/josm/plugins/ohe/gui/OheEditor.java

    r28477 r29854  
    1515import javax.swing.JScrollPane;
    1616
    17 import org.openstreetmap.josm.Main;
    1817import org.openstreetmap.josm.plugins.ohe.ClockSystem;
    1918import org.openstreetmap.josm.plugins.ohe.OpeningTimeUtils;
Note: See TracChangeset for help on using the changeset viewer.