Changeset 29854 in osm


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
Files:
32 added
4 deleted
275 edited
2 moved

Legend:

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

    r29435 r29854  
    44        <property name="commit.message" value="Commit message"/>
    55    <!-- Enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="5047"/>
     6    <property name="plugin.main.version" value="6162"/>
    77       
    88        <!-- Plugin meta data -->
  • applications/editors/josm/plugins/ColumbusCSV/src/org/openstreetmap/josm/plugins/columbusCSV/ColumbusCSVImporter.java

    r29178 r29854  
    1717import static org.openstreetmap.josm.tools.I18n.tr;
    1818
    19 import java.io.BufferedReader;
    20 import java.io.DataInputStream;
    2119import java.io.File;
    22 import java.io.FileInputStream;
    23 import java.io.FileNotFoundException;
    2420import java.io.IOException;
    25 import java.io.InputStreamReader;
    2621
    2722import org.openstreetmap.josm.Main;
  • applications/editors/josm/plugins/CommandLine/.settings/org.eclipse.jdt.core.prefs

    r29273 r29854  
    11eclipse.preferences.version=1
     2org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
     3org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
     4org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
     5org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
     6org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
     7org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
    28org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
    39org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
     
    713org.eclipse.jdt.core.compiler.debug.localVariable=generate
    814org.eclipse.jdt.core.compiler.debug.sourceFile=generate
     15org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
    916org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
     17org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
     18org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
     19org.eclipse.jdt.core.compiler.problem.deadCode=warning
     20org.eclipse.jdt.core.compiler.problem.deprecation=warning
     21org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
     22org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
     23org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
     24org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
    1025org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
     26org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
     27org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
     28org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
     29org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
     30org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
     31org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
     32org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
     33org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
     34org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
     35org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
     36org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
     37org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
     38org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
     39org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
     40org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
     41org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
     42org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
     43org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
     44org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
     45org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
     46org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
     47org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
     48org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
     49org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
     50org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
     51org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
     52org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
     53org.eclipse.jdt.core.compiler.problem.nullReference=warning
     54org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
     55org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
     56org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
     57org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
     58org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
     59org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
     60org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
     61org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
     62org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
     63org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
     64org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
     65org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
     66org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
     67org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
     68org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
     69org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
     70org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
     71org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
     72org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
     73org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
     74org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
     75org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
     76org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
     77org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
     78org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
     79org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
     80org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
     81org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
     82org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
     83org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
     84org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
     85org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
     86org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
     87org.eclipse.jdt.core.compiler.problem.unusedImport=warning
     88org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
     89org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
     90org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
     91org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
     92org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
     93org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
     94org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
     95org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
     96org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
     97org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
     98org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
    1199org.eclipse.jdt.core.compiler.source=1.6
  • applications/editors/josm/plugins/CommandLine/build.xml

    r29784 r29854  
    44    <property name="commit.message" value="JOSM/CommandLine: fix exception after JOSM update"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="6088"/>
     6    <property name="plugin.main.version" value="6162"/>
    77
    88    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/CommandLine/src/CommandLine/Command.java

    r29819 r29854  
    3030    public Command () { parameters = new ArrayList<Parameter>(); optParameters = new ArrayList<Parameter>(); currentParameterNum = 0; tracks = false; asynchronous = false; icon = ""; }
    3131
     32    @SuppressWarnings("unchecked")
    3233    public boolean loadObject(Object obj) {
    3334        Parameter currentParameter = parameters.get(currentParameterNum);
  • applications/editors/josm/plugins/Create_grid_of_ways/build.xml

    r29771 r29854  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <!--
    3 ** This is the build file for the Create_grid_of_ways  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="Create_grid_of_ways" default="dist" basedir=".">
    313    <!-- enter the SVN commit message -->
    324    <property name="commit.message" value="Changed constructor signature, updated build.xml"/>
    335    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="6082"/>
    35     <property name="josm" location="../../core/dist/josm-custom.jar"/>
    36     <property name="plugin.dist.dir" value="../../dist"/>
    37     <property name="plugin.build.dir" value="build"/>
    38     <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    39     <property name="ant.build.javac.target" value="1.5"/>
    40     <target name="init">
    41         <mkdir dir="${plugin.build.dir}"/>
    42     </target>
    43     <target name="compile" depends="init">
    44         <echo message="creating ${plugin.jar}"/>
    45         <javac srcdir="src" classpath="${josm}" debug="true" destdir="${plugin.build.dir}">
    46             <compilerarg value="-Xlint:deprecation"/>
    47             <compilerarg value="-Xlint:unchecked"/>
    48         </javac>
    49     </target>
    50     <target name="dist" depends="compile,revision">
    51         <copy todir="${plugin.build.dir}/images">
    52             <fileset dir="images"/>
    53         </copy>
    54         <copy todir="${plugin.build.dir}/data">
    55             <fileset dir="data"/>
    56         </copy>
    57         <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
    58             <manifest>
    59                 <attribute name="Author" value="Jorge Luis Chamorro"/>
    60                 <attribute name="Plugin-Class" value="CreateGridOfWaysPlugin.CreateGridOfWaysPlugin"/>
    61                 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    62                 <attribute name="Plugin-Description" value="Create a grid of ways."/>
    63                 <attribute name="Plugin-Icon" value="images/creategridofways.png"/>
    64                 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/Create_grid_of_ways"/>
    65                 <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
    66                 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    67             </manifest>
    68         </jar>
    69     </target>
    70     <target name="revision">
    71         <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
    72             <env key="LANG" value="C"/>
    73             <arg value="info"/>
    74             <arg value="--xml"/>
    75             <arg value="."/>
    76         </exec>
    77         <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
    78         <delete file="REVISION"/>
    79     </target>
    80     <target name="clean">
    81         <delete dir="${plugin.build.dir}"/>
    82         <delete file="${plugin.jar}"/>
    83     </target>
    84     <target name="install" depends="dist">
    85         <property environment="env"/>
    86         <condition property="josm.plugins.dir" value="${env.APPDATA}/JOSM/plugins" else="${user.home}/.josm/plugins">
    87             <and>
    88                 <os family="windows"/>
    89             </and>
    90         </condition>
    91         <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/>
    92     </target>
    93     <!--
    94     ************************** Publishing the plugin ***********************************
     6    <property name="plugin.main.version" value="6162"/>
     7
     8    <!-- Configure these properties (replace "..." accordingly).
     9         See http://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins
    9510    -->
    96     <!--
    97         ** extracts the JOSM release for the JOSM version in ../core and saves it in the
    98         ** property ${coreversion.info.entry.revision}
    99         **
    100         -->
    101     <target name="core-info">
    102         <exec append="false" output="core.info.xml" executable="svn" failifexecutionfails="false">
    103             <env key="LANG" value="C"/>
    104             <arg value="info"/>
    105             <arg value="--xml"/>
    106             <arg value="../../core"/>
    107         </exec>
    108         <xmlproperty file="core.info.xml" prefix="coreversion" keepRoot="true" collapseAttributes="true"/>
    109         <echo>Building against core revision ${coreversion.info.entry.revision}.</echo>
    110         <echo>Plugin-Mainversion is set to ${plugin.main.version}.</echo>
    111         <delete file="core.info.xml"/>
    112     </target>
    113     <!--
    114         ** commits the source tree for this plugin
    115         -->
    116     <target name="commit-current">
    117         <echo>Commiting the plugin source with message '${commit.message}' ...</echo>
    118         <exec append="true" output="svn.log" executable="svn" failifexecutionfails="false">
    119             <env key="LANG" value="C"/>
    120             <arg value="commit"/>
    121             <arg value="-m '${commit.message}'"/>
    122             <arg value="."/>
    123         </exec>
    124     </target>
    125     <!--
    126         ** updates (svn up) the source tree for this plugin
    127         -->
    128     <target name="update-current">
    129         <echo>Updating plugin source ...</echo>
    130         <exec append="true" output="svn.log" executable="svn" failifexecutionfails="false">
    131             <env key="LANG" value="C"/>
    132             <arg value="up"/>
    133             <arg value="."/>
    134         </exec>
    135         <echo>Updating ${plugin.jar} ...</echo>
    136         <exec append="true" output="svn.log" executable="svn" failifexecutionfails="false">
    137             <env key="LANG" value="C"/>
    138             <arg value="up"/>
    139             <arg value="../dist/${plugin.jar}"/>
    140         </exec>
    141     </target>
    142     <!--
    143         ** commits the plugin.jar
    144         -->
    145     <target name="commit-dist">
    146         <echo>
    147     ***** Properties of published ${plugin.jar} *****
    148     Commit message    : '${commit.message}'                 
    149     Plugin-Mainversion: ${plugin.main.version}
    150     JOSM build version: ${coreversion.info.entry.revision}
    151     Plugin-Version    : ${version.entry.commit.revision}
    152     ***** / Properties of published ${plugin.jar} *****                 
    153                        
    154     Now commiting ${plugin.jar} ...
    155     </echo>
    156         <exec append="true" output="svn.log" executable="svn" failifexecutionfails="false">
    157             <env key="LANG" value="C"/>
    158             <arg value="-m '${commit.message}'"/>
    159             <arg value="commit"/>
    160             <arg value="${plugin.jar}"/>
    161         </exec>
    162     </target>
    163     <!-- ** make sure svn is present as a command line tool ** -->
    164     <target name="ensure-svn-present">
    165         <exec append="true" output="svn.log" executable="svn" failifexecutionfails="false" failonerror="false" resultproperty="svn.exit.code">
    166             <env key="LANG" value="C"/>
    167             <arg value="--version"/>
    168         </exec>
    169         <fail message="Fatal: command 'svn --version' failed. Please make sure svn is installed on your system.">
    170             <!-- return code not set at all? Most likely svn isn't installed -->
    171             <condition>
    172                 <not>
    173                     <isset property="svn.exit.code"/>
    174                 </not>
    175             </condition>
    176         </fail>
    177         <fail message="Fatal: command 'svn --version' failed. Please make sure a working copy of svn is installed on your system.">
    178             <!-- error code from SVN? Most likely svn is not what we are looking on this system -->
    179             <condition>
    180                 <isfailure code="${svn.exit.code}"/>
    181             </condition>
    182         </fail>
    183     </target>
    184     <target name="publish" depends="ensure-svn-present,core-info,commit-current,update-current,clean,dist,commit-dist">
    185     </target>
     11    <property name="plugin.author" value="Jorge Luis Chamorro"/>
     12    <property name="plugin.class" value="CreateGridOfWaysPlugin.CreateGridOfWaysPlugin"/>
     13    <property name="plugin.description" value="Create a grid of ways."/>
     14    <property name="plugin.icon" value="images/creategridofways.png"/>
     15    <property name="plugin.link" value="http://wiki.openstreetmap.org/wiki/Create_grid_of_ways"/>
     16
     17    <!-- ** include targets that all plugins have in common ** -->
     18    <import file="../build-common.xml"/>
    18619</project>
  • applications/editors/josm/plugins/DirectDownload/.settings/org.eclipse.jdt.core.prefs

    r29776 r29854  
    11eclipse.preferences.version=1
     2org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
     3org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
     4org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
     5org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
     6org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
     7org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
    28org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
    39org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
    410org.eclipse.jdt.core.compiler.compliance=1.6
     11org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
    512org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
     13org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
     14org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
     15org.eclipse.jdt.core.compiler.problem.deadCode=warning
     16org.eclipse.jdt.core.compiler.problem.deprecation=warning
     17org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
     18org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
     19org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
     20org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
    621org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
     22org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
     23org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
     24org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
     25org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
     26org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
     27org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
     28org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
     29org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
     30org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
     31org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
     32org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
     33org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
     34org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
     35org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
     36org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
     37org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
     38org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
     39org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
     40org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
     41org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
     42org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
     43org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
     44org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
     45org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
     46org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
     47org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
     48org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
     49org.eclipse.jdt.core.compiler.problem.nullReference=warning
     50org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
     51org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
     52org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
     53org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
     54org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
     55org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
     56org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
     57org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
     58org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
     59org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
     60org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
     61org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
     62org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
     63org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
     64org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
     65org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
     66org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
     67org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
     68org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
     69org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
     70org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
     71org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
     72org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
     73org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
     74org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
     75org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
     76org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
     77org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
     78org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
     79org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
     80org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
     81org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
     82org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
     83org.eclipse.jdt.core.compiler.problem.unusedImport=warning
     84org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
     85org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
     86org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
     87org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
     88org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
     89org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
     90org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
     91org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
     92org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
     93org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
     94org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
    795org.eclipse.jdt.core.compiler.source=1.6
  • applications/editors/josm/plugins/DirectDownload/build.xml

    r29776 r29854  
    44    <property name="commit.message" value="Commit message"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="6082"/>
     6    <property name="plugin.main.version" value="6162"/>
    77
    88    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/DirectUpload/.settings/org.eclipse.jdt.core.prefs

    r29718 r29854  
    11eclipse.preferences.version=1
     2org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
     3org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
     4org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
     5org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
     6org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
     7org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
    28org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
    39org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
    410org.eclipse.jdt.core.compiler.compliance=1.6
     11org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
    512org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
     13org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
     14org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
     15org.eclipse.jdt.core.compiler.problem.deadCode=warning
     16org.eclipse.jdt.core.compiler.problem.deprecation=warning
     17org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
     18org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
     19org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
     20org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
    621org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
     22org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
     23org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
     24org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
     25org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
     26org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
     27org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
     28org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
     29org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
     30org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
     31org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
     32org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
     33org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
     34org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
     35org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
     36org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
     37org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
     38org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
     39org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
     40org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
     41org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
     42org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
     43org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
     44org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
     45org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
     46org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
     47org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
     48org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
     49org.eclipse.jdt.core.compiler.problem.nullReference=warning
     50org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
     51org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
     52org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
     53org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
     54org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
     55org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
     56org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
     57org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
     58org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
     59org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
     60org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
     61org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
     62org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
     63org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
     64org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
     65org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
     66org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
     67org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
     68org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
     69org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
     70org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
     71org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
     72org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
     73org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
     74org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
     75org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
     76org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
     77org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
     78org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
     79org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
     80org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
     81org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
     82org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
     83org.eclipse.jdt.core.compiler.problem.unusedImport=warning
     84org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
     85org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
     86org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
     87org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
     88org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
     89org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
     90org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
     91org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
     92org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
     93org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
     94org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
    795org.eclipse.jdt.core.compiler.source=1.6
  • applications/editors/josm/plugins/DirectUpload/build.xml

    r29778 r29854  
    55    <property name="commit.message" value="applied JOSM Ticket 4498 (patch by ax) - oauth support for gpx upload (I accidentally committed parts of the path in [24236])"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="6082"/>
     7    <property name="plugin.main.version" value="6162"/>
    88
    99    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/ElevationProfile/build.xml

    r29611 r29854  
    44    <property name="commit.message" value=""/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="5965"/>
     6    <property name="plugin.main.version" value="6162"/>
    77   
    88    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/FastDraw/build.xml

    r29596 r29854  
    44    <property name="commit.message" value="JOSM/FastDraw: line stroke and point size customization"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="5960"/>
     6    <property name="plugin.main.version" value="6162"/>
    77   
    88    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/FixAddresses/build.xml

    r29778 r29854  
    44    <property name="commit.message" value="fix compile error (core changes)"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="6082"/>
     6    <property name="plugin.main.version" value="6162"/>
    77       
    88    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/AddressEditContainer.java

    r29661 r29854  
    799799                 * @return the score of the street.
    800800                 */
    801                 protected int getScore() {
     801                /*protected int getScore() {
    802802                        return score;
    803                 }
     803                }*/
    804804
    805805                @Override
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/FixAddressesPlugin.java

    r29778 r29854  
    1414package org.openstreetmap.josm.plugins.fixAddresses;
    1515
    16 import javax.swing.JMenu;
    1716import org.openstreetmap.josm.Main;
    1817import org.openstreetmap.josm.gui.IconToggleButton;
  • applications/editors/josm/plugins/HouseNumberTaggingTool/build.xml

    r29778 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="HouseNumberTaggingTool" default="dist" basedir=".">
    313    <!-- enter the SVN commit message -->
    324    <property name="commit.message" value="Initial 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    <!-- Configure these properties (replace "..." accordingly).
    368         See http://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins
  • applications/editors/josm/plugins/ImportImagePlugin/.settings/org.eclipse.jdt.core.prefs

    r28954 r29854  
    11eclipse.preferences.version=1
     2org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
     3org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
     4org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
     5org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
     6org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
     7org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
    28org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
    39org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
     
    713org.eclipse.jdt.core.compiler.debug.localVariable=generate
    814org.eclipse.jdt.core.compiler.debug.sourceFile=generate
     15org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
    916org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
     17org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
     18org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
     19org.eclipse.jdt.core.compiler.problem.deadCode=warning
     20org.eclipse.jdt.core.compiler.problem.deprecation=warning
     21org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
     22org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
     23org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
     24org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
    1025org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
     26org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
     27org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
     28org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
     29org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
     30org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
     31org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
     32org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
     33org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
     34org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
     35org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
     36org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
     37org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
     38org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
     39org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
     40org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
     41org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
     42org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
     43org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
     44org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
     45org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
     46org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
     47org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
     48org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
     49org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
     50org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
     51org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
     52org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
     53org.eclipse.jdt.core.compiler.problem.nullReference=warning
     54org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
     55org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
     56org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
     57org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
     58org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
     59org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
     60org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
     61org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
     62org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
     63org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
     64org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
     65org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
     66org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
     67org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
     68org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
     69org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
     70org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
     71org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
     72org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
     73org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
     74org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
     75org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
     76org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
     77org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
     78org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
     79org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
     80org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
     81org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
     82org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
     83org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
     84org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
     85org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
     86org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
     87org.eclipse.jdt.core.compiler.problem.unusedImport=warning
     88org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
     89org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
     90org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
     91org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
     92org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
     93org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
     94org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
     95org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
     96org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
     97org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
     98org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
    1199org.eclipse.jdt.core.compiler.source=1.6
  • applications/editors/josm/plugins/ImportImagePlugin/build.xml

    r29805 r29854  
    55        <property name="commit.message" value="use consistent plugin name (don't mix up the words)" />
    66        <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7         <property name="plugin.main.version" value="6097" />
     7        <property name="plugin.main.version" value="6162" />
    88
    99    <property name="plugin.author" value="Christoph Beekmans, Fabian Kowitz, Anna Robaszkiewicz, Oliver Kuhn, Martin Ulitzny"/>
  • applications/editors/josm/plugins/ImportImagePlugin/src/org/openstreetmap/josm/plugins/ImportImagePlugin/LayerPropertiesDialog.java

    r26452 r29854  
    372372                public void keyTyped(java.awt.event.KeyEvent e) {
    373373                   
    374                     for (Iterator iterator = supportedCRS.iterator(); iterator
    375                             .hasNext();) {
     374                    for (Iterator<String> iterator = supportedCRS.iterator(); iterator.hasNext();) {
    376375                        String type = (String) iterator.next();
    377                         if(type.contains(searchField.getText()))
    378                         {
     376                        if (type.contains(searchField.getText())) {
    379377                            crsJList.setSelectedIndex(supportedCRS.indexOf(type));
    380378                            crsJList.ensureIndexIsVisible(supportedCRS.indexOf(type));
  • applications/editors/josm/plugins/ImportImagePlugin/src/org/openstreetmap/josm/plugins/ImportImagePlugin/PluginOperations.java

    r28954 r29854  
    303303            sb.append(content);
    304304        }
    305 
     305        br.close();
    306306        try {
    307307            refSys = CRS.parseWKT(sb.toString().trim());
     
    311311
    312312        return refSys;
    313 
    314     }
    315 
     313    }
    316314
    317315    /**
  • applications/editors/josm/plugins/NanoLog/build.xml

    r29435 r29854  
    4343    <property name="plugin.dist.dir" value="../../dist"/>
    4444    <!--property name="plugin.dist.dir"        value="/Users/Zverik/AppData/Roaming/JOSM/plugins"/-->
    45     <property name="ant.build.javac.target" value="1.5"/>
    46     <property name="ant.build.javac.source" value="1.5"/>
     45    <property name="ant.build.javac.target" value="1.6"/>
     46    <property name="ant.build.javac.source" value="1.6"/>
    4747    <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    4848    <!--
  • 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;
  • applications/editors/josm/plugins/OsmInspectorPlugin/build.xml

    r29435 r29854  
    55    <property name="commit.message" value="Commit message"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="4394"/>
     7    <property name="plugin.main.version" value="6162"/>
    88
    99    <property name="plugin.author" value="Nikhil Shirahatti"/>
  • applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/ImportOsmInspectorBugsAction.java

    r29449 r29854  
    77import java.awt.event.KeyEvent;
    88
    9 import javax.swing.JPanel;
    10 import javax.swing.JProgressBar;
    119import javax.swing.ProgressMonitor;
    12 import javax.swing.event.ListSelectionEvent;
    13 import javax.swing.event.ListSelectionListener;
    1410
    1511import org.openstreetmap.josm.Main;
  • applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/OSMIFeatureTracker.java

    r28935 r29854  
    1616        public OSMIFeatureTracker(
    1717                        FeatureCollection<SimpleFeatureType, SimpleFeature> featuresIn) {
    18                 hashFeatures = new HashMap();
     18                hashFeatures = new HashMap<Long, SimpleFeature>();
    1919                features = new MemoryFeatureCollection(featuresIn.getSchema());
    2020
    21                 for (Iterator it = features.iterator(); it.hasNext();) {
     21                for (Iterator<?> it = features.iterator(); it.hasNext();) {
    2222                        SimpleFeature element = (SimpleFeature) it.next();
    2323                        try {
     
    3939        public boolean mergeFeatures(
    4040                        FeatureCollection<SimpleFeatureType, SimpleFeature> newFeatures) {
    41                 for (Iterator it = newFeatures.iterator(); it.hasNext();) {
     41                for (Iterator<SimpleFeature> it = newFeatures.iterator(); it.hasNext();) {
    4242                        SimpleFeature element = (SimpleFeature) it.next();
    4343                        try {
  • applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/OsmInspectorLayer.java

    r28935 r29854  
    5757import org.openstreetmap.josm.plugins.osminspector.gui.OsmInspectorDialog;
    5858import org.openstreetmap.josm.tools.ImageProvider;
     59
    5960import com.vividsolutions.jts.geom.Envelope;
    6061import com.vividsolutions.jts.geom.Geometry;
     
    338339         * @throws ParseException
    339340         */
    340         @SuppressWarnings("unchecked")
    341341        public OsmInspectorLayer(GeoFabrikWFSClient wfsClient,
    342342                        ProgressMonitor monitor) throws NoSuchAuthorityCodeException,
     
    403403         * @throws IndexOutOfBoundsException
    404404         */
    405         @SuppressWarnings("unchecked")
    406405        public void loadFeatures(GeoFabrikWFSClient wfsClient)
    407406                        throws NoSuchAuthorityCodeException, FactoryException, IOException,
  • applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/OsmInspectorPlugin.java

    r29058 r29854  
    4545        }
    4646       
    47        
    48        
    49        
    50          /**
     47        /**
    5148     * Initialize the <code>OsmInspectorPlugin</code> object. Creates the
    5249     * <code>OsmInspectorGUI</code> and initializes the following variables with
     
    5552    private void initializePlugin() {
    5653        System.out.println("Initialized Plugin...");
    57         Shortcut shortcut = Shortcut.registerShortcut("OsmInspector", tr("Toggle: {0}", tr("Open OsmInspector")),
     54        Shortcut.registerShortcut("OsmInspector", tr("Toggle: {0}", tr("Open OsmInspector")),
    5855                KeyEvent.VK_1, Shortcut.ALT_SHIFT);
    5956        //String name = "Osm Inspector error reports";
  • applications/editors/josm/plugins/addrinterpolation/.settings/org.eclipse.jdt.core.prefs

    r29853 r29854  
    11eclipse.preferences.version=1
     2org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
     3org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
     4org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
     5org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
     6org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
     7org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
    28org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
    39org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
    410org.eclipse.jdt.core.compiler.compliance=1.6
     11org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
    512org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
     13org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
     14org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
     15org.eclipse.jdt.core.compiler.problem.deadCode=warning
     16org.eclipse.jdt.core.compiler.problem.deprecation=warning
     17org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
     18org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
     19org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
     20org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
    621org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
     22org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
     23org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
     24org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
     25org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
     26org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
     27org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
     28org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
     29org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
     30org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
     31org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
     32org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
     33org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
     34org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
     35org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
     36org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
     37org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
     38org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
     39org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
     40org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
     41org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
     42org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
     43org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
     44org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
     45org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
     46org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
     47org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
     48org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
     49org.eclipse.jdt.core.compiler.problem.nullReference=warning
     50org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
     51org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
     52org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
     53org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
     54org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
     55org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
     56org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
     57org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
     58org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
     59org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
     60org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
     61org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
     62org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
     63org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
     64org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
     65org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
     66org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
     67org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
     68org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
     69org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
     70org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
     71org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
     72org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
     73org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
     74org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
     75org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
     76org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
     77org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
     78org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
     79org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
     80org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
     81org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
     82org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
     83org.eclipse.jdt.core.compiler.problem.unusedImport=warning
     84org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
     85org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
     86org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
     87org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
     88org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
     89org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
     90org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
     91org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
     92org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
     93org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
     94org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
    795org.eclipse.jdt.core.compiler.source=1.6
  • applications/editors/josm/plugins/addrinterpolation/build.xml

    r29778 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 -->
    232<project name="AddrInterpolation" default="dist" basedir=".">
    243    <!-- enter the SVN commit message -->
    254    <property name="commit.message" value="Impoved Icon"/>
    265    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    27     <property name="plugin.main.version" value="6082"/>
     6    <property name="plugin.main.version" value="6162"/>
    287   
    298    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/addrinterpolation/src/org/openstreetmap/josm/plugins/AddrInterpolation/AddrInterpolationAction.java

    r27852 r29854  
    66
    77import java.awt.event.ActionEvent;
    8 import java.awt.event.InputEvent;
    98import java.awt.event.KeyEvent;
    109import java.util.Collection;
     
    3130
    3231    public void actionPerformed(ActionEvent e) {
    33         AddrInterpolationDialog addrDialog = new AddrInterpolationDialog(tr("Define Address Interpolation"));
    34 
    35 
     32        /*AddrInterpolationDialog addrDialog =*/ new AddrInterpolationDialog(tr("Define Address Interpolation"));
    3633    }
    3734
  • applications/editors/josm/plugins/addrinterpolation/src/org/openstreetmap/josm/plugins/AddrInterpolation/AddrInterpolationDialog.java

    r28014 r29854  
    5959import org.openstreetmap.josm.tools.UrlLabel;
    6060
    61 /**
    62  *
    63  */
    64 
    65 
    66 
    67 
    68 
    6961public class AddrInterpolationDialog extends JDialog implements ActionListener  {
    7062
  • applications/editors/josm/plugins/alignways/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="alignways" default="dist" basedir=".">
    313    <!-- enter the SVN commit message -->
    324    <property name="commit.message" value="AlignWays: moved to Shift-Spacebar due to shortcut confilcts with core. A is too overloaded"/>
    33     <!--
    34         enter the *lowest* JOSM version this plugin is currently compatible
    35         with
    36     -->
    37     <property name="plugin.main.version" value="6082"/>
     5    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
     6    <property name="plugin.main.version" value="6162"/>
    387    <!--
    398        ************************************************ ** should not be
  • applications/editors/josm/plugins/alignways/src/com/tilusnet/josm/plugins/alignways/AlignWaysCmdKeepAngles.java

    r27619 r29854  
    77
    88import java.util.ArrayList;
    9 import java.util.Collection;
    109import java.util.Map;
    1110
     
    251250        return AlignableStatus.ALGN_VALID;
    252251    }
    253 
    254 
    255 
    256 
    257     private boolean isReferredByNOtherWaySegments(Node node, int numWSeg) {
    258 
    259         Collection<WaySegment> coll_ws = algnSeg.getAdjacentWaySegments(node);
    260         if (coll_ws != null)
    261             return coll_ws.size() >= numWSeg;
    262             else
    263                 return false;
    264     }
    265 
    266252}
  • applications/editors/josm/plugins/alignways/src/com/tilusnet/josm/plugins/alignways/AlignWaysCmdKeepLength.java

    r27810 r29854  
    1313import javax.swing.Icon;
    1414import javax.swing.JOptionPane;
    15 import javax.swing.SwingConstants;
    1615
    1716import org.openstreetmap.josm.Main;
  • applications/editors/josm/plugins/alignways/src/com/tilusnet/josm/plugins/alignways/AlignWaysDialog.java

    r28624 r29854  
    66import static org.openstreetmap.josm.tools.I18n.tr;
    77
    8 import java.awt.BorderLayout;
    98import java.awt.Dimension;
    109import java.awt.FlowLayout;
     
    1716import javax.swing.BoxLayout;
    1817import javax.swing.ButtonGroup;
    19 import javax.swing.JCheckBoxMenuItem;
    2018import javax.swing.JLabel;
    2119import javax.swing.JPanel;
  • applications/editors/josm/plugins/alignways/src/com/tilusnet/josm/plugins/alignways/AlignWaysWhatsNewPanel.java

    r28420 r29854  
    3636     * always regenerated by the Form Editor.
    3737     */
    38     @SuppressWarnings("unchecked")
    3938    // <editor-fold defaultstate="collapsed" desc="Generated Code">
    4039    private void initComponents() {
  • applications/editors/josm/plugins/buildings_tools/.settings/org.eclipse.jdt.core.prefs

    r24243 r29854  
    1 #Mon Nov 15 17:53:13 MSK 2010
    21eclipse.preferences.version=1
     2org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
     3org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
     4org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
     5org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
     6org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
     7org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
     8org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
     9org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
     10org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
     11org.eclipse.jdt.core.compiler.problem.deadCode=warning
     12org.eclipse.jdt.core.compiler.problem.deprecation=warning
     13org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
     14org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
     15org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
     16org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
     17org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
     18org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
     19org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
     20org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
     21org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
     22org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
     23org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
     24org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
     25org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
     26org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
     27org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
     28org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
     29org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
     30org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
     31org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
     32org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
     33org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
     34org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
     35org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
     36org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
     37org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
     38org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
     39org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
     40org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
     41org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
     42org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
     43org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
     44org.eclipse.jdt.core.compiler.problem.nullReference=warning
     45org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
     46org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
     47org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
     48org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
     49org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
     50org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
     51org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
     52org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
     53org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
     54org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
     55org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
     56org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
     57org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
     58org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
     59org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
     60org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
     61org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
     62org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
     63org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
     64org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
     65org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
     66org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
     67org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
     68org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
     69org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
     70org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
     71org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
     72org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
     73org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
     74org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
     75org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
     76org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
     77org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
     78org.eclipse.jdt.core.compiler.problem.unusedImport=warning
     79org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
     80org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
     81org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
     82org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
     83org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
     84org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
     85org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
     86org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
     87org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
     88org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
     89org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
    390org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
    491org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
  • applications/editors/josm/plugins/buildings_tools/build.xml

    r29771 r29854  
    44    <property name="commit.message" value="BuildingTools: update to current JOSM"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="6082"/>
     6    <property name="plugin.main.version" value="6162"/>
    77   
    88    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/cadastre-fr/build.xml

    r29784 r29854  
    44    <property name="commit.message" value="Changed constructor for Plugin"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="6088"/>
     6    <property name="plugin.main.version" value="6162"/>
    77   
    88    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadSVGBuilding.java

    r28961 r29854  
    183183        // flip the image (svg using a reversed Y coordinate system)
    184184        double pivot = viewBox.min.getY() + (viewBox.max.getY() - viewBox.min.getY()) / 2;
    185         for (EastNorth en : eastNorth) {
    186             en.setLocation(en.east(), 2 * pivot - en.north());
     185        for (int i = 0; i < eastNorth.size(); i++) {
     186            EastNorth en = eastNorth.get(i);
     187            eastNorth.set(i, new EastNorth(en.east(), 2 * pivot - en.north()));
    187188        }
    188189        return;
     
    254255                svg += line;
    255256            }
     257            br.close();
    256258            bos.close();
    257259        } catch (IOException e) {
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadSVGTask.java

    r28961 r29854  
    155155        // flip the image (svg using a reversed Y coordinate system)
    156156        double pivot = viewBox.min.getY() + (viewBox.max.getY() - viewBox.min.getY()) / 2;
    157         for (EastNorth en : eastNorth) {
    158             en.setLocation(en.east(), 2 * pivot - en.north());
     157        for (int i = 0; i < eastNorth.size(); i++) {
     158            EastNorth en = eastNorth.get(i);
     159            eastNorth.set(i, new EastNorth(en.east(), 2 * pivot - en.north()));
    159160        }
    160161        return Math.abs(minX - viewBox.min.getX())+Math.abs(maxX - viewBox.max.getX())
     
    208209                svg += line;
    209210            }
     211            br.close();
    210212            bos.close();
    211213        } catch (IOException e) {
  • applications/editors/josm/plugins/canvec_helper/build.xml

    r29811 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 ** Call "ant help" to get possible build targets.
    12 **
    13 -->
    142<project name="canvec_helper" default="dist" basedir=".">
    153    <!-- enter the SVN commit message -->
    164    <property name="commit.message" value="JOSM/Canvec_helper: update to new menu structure"/>
    175    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    18     <property name="plugin.main.version" value="6097"/>
     6    <property name="plugin.main.version" value="6162"/>
    197   
    208    <!-- Configure these properties (replace "..." accordingly).
     
    2210    -->
    2311    <property name="plugin.author" value="Michael Bishop"/>
    24     <property name="plugin.class" value="org.openstreetmap.josm.plugins.canvec_helper.canvec_helper"/>
     12    <property name="plugin.class" value="org.openstreetmap.josm.plugins.canvec_helper.CanvecHelper"/>
    2513    <property name="plugin.description" value="Overlays the canvec tile grid on the map and prints URL''s to the .zip files. Future goals: allow auto-downloading and loading of canvec .osm files"/>
    2614
  • applications/editors/josm/plugins/canvec_helper/src/org/openstreetmap/josm/plugins/canvec_helper/CanVecTile.java

    r27950 r29854  
    2323
    2424public class CanVecTile {
    25         canvec_layer layer;
     25        CanvecLayer layer;
    2626        public boolean can_download = false;
    2727        private ArrayList<String> sub_tile_ids = new ArrayList<String>();
     
    3939        private Bounds bounds;
    4040        public String tileid;
    41         public CanVecTile(String tileid,canvec_layer layer) {
     41        public CanVecTile(String tileid,CanvecLayer layer) {
    4242                String parta,partb,partc,partd;
    4343                parta = tileid.substring(0,3);
     
    5050                real_init(a,partb,c,partd,layer,new ArrayList<String>());
    5151        }
    52         public CanVecTile(int a,String b,int c,String d,canvec_layer layer,ArrayList<String> index) {
     52        public CanVecTile(int a,String b,int c,String d,CanvecLayer layer,ArrayList<String> index) {
    5353                real_init(a,b,c,d,layer,index);
    5454        }
    55         public void real_init(int a,String b,int c,String d,canvec_layer layer, ArrayList<String> index) {
     55        public void real_init(int a,String b,int c,String d,CanvecLayer layer, ArrayList<String> index) {
    5656                this.index = index;
    5757                this.layer = layer;
  • applications/editors/josm/plugins/canvec_helper/src/org/openstreetmap/josm/plugins/canvec_helper/CanvecHelper.java

    r29853 r29854  
    66import org.openstreetmap.josm.Main;
    77
    8 public class canvec_helper extends Plugin {
    9         public canvec_helper(PluginInformation info) {
     8public class CanvecHelper extends Plugin {
     9   
     10        public CanvecHelper(PluginInformation info) {
    1011                super(info);
    11                 System.out.println("in constructor");
    1212                Main.main.menu.imagerySubMenu.add(new CanvecHelperAction(this));
    1313        }
    14         @Override
     14       
     15    @Override
    1516        public void mapFrameInitialized(MapFrame old, MapFrame new1) {
    1617                updateLayer();
    1718        }
     19   
    1820        private synchronized void updateLayer() {
    1921        }
    20         private canvec_layer layer;
    2122}
  • applications/editors/josm/plugins/canvec_helper/src/org/openstreetmap/josm/plugins/canvec_helper/CanvecHelperAction.java

    r29805 r29854  
    55
    66public class CanvecHelperAction extends JosmAction {
    7         private canvec_helper parent_temp;
    8         public CanvecHelperAction(canvec_helper parent) {
     7        private CanvecHelper parent_temp;
     8        public CanvecHelperAction(CanvecHelper parent) {
    99                super("CanVec Helper","layericon24",null,null,false);
    1010                parent_temp = parent;
     
    1212        @Override
    1313        public void actionPerformed(java.awt.event.ActionEvent action) {
    14                 canvec_layer layer;
    15                 layer = new canvec_layer("canvec tile helper",parent_temp);
     14                CanvecLayer layer;
     15                layer = new CanvecLayer("canvec tile helper",parent_temp);
    1616                Main.main.addLayer(layer);
    1717        }
  • applications/editors/josm/plugins/canvec_helper/src/org/openstreetmap/josm/plugins/canvec_helper/CanvecLayer.java

    r29853 r29854  
    3131
    3232// most of the layout was copied from the openstreetbugs plugin to get things started
    33 public class canvec_layer extends Layer implements MouseListener {
     33public class CanvecLayer extends Layer implements MouseListener {
    3434        private Icon layerIcon = null;
    3535        private int max_zoom = 4;
    36         public canvec_helper plugin_self;
     36        public CanvecHelper plugin_self;
    3737        private ArrayList<CanVecTile> tiles = new ArrayList<CanVecTile>();
    3838        public ArrayList<CanVecTile> downloadable = new ArrayList<CanVecTile>();
    3939        public ArrayList<CanVecTile> openable = new ArrayList<CanVecTile>();
    4040
    41         public canvec_layer(String name,canvec_helper self){
     41        public CanvecLayer(String name,CanvecHelper self){
    4242                super(name);
    4343                plugin_self = self;
     
    7171                                } else System.out.print("bad line '" + line + "'\n");
    7272                        }
     73                        br.close();
    7374                        CanVecTile tile = new CanVecTile(last_cell,"",0,"",this,list);
    7475                        if (tile.isValid()) tiles.add(tile);
     
    9293        }
    9394        public class MaxZoomAction extends AbstractAction implements LayerAction {
    94                 private canvec_layer parent;
    95                 public MaxZoomAction(canvec_layer parent) {
     95                private CanvecLayer parent;
     96                public MaxZoomAction(CanvecLayer parent) {
    9697                        this.parent = parent;
    9798                }
     
    124125        }
    125126        private class OpenOsmAction extends AbstractAction implements LayerAction {
    126                 private canvec_layer layer;
    127                 public OpenOsmAction(canvec_layer layer) {
     127                private CanvecLayer layer;
     128                public OpenOsmAction(CanvecLayer layer) {
    128129                        this.layer = layer;
    129130                }
     
    155156        }
    156157        private class DownloadCanvecAction extends AbstractAction implements LayerAction {
    157                 private canvec_layer parent;
    158                 public DownloadCanvecAction(canvec_layer parent) {
     158                private CanvecLayer parent;
     159                public DownloadCanvecAction(CanvecLayer parent) {
    159160                        this.parent = parent;
    160161                }
     
    207208                        tile.paint(g,mv,bounds,max_zoom);
    208209                }
    209                 long end = System.currentTimeMillis();
     210                //long end = System.currentTimeMillis();
    210211                //System.out.println((end-start)+"ms spent");
    211212        }
  • applications/editors/josm/plugins/canvec_helper/src/org/openstreetmap/josm/plugins/canvec_helper/SetMaxZoom.java

    r29805 r29854  
    55
    66class SetMaxZoom extends AbstractAction {
    7         private canvec_layer parent;
     7        private CanvecLayer parent;
    88        private int level;
    9         public SetMaxZoom(canvec_layer parent,int level) {
     9        public SetMaxZoom(CanvecLayer parent,int level) {
    1010                super(""+level);
    1111                this.level = level;
  • applications/editors/josm/plugins/colorscheme/build.xml

    r29435 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 ** Call "ant help" to get possible build targets.
    12 **
    13 -->
    142<project name="colorscheme" default="dist" basedir=".">
    153
     
    175    <property name="commit.message" value="Uses new constructor for Plugin"/>
    186    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    19     <property name="plugin.main.version" value="5631"/>
     7    <property name="plugin.main.version" value="6162"/>
    208
    219    <property name="plugin.author" value="Christof Dallermassl"/>
  • applications/editors/josm/plugins/colorscheme/src/at/dallermassl/josm/plugin/colorscheme/ColorSchemePreference.java

    r29351 r29854  
    2828
    2929import org.openstreetmap.josm.Main;
    30 import org.openstreetmap.josm.gui.preferences.display.ColorPreference;
    31 import org.openstreetmap.josm.gui.preferences.PreferenceDialog;
    3230import org.openstreetmap.josm.gui.preferences.PreferenceSetting;
    3331import org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane;
    3432import org.openstreetmap.josm.gui.preferences.SubPreferenceSetting;
    3533import org.openstreetmap.josm.gui.preferences.TabPreferenceSetting;
     34import org.openstreetmap.josm.gui.preferences.display.ColorPreference;
    3635import org.openstreetmap.josm.tools.GBC;
    3736
  • applications/editors/josm/plugins/czechaddress/build.xml

    r29784 r29854  
    66    <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    77    <property name="plugin.manifest" value="${plugin.build.dir}/org/openstreetmap/josm/plugins/czechaddress/MANIFEST.MF"/>
    8     <property name="ant.build.javac.target" value="1.5"/>
     8    <property name="ant.build.javac.target" value="1.6"/>
    99    <target name="clean" description="Removes all build files and the plugins's jar">
    1010        <delete dir="${plugin.build.dir}"/>
     
    3333            <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/CS:JOSM/Plugins/CzechAddress"/>
    3434            <attribute name="Plugin-Icon" value="images/preferences/czech_flag.png"/>
    35             <attribute name="Plugin-Mainversion" value="6088"/>
     35            <attribute name="Plugin-Mainversion" value="6162"/>
    3636            <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    3737        </manifest>
  • applications/editors/josm/plugins/czechaddress/nbproject/project.xml

    r18892 r29854  
    8787                <built-to>build</built-to>
    8888                <javadoc-built-to>doc</javadoc-built-to>
    89                 <source-level>1.5</source-level>
     89                <source-level>1.6</source-level>
    9090            </compilation-unit>
    9191            <compilation-unit>
    9292                <package-root>tests</package-root>
    9393                <unit-tests/>
    94                 <source-level>1.5</source-level>
     94                <source-level>1.6</source-level>
    9595            </compilation-unit>
    9696        </java-data>
  • applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/ConflictResolver.java

    r29727 r29854  
    7878     * always regenerated by the Form Editor.
    7979     */
    80     @SuppressWarnings("unchecked")
    8180    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    8281    private void initComponents() {
     
    411410            }
    412411        }
    413 
     412/*
    414413        public void clear() {
    415414            logger.log(Level.FINE, "conflicts: clearing");
     
    425424                listener.contentsChanged(evt);
    426425        }
    427 
     426*/
    428427        public void setSelectedItem(Object anItem) {
    429428
  • applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/FactoryDialog.java

    r29727 r29854  
    257257     * always regenerated by the Form Editor.
    258258     */
    259     @SuppressWarnings("unchecked")
    260259    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    261260    private void initComponents() {
  • applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/LocationSelector.java

    r29727 r29854  
    195195     * always regenerated by the Form Editor.
    196196     */
    197     @SuppressWarnings("unchecked")
    198197    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    199198    private void initComponents() {
  • applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/ManagerDialog.java

    r29727 r29854  
    195195     * always regenerated by the Form Editor.
    196196     */
    197     @SuppressWarnings("unchecked")
    198197    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    199198    private void initComponents() {
     
    226225            }
    227226        ) {
    228             Class[] types = new Class [] {
     227            Class<?>[] types = new Class [] {
    229228                java.lang.Object.class, java.lang.String.class
    230229            };
     
    233232            };
    234233
    235             public Class getColumnClass(int columnIndex) {
     234            public Class<?> getColumnClass(int columnIndex) {
    236235                return types [columnIndex];
    237236            }
  • applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/databaseeditors/HouseEditor.java

    r29727 r29854  
    5353     * always regenerated by the Form Editor.
    5454     */
    55     @SuppressWarnings("unchecked")
    5655    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    5756    private void initComponents() {
  • applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/databaseeditors/StreetEditor.java

    r29727 r29854  
    6161     * always regenerated by the Form Editor.
    6262     */
    63     @SuppressWarnings("unchecked")
    6463    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    6564    private void initComponents() {
  • applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/databaseeditors/SuburbEditor.java

    r29727 r29854  
    7070     * always regenerated by the Form Editor.
    7171     */
    72     @SuppressWarnings("unchecked")
    7372    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    7473    private void initComponents() {
  • applications/editors/josm/plugins/dataimport/build.xml

    r29435 r29854  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <!--
    3 ** This is the build file for the dataimport 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 -->
    292<project name="dataimport" default="dist" basedir=".">
    303    <!-- enter the SVN commit message -->
    314    <property name="commit.message" value="Changed constructor signature, updated build.xml"/>
    325    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    33     <property name="plugin.main.version" value="5681"/>
     6    <property name="plugin.main.version" value="6162"/>
    347    <!--
    358      ************************************************
     
    4114    <!-- this is the directory where the plugin jar is copied to -->
    4215    <property name="plugin.dist.dir" value="../../dist"/>
    43     <property name="ant.build.javac.target" value="1.5"/>
     16    <property name="ant.build.javac.target" value="1.6"/>
    4417    <property name="plugin.dist.dir" value="../../dist"/>
    4518    <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
  • applications/editors/josm/plugins/download_along/build.xml

    r29778 r29854  
    44    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="6082"/>
     6    <property name="plugin.main.version" value="6162"/>
    77
    88        <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/editgpx/build.xml

    r29596 r29854  
    44    <property name="commit.message" value="Changed constructor signature of plugin main class"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="5960"/>
     6    <property name="plugin.main.version" value="6162"/>
    77   
    88    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/epci-fr/build.xml

    r29435 r29854  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <!--
    3 ** This is a template build file for the epci-fr 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="epci-fr" default="dist" basedir=".">
    313    <!-- enter the SVN commit message -->
    324    <property name="commit.message" value="Commit message"/>
    335    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4394"/>
     6    <property name="plugin.main.version" value="6162"/>
    357       
    368    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/ext_tools/.settings/org.eclipse.jdt.core.prefs

    r22236 r29854  
    1 #Thu Jul 08 07:13:21 CEST 2010
    21eclipse.preferences.version=1
     2org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
     3org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
     4org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
     5org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
     6org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
     7org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
    38org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
    49org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
     
    813org.eclipse.jdt.core.compiler.debug.localVariable=generate
    914org.eclipse.jdt.core.compiler.debug.sourceFile=generate
     15org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
    1016org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
     17org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
     18org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
     19org.eclipse.jdt.core.compiler.problem.deadCode=warning
     20org.eclipse.jdt.core.compiler.problem.deprecation=warning
     21org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
     22org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
     23org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
     24org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
    1125org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
     26org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
     27org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
     28org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
     29org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
     30org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
     31org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
     32org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
     33org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
     34org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
     35org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
     36org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
     37org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
     38org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
     39org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
     40org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
     41org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
     42org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
     43org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
     44org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
     45org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
     46org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
     47org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
     48org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
     49org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
     50org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
     51org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
     52org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
     53org.eclipse.jdt.core.compiler.problem.nullReference=warning
     54org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
     55org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
     56org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
     57org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
     58org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
     59org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
     60org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
     61org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
     62org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
     63org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
     64org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
     65org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
     66org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
     67org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
     68org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
     69org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
     70org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
     71org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
     72org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
     73org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
     74org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
     75org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
     76org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
     77org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
     78org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
     79org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
     80org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
     81org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
     82org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
     83org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
     84org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
     85org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
     86org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
     87org.eclipse.jdt.core.compiler.problem.unusedImport=warning
     88org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
     89org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
     90org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
     91org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
     92org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
     93org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
     94org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
     95org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
     96org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
     97org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
     98org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
    1299org.eclipse.jdt.core.compiler.source=1.6
  • applications/editors/josm/plugins/ext_tools/build.xml

    r29435 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="ext_tools" default="dist" basedir=".">
    313    <!-- enter the SVN commit message -->
    324    <property name="commit.message" value="ExtTools: help shortcut paser, rebuild"/>
    335    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="5035"/>
     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.dist.dir" value="../../dist"/>
    4618    <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
  • applications/editors/josm/plugins/geochat/build.xml

    r29588 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 ** Call "ant help" to get possible build targets.
    12 **
    13 -->
    142<project name="geochat" default="dist" basedir=".">
    153
     
    175    <property name="commit.message" value="[josm_geochat] copypaste from keyboard, font size advanced parameters"/>
    186    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    19     <property name="plugin.main.version" value="4666"/>
     7    <property name="plugin.main.version" value="6162"/>
    208
    219    <property name="plugin.author" value="Ilya Zverev"/>
  • applications/editors/josm/plugins/geochat/src/geochat/ChatMessage.java

    r29584 r29854  
    1010 * @author zverik
    1111 */
    12 public class ChatMessage implements Comparable {
     12public class ChatMessage implements Comparable<ChatMessage> {
    1313    private LatLon pos;
    1414    private Date time;
     
    9696    }
    9797
    98     public int compareTo(Object o) {
    99         long otherId = ((ChatMessage)o).id;
     98    public int compareTo(ChatMessage o) {
     99        long otherId = o.id;
    100100        return otherId < id ? 1 : otherId == id ? 0 : 1;
    101101    }
  • applications/editors/josm/plugins/geochat/src/geochat/ChatServerConnection.java

    r29851 r29854  
    11// License: WTFPL
    22package geochat;
     3
     4import static org.openstreetmap.josm.tools.I18n.tr;
    35
    46import java.io.IOException;
    57import java.io.UnsupportedEncodingException;
    68import java.net.URLEncoder;
    7 import java.util.*;
    8 import java.util.logging.*;
     9import java.util.ArrayList;
     10import java.util.Date;
     11import java.util.HashMap;
     12import java.util.HashSet;
     13import java.util.List;
     14import java.util.Map;
     15import java.util.Set;
     16
    917import org.json.JSONArray;
    1018import org.json.JSONException;
     
    1523import org.openstreetmap.josm.data.projection.Projection;
    1624import org.openstreetmap.josm.gui.MapView;
    17 import static org.openstreetmap.josm.tools.I18n.tr;
    1825
    1926/**
  • applications/editors/josm/plugins/globalsat/build.xml

    r29435 r29854  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <!--
    3 ** This is the build file for the globalsat  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="globalsat" default="dist" basedir=".">
    313    <!-- enter the SVN commit message -->
    324    <property name="commit.message" value="Changed constructor signature of plugin main class"/>
    335    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="5681"/>
     6    <property name="plugin.main.version" value="6162"/>
    357    <!--
    368      ************************************************
     
    4113    <property name="plugin.build.dir" value="build"/>
    4214    <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    43     <property name="ant.build.javac.target" value="1.5"/>
     15    <property name="ant.build.javac.target" value="1.6"/>
    4416    <property name="RXTX" location="./libs/RXTXcomm.jar"/>
    4517    <target name="init">
  • applications/editors/josm/plugins/globalsat/src/org/kaintoch/gps/globalsat/dg100/Dg100Config.java

    r13497 r29854  
    55package org.kaintoch.gps.globalsat.dg100;
    66
    7 import java.io.*;
     7import java.io.FileInputStream;
     8import java.io.FileOutputStream;
     9import java.io.InputStream;
     10import java.io.OutputStream;
    811import java.nio.ByteBuffer;
    912import java.util.Properties;
  • applications/editors/josm/plugins/globalsat/src/org/kaintoch/gps/globalsat/dg100/GpsRec.java

    r20039 r29854  
    55package org.kaintoch.gps.globalsat.dg100;
    66
    7 import java.nio.*;
    8 import java.text.*;
    9 import java.util.*;
     7import java.nio.ByteBuffer;
     8import java.text.SimpleDateFormat;
     9import java.util.Calendar;
     10import java.util.GregorianCalendar;
    1011
    1112/**
  • applications/editors/josm/plugins/globalsat/src/org/kaintoch/gps/globalsat/dg100/Response.java

    r13497 r29854  
    5656        {
    5757            int recType = 2;
    58             int ii = 0;
    5958            // read part 1
    6059            while (buf.position() <= len)
     
    7069                }
    7170                recType = gpsRec.getDg100TypeOfNextRec();
    72                 ++ii;
    7371            }
    7472            // read part 2
     
    8684                }
    8785                recType = gpsRec.getDg100TypeOfNextRec();
    88                 ++ii;
    8986            }
    9087        }
  • applications/editors/josm/plugins/globalsat/src/org/openstreetmap/josm/plugins/globalsat/GlobalsatConfigDialog.java

    r13497 r29854  
    55
    66import static org.openstreetmap.josm.tools.I18n.tr;
    7 
     7import gnu.io.CommPortIdentifier;
     8
     9import java.awt.Dimension;
     10import java.awt.GridBagConstraints;
    811import java.awt.GridBagLayout;
    912import java.awt.Insets;
    10 import java.awt.Dimension;
    11 import java.awt.GridBagConstraints;
    1213import java.awt.event.ActionListener;
    1314import java.awt.event.KeyEvent;
    14 import java.util.ArrayList;
     15import java.util.LinkedList;
    1516import java.util.List;
    16 import java.util.LinkedList;
    17 import java.util.Enumeration;
    18 
     17
     18import javax.swing.BoxLayout;
    1919import javax.swing.ButtonGroup;
    2020import javax.swing.JCheckBox;
    21 import javax.swing.JTextField;
     21import javax.swing.JComboBox;
    2222import javax.swing.JLabel;
    23 import javax.swing.JList;
    2423import javax.swing.JOptionPane;
    2524import javax.swing.JPanel;
    2625import javax.swing.JRadioButton;
    27 import javax.swing.JButton;
    28 import javax.swing.JTabbedPane;
    29 import javax.swing.JComboBox;
    30 import javax.swing.ListCellRenderer;
    31 import javax.swing.BoxLayout;
    32 
    33 
    34 import gnu.io.*;
     26import javax.swing.JTextField;
    3527
    3628import org.kaintoch.gps.globalsat.dg100.Dg100Config;
    37 
    3829import org.openstreetmap.josm.Main;
    39 import org.openstreetmap.josm.actions.DownloadAction;
    40 import org.openstreetmap.josm.actions.downloadtasks.DownloadGpsTask;
    41 import org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask;
    42 import org.openstreetmap.josm.gui.MapView;
    43 import org.openstreetmap.josm.plugins.PluginProxy;
    44 import org.openstreetmap.josm.tools.GBC;
    45 import org.openstreetmap.josm.data.gpx.GpxData;
    46 import org.openstreetmap.josm.data.gpx.GpxTrack;
    47 import org.openstreetmap.josm.data.gpx.WayPoint;
    4830
    4931
  • applications/editors/josm/plugins/globalsat/src/org/openstreetmap/josm/plugins/globalsat/GlobalsatImportDialog.java

    r13497 r29854  
    33
    44import static org.openstreetmap.josm.tools.I18n.tr;
     5import gnu.io.CommPortIdentifier;
    56
     7import java.awt.GridBagConstraints;
    68import java.awt.GridBagLayout;
    79import java.awt.Insets;
    8 import java.awt.GridBagConstraints;
    910import java.awt.event.ActionListener;
    10 import java.util.ArrayList;
     11import java.util.Enumeration;
     12import java.util.LinkedList;
    1113import java.util.List;
    12 import java.util.LinkedList;
    13 import java.util.Enumeration;
    1414
     15import javax.swing.JButton;
    1516import javax.swing.JCheckBox;
     17import javax.swing.JComboBox;
     18import javax.swing.JDialog;
    1619import javax.swing.JLabel;
    1720import javax.swing.JList;
    1821import javax.swing.JOptionPane;
    1922import javax.swing.JPanel;
    20 import javax.swing.JButton;
    21 import javax.swing.JTabbedPane;
    22 import javax.swing.JComboBox;
    2323import javax.swing.ListCellRenderer;
    24 import javax.swing.JDialog;
    25 
    26 import gnu.io.*;
    2724
    2825import org.openstreetmap.josm.Main;
    29 import org.openstreetmap.josm.actions.DownloadAction;
    30 import org.openstreetmap.josm.actions.downloadtasks.DownloadGpsTask;
    31 import org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask;
    32 import org.openstreetmap.josm.gui.MapView;
    33 import org.openstreetmap.josm.plugins.PluginProxy;
    34 import org.openstreetmap.josm.tools.GBC;
    35 import org.openstreetmap.josm.data.gpx.GpxData;
    36 import org.openstreetmap.josm.data.gpx.GpxTrack;
    37 import org.openstreetmap.josm.data.gpx.WayPoint;
    3826
    3927/**
  • applications/editors/josm/plugins/gpxfilter/build.xml

    r29778 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="gpxfilter" default="dist" basedir=".">
    313    <!-- enter the SVN commit message -->
    324    <property name="commit.message" value="GPXFilter: moved to Alt-Shift-X"/>
    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    <property name="plugin.author" value="Upliner"/>
  • applications/editors/josm/plugins/graphview/.settings/org.eclipse.jdt.core.prefs

    r29853 r29854  
    11eclipse.preferences.version=1
     2org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
     3org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
     4org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
     5org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
     6org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
     7org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
    28org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
    39org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
    410org.eclipse.jdt.core.compiler.compliance=1.6
     11org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
    512org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
     13org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
     14org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
     15org.eclipse.jdt.core.compiler.problem.deadCode=warning
     16org.eclipse.jdt.core.compiler.problem.deprecation=warning
     17org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
     18org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
     19org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
     20org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
    621org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
     22org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
     23org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
     24org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
     25org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
     26org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
     27org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
     28org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
     29org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
     30org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
     31org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
     32org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
     33org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
     34org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
     35org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
     36org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
     37org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
     38org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
     39org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
     40org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
     41org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
     42org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
     43org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
     44org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
     45org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
     46org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
     47org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
     48org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
     49org.eclipse.jdt.core.compiler.problem.nullReference=warning
     50org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
     51org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
     52org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
     53org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
     54org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
     55org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
     56org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
     57org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
     58org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
     59org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
     60org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
     61org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
     62org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
     63org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
     64org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
     65org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
     66org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
     67org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
     68org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
     69org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
     70org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
     71org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
     72org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
     73org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
     74org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
     75org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
     76org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
     77org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
     78org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
     79org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
     80org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
     81org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
     82org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
     83org.eclipse.jdt.core.compiler.problem.unusedImport=warning
     84org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
     85org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
     86org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
     87org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
     88org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
     89org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
     90org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
     91org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
     92org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
     93org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
     94org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
    795org.eclipse.jdt.core.compiler.source=1.6
  • applications/editors/josm/plugins/graphview/build.xml

    r29435 r29854  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <!--
    3 ** This is the build file for the graphview 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 your default plugin directory) run
    16 **
    17 **    > ant  install
    18 **
    19 ** To build against the core in ../../core, create a correct manifest and deploy to
    20 ** SVN,
    21 **    set the properties commit.message and plugin.main.version
    22 ** and run
    23 **    > ant  publish
    24 **
    25 **
    26 -->
    272<project name="graphview" default="dist" basedir=".">
    283    <property name="commit.message" value="option to change graph colors; closes ticket 5523 in JOSM Trac"/>
    29     <property name="plugin.main.version" value="4968"/>
     4    <property name="plugin.main.version" value="6162"/>
    305    <property name="josm" location="../../core/dist/josm-custom.jar"/>
    316    <property name="plugin.build.dir" value="build"/>
     
    338    <!-- this is the directory where the plugin jar is copied to -->
    349    <property name="plugin.dist.dir" value="../../dist"/>
    35     <property name="ant.build.javac.target" value="1.5"/>
     10    <property name="ant.build.javac.target" value="1.6"/>
    3611    <property name="plugin.dist.dir" value="../../dist"/>
    3712    <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
  • applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/core/graph/GraphEdge.java

    r23189 r29854  
    22
    33import java.util.Collection;
    4 import java.util.List;
    54
    65import org.openstreetmap.josm.plugins.graphview.core.property.GraphEdgePropertyType;
    7 import org.openstreetmap.josm.plugins.graphview.core.transition.Segment;
    86
    97/**
  • applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/core/graph/TSBasedWayGraph.java

    r23189 r29854  
    8989        }
    9090        public <V> V getPropertyValue(GraphEdgePropertyType<V> property) {
     91            @SuppressWarnings("unchecked")
    9192            V result = (V) properties.get(property);
    9293            return result;
     
    429430
    430431        if (!objectSetMap.containsKey(object)) {
    431             @SuppressWarnings("unchecked") //no set with generic parameter can be created directly
    432             Set<T> set = new HashSet();
     432            Set<T> set = new HashSet<T>();
    433433            set.add(object);
    434434            objectSetMap.put(object, set);
    435435        }
    436 
    437436    }
    438437
  • applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/core/transition/GenericTransitionStructure.java

    r23189 r29854  
    6666        }
    6767
    68         public <P> void setProperty(RoadPropertyType<P> property, P value) {
     68        /*public <P> void setProperty(RoadPropertyType<P> property, P value) {
    6969            properties.put(property, value);
    70         }
     70        }*/
    7171        public Collection<RoadPropertyType<?>> getAvailableProperties() {
    7272            return properties.keySet();
     
    102102            return node2;
    103103        }
    104         public <P> void setProperty(RoadPropertyType<P> property, P value) {
     104        /*public <P> void setProperty(RoadPropertyType<P> property, P value) {
    105105            properties.put(property, value);
    106         }
     106        }*/
    107107        public Collection<RoadPropertyType<?>> getAvailableProperties() {
    108108            return properties.keySet();
  • applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/plugin/dialogs/AccessParameterDialog.java

    r26174 r29854  
    11package org.openstreetmap.josm.plugins.graphview.plugin.dialogs;
    2 
    3 import static org.openstreetmap.josm.tools.I18n.tr;
    42
    53import static org.openstreetmap.josm.plugins.graphview.core.property.VehiclePropertyTypes.MAX_INCLINE_DOWN;
     
    75import static org.openstreetmap.josm.plugins.graphview.core.property.VehiclePropertyTypes.MAX_TRACKTYPE;
    86import static org.openstreetmap.josm.plugins.graphview.core.property.VehiclePropertyTypes.SURFACE_BLACKLIST;
     7import static org.openstreetmap.josm.tools.I18n.tr;
    98
    109import java.awt.Frame;
  • applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/plugin/dialogs/GraphViewDialog.java

    r27359 r29854  
    33import static org.openstreetmap.josm.tools.I18n.tr;
    44
    5 import java.awt.BorderLayout;
    65import java.awt.Color;
    76import java.awt.GridBagConstraints;
     
    2827import javax.swing.JPanel;
    2928
     29import org.openstreetmap.josm.gui.SideButton;
    3030import org.openstreetmap.josm.gui.dialogs.ToggleDialog;
    31 import org.openstreetmap.josm.gui.SideButton;
    3231import org.openstreetmap.josm.plugins.graphview.core.access.AccessRulesetReader;
    3332import org.openstreetmap.josm.plugins.graphview.core.visualisation.ColorScheme;
  • applications/editors/josm/plugins/imagery-xml-bounds/build.xml

    r29710 r29854  
    44    <property name="commit.message" value="Commit message"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="6031"/>
     6    <property name="plugin.main.version" value="6162"/>
    77       
    88    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/imageryadjust/build.xml

    r29608 r29854  
    22<project name="imageryadjust" default="dist" basedir=".">
    33    <property name="commit.message" value="ImageryAdjust: Adjust while holding shortcut key"/>
    4     <property name="plugin.main.version" value="5960"/>
     4    <property name="plugin.main.version" value="6162"/>
    55
    66    <property name="plugin.author" value="Upliner"/>
  • applications/editors/josm/plugins/imagewaypoint/build.xml

    r29799 r29854  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <!--
    3 ** This is the build file for the ImageWayPoint 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="ImageWayPoint" default="dist" basedir=".">
    313    <!-- enter the SVN commit message -->
    324    <property name="commit.message" value="[josm/ImageWayPoint] move opening to File/Open"/>
    335    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4980"/>
     6    <property name="plugin.main.version" value="6162"/>
    357   
    368    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/imagewaypoint/src/org/insignificant/josm/plugins/imagewaypoint/ImageWayPointDialog.java

    r27852 r29854  
    1818import org.openstreetmap.josm.actions.JosmAction;
    1919import org.openstreetmap.josm.gui.dialogs.ToggleDialog;
    20 import org.openstreetmap.josm.tools.I18n;
    2120import org.openstreetmap.josm.tools.Shortcut;
    2221
  • applications/editors/josm/plugins/importvec/build.xml

    r29794 r29854  
    44    <property name="commit.message" value="Remove the action, add importing SVG to File/Open"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="5554"/>
     6    <property name="plugin.main.version" value="6162"/>
    77
    88    <property name="plugin.author" value="Upliner"/>
  • applications/editors/josm/plugins/importvec/src/org/openstreetmap/josm/plugins/importvec/ImportVecPlugin.java

    r29794 r29854  
    11package org.openstreetmap.josm.plugins.importvec;
    22
    3 import org.openstreetmap.josm.Main;
    43import org.openstreetmap.josm.actions.ExtensionFileFilter;
    54import org.openstreetmap.josm.plugins.Plugin;
  • applications/editors/josm/plugins/importvec/src/org/openstreetmap/josm/plugins/importvec/SvgImporter.java

    r29796 r29854  
    11package org.openstreetmap.josm.plugins.importvec;
     2
     3import static org.openstreetmap.josm.tools.I18n.tr;
    24
    35import java.io.File;
    46import java.io.IOException;
    5 import java.util.Arrays;
    67import java.util.List;
     8
    79import javax.swing.JOptionPane;
     10
    811import org.openstreetmap.josm.Main;
    912import org.openstreetmap.josm.actions.ExtensionFileFilter;
    10 import org.openstreetmap.josm.data.osm.DataSet;
    11 import org.openstreetmap.josm.gui.layer.OsmDataLayer;
    1213import org.openstreetmap.josm.gui.progress.ProgressMonitor;
    1314import org.openstreetmap.josm.io.FileImporter;
    1415import org.openstreetmap.josm.io.IllegalDataException;
    15 
    16 import static org.openstreetmap.josm.tools.I18n.tr;
    1716
    1817/**
  • applications/editors/josm/plugins/infomode/build.xml

    r29435 r29854  
    3939    <!-- this is the directory where the plugin jar is copied to -->
    4040    <property name="plugin.dist.dir" value="../../dist"/>
    41     <property name="ant.build.javac.target" value="1.5"/>
     41    <property name="ant.build.javac.target" value="1.6"/>
    4242    <property name="plugin.dist.dir" value="../../dist"/>
    4343    <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
  • applications/editors/josm/plugins/irsrectify/build.xml

    r29435 r29854  
    4242    <!-- this is the directory where the plugin jar is copied to -->
    4343    <property name="plugin.dist.dir" value="../../dist"/>
    44     <property name="ant.build.javac.target" value="1.5"/>
     44    <property name="ant.build.javac.target" value="1.6"/>
    4545    <property name="plugin.dist.dir" value="../../dist"/>
    4646    <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
  • applications/editors/josm/plugins/jts/.settings/org.eclipse.jdt.core.prefs

    r29319 r29854  
    11eclipse.preferences.version=1
     2org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
     3org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
     4org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
     5org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
     6org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
     7org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
    28org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
    39org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
     
    713org.eclipse.jdt.core.compiler.debug.localVariable=generate
    814org.eclipse.jdt.core.compiler.debug.sourceFile=generate
     15org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
    916org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
     17org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
     18org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
     19org.eclipse.jdt.core.compiler.problem.deadCode=warning
     20org.eclipse.jdt.core.compiler.problem.deprecation=warning
     21org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
     22org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
     23org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
     24org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
    1025org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
     26org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
     27org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
     28org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
     29org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
     30org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
     31org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
     32org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
     33org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
     34org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
     35org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
     36org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
     37org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
     38org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
     39org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
     40org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
     41org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
     42org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
     43org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
     44org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
     45org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
     46org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
     47org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
     48org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
     49org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
     50org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
     51org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
     52org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
     53org.eclipse.jdt.core.compiler.problem.nullReference=warning
     54org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
     55org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
     56org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
     57org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
     58org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
     59org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
     60org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
     61org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
     62org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
     63org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
     64org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
     65org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
     66org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
     67org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
     68org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
     69org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
     70org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
     71org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
     72org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
     73org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
     74org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
     75org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
     76org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
     77org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
     78org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
     79org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
     80org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
     81org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
     82org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
     83org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
     84org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
     85org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
     86org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
     87org.eclipse.jdt.core.compiler.problem.unusedImport=warning
     88org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
     89org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
     90org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
     91org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
     92org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
     93org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
     94org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
     95org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
     96org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
     97org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
     98org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
    1199org.eclipse.jdt.core.compiler.source=1.6
  • applications/editors/josm/plugins/jts/build.xml

    r29613 r29854  
    44    <property name="commit.message" value="Commit message"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="4394"/>
     6    <property name="plugin.main.version" value="6162"/>
    77   
    88    <property name="plugin.author" value="Josh Doe &lt;josh@joshdoe.com&gt;"/>
  • applications/editors/josm/plugins/junctionchecking/.settings/org.eclipse.jdt.core.prefs

    r29853 r29854  
    11eclipse.preferences.version=1
     2org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
     3org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
     4org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
     5org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
     6org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
     7org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
    28org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
    39org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
     
    713org.eclipse.jdt.core.compiler.debug.localVariable=generate
    814org.eclipse.jdt.core.compiler.debug.sourceFile=generate
     15org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
    916org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
     17org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
     18org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
     19org.eclipse.jdt.core.compiler.problem.deadCode=warning
     20org.eclipse.jdt.core.compiler.problem.deprecation=warning
     21org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
     22org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
     23org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
     24org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
    1025org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
     26org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
     27org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
     28org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
     29org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
     30org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
     31org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
     32org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
     33org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
     34org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
     35org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
     36org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
     37org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
     38org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
     39org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
     40org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
     41org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
     42org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
     43org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
     44org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
     45org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
     46org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
     47org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
     48org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
     49org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
     50org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
     51org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
     52org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
     53org.eclipse.jdt.core.compiler.problem.nullReference=warning
     54org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
     55org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
     56org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
     57org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
     58org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
     59org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
     60org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
     61org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
     62org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
     63org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
     64org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
     65org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
     66org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
     67org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
     68org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
     69org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
     70org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
     71org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
     72org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
     73org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
     74org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
     75org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
     76org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
     77org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
     78org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
     79org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
     80org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
     81org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
     82org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
     83org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
     84org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
     85org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
     86org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
     87org.eclipse.jdt.core.compiler.problem.unusedImport=warning
     88org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
     89org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
     90org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
     91org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
     92org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
     93org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
     94org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
     95org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
     96org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
     97org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
     98org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
    1199org.eclipse.jdt.core.compiler.source=1.6
  • applications/editors/josm/plugins/junctionchecking/build.xml

    r29596 r29854  
    33    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    44    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    5     <property name="plugin.main.version" value="5960"/>
     5    <property name="plugin.main.version" value="6162"/>
    66   
    77    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/connectedness/DiGraphSealer.java

    r25501 r29854  
    11package org.openstreetmap.josm.plugins.JunctionChecker.connectedness;
    22
    3 import java.util.ArrayList;
    43import java.util.Vector;
     4
    55import org.openstreetmap.josm.plugins.JunctionChecker.datastructure.Channel;
    66import org.openstreetmap.josm.plugins.JunctionChecker.datastructure.ChannelDiGraph;
     
    4545                        }
    4646                }
    47                 int counter = 0;
    4847                Channel tempChannel;
    4948                LeadsTo tempLeadsTo;
     
    7372                                newID++;
    7473                                digraph.addChannel(tempChannel);
    75                                 counter++;
    7674                        }
    7775                }
     
    103101                                newID++;
    104102                                digraph.addChannel(tempChannel);
    105                                 counter++;
    106103                        }
    107104                }
     
    125122         */
    126123        private void deleteDuplicateChannels() {
    127                 ArrayList<Integer> pointer = new ArrayList<Integer>();
    128124
    129125                for (int i = 0; i < digraph.getChannels().size(); i++) {
     
    136132                                }
    137133                        }
    138 
    139134                }
    140135        }
  • applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/converting/PseudoChannelRemover.java

    r25501 r29854  
    1313
    1414        private final ChannelDiGraph digraph;
    15         private final ArrayList<Channel> pseudochannels = new ArrayList<Channel>();
    16         private int c = 0;
     15        //private final ArrayList<Channel> pseudochannels = new ArrayList<Channel>();
    1716        private Channel succChannel;
    18         private String s;
    1917        private Channel tempToChannel;
    2018        private LeadsTo tempLeadsTo;
     
    2725                succChannel = tempchannel.getLeadsTo().get(0).getToChannel();
    2826                tempchannel.setToNode(succChannel.getToNode());
    29                 s = "";
    3027                //log.trace("---Folgender Channel ist überflüssig: " + succChannel.getNewid() + "---");
    3128                //log.trace("... und wird durch diesen ersetzt: " + tempchannel.getNewid());
     
    5754                digraph.removeChannel(succChannel);
    5855                //pseudochannels.add(tempchannel.getSuccChannels().get(0));
    59                 c++;
    6056        }
    6157
  • applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/converting/TurnRestrictionChecker.java

    r25501 r29854  
    2020        private final ArrayList<OSMRelation> turnrestrictionsrelations = new ArrayList<OSMRelation>();
    2121        private final ChannelDiGraph channelDigraph;
    22         private final boolean isInturnrestriction;
    2322        private int relationpointer;
    2423        private LeadsTo tempLeadsTo;
     
    3534                }
    3635                this.channelDigraph = channelDigraph;
    37                 this.isInturnrestriction = false;
    3836        }
    3937
  • applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/datastructure/OSMRelation.java

    r25501 r29854  
    6464                }
    6565               
    66                 public Class getType() {
     66                public Class<? extends OSMEntity> getType() {
    6767                        return member.getClass();
    6868                }
  • applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/junctionchecking/BackPropagation.java

    r25501 r29854  
    1111public class BackPropagation {
    1212
    13         private Channel y;
    14         private Channel z;
    1513        private final ChannelDiGraph digraph;
    1614
     
    2523         */
    2624        public void backPropagation(Channel y, Channel z, Channel zstrich) {
    27                 this.y = y;
    28                 this.z = z;
    2925                for (int i = 0; i < z.getReachableNodes().size(); i++) {
    3026                        y.addReachableNode(z.getReachableNodeAt(i));
  • applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/junctionchecking/JMinimality.java

    r25501 r29854  
    3030        private long EEovern = 0;
    3131        private final HashSet<Channel> subgraph = new HashSet<Channel>();//The candidate subgraph to be tested
    32         private double durchlauf = 1;
    3332        private ProgressMonitor pm;
    3433        private final boolean pmenabled;
    35         private final ArrayList<Integer> anzahlchannels = new ArrayList<Integer>();
    3634        private final ArrayList<HashSet<Channel>> junctions = new ArrayList<HashSet<Channel>>();
    3735        private final boolean searchFirstJunction;
     
    8583
    8684                Combination c = new Combination(Grid.length, n);
    87                 EEovern = (int) c.Choose(Grid.length*Grid.length, n*n);
     85                EEovern = (int) Combination.Choose(Grid.length*Grid.length, n*n);
    8886                long ans = c.Choose(); //This is the number of subcolumns to be generated
    8987                int[][] v; // this is a column variable containing n y-index entries plus true false values (0/1)
     
    135133                ArrayList<int[]> CandidateK = new ArrayList<int[]>(n*n); //saves the candidate K_{n-1} in entry-exit pairs
    136134                long lindex= 0;
    137                 int countk = 0;
    138135                int h = 0;
    139136                int m = 0;
     
    188185                                        }
    189186                                        if (missing <=1 && smallerjunction == true){//The k-subgrid is a different junction candidate satisfying total reachability
    190                                                 countk++;
    191187                                                CheckMinimal = CheckSmallJunction(CandidateK)==false;// If the candidate is a smaller junction, then minimality is false
    192                                                 durchlauf++;
    193188                                                //log.info("durchlauf: " + durchlauf + " Wert von CheckMinimal: " + CheckMinimal);
    194189                                                if (!CheckMinimal) {
  • applications/editors/josm/plugins/lakewalker/.settings/org.eclipse.jdt.core.prefs

    r29723 r29854  
    11eclipse.preferences.version=1
     2org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
     3org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
     4org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
     5org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
     6org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
     7org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
    28org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
    39org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
    410org.eclipse.jdt.core.compiler.compliance=1.6
     11org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
    512org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
     13org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
     14org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
     15org.eclipse.jdt.core.compiler.problem.deadCode=warning
     16org.eclipse.jdt.core.compiler.problem.deprecation=warning
     17org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
     18org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
     19org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
     20org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
    621org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
     22org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
     23org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
     24org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
     25org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
     26org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
     27org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
     28org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
     29org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
     30org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
     31org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
     32org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
     33org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
     34org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
     35org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
     36org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
     37org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
     38org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
     39org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
     40org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
     41org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
     42org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
     43org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
     44org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
     45org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
     46org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
     47org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
     48org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
     49org.eclipse.jdt.core.compiler.problem.nullReference=warning
     50org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
     51org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
     52org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
     53org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
     54org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
     55org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
     56org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
     57org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
     58org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
     59org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
     60org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
     61org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
     62org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
     63org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
     64org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
     65org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
     66org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
     67org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
     68org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
     69org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
     70org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
     71org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
     72org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
     73org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
     74org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
     75org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
     76org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
     77org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
     78org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
     79org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
     80org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
     81org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
     82org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
     83org.eclipse.jdt.core.compiler.problem.unusedImport=warning
     84org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
     85org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
     86org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
     87org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
     88org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
     89org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
     90org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
     91org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
     92org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
     93org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
     94org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
    795org.eclipse.jdt.core.compiler.source=1.6
  • applications/editors/josm/plugins/lakewalker/build.xml

    r29771 r29854  
    55    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="6082"/>
     7    <property name="plugin.main.version" value="6162"/>
    88
    99    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/lakewalker/src/org/openstreetmap/josm/plugins/lakewalker/LakewalkerPreferences.java

    r27863 r29854  
    8888        sourceConfig.setToolTipText(tr("Data source text. Default is Landsat."));
    8989
    90         String description = tr("A plugin to trace water bodies on Landsat imagery.");
     90        /*String description =*/ tr("A plugin to trace water bodies on Landsat imagery.");
    9191        JPanel prefPanel = gui.createPreferenceTab(this);
    9292        buildPreferences(prefPanel);
  • applications/editors/josm/plugins/livegps/build.xml

    r29771 r29854  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <!--
    3 ** This is the build file for the livegps 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 your default plugin directory) run
    16 **
    17 **    > ant  install
    18 **
    19 ** To build against the core in ../../core, create a correct manifest and deploy to
    20 ** SVN,
    21 **    set the properties commit.message and plugin.main.version
    22 ** and run
    23 **    > ant  publish
    24 **
    25 **
    26 -->
    272<project name="livegps" default="dist" basedir=".">
    283    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    29     <property name="plugin.main.version" value="6082"/>
     4    <property name="plugin.main.version" value="6162"/>
    305    <!--
    316      ************************************************
     
    3611    <property name="plugin.build.dir" value="build"/>
    3712    <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    38     <property name="ant.build.javac.target" value="1.5"/>
     13    <property name="ant.build.javac.target" value="1.6"/>
    3914    <target name="init">
    4015        <mkdir dir="${plugin.build.dir}"/>
  • applications/editors/josm/plugins/livegps/src/livegps/LiveGpsPlugin.java

    r29778 r29854  
    11package livegps;
    22
    3 import static org.openstreetmap.josm.gui.help.HelpUtil.ht;
    4 import static org.openstreetmap.josm.tools.I18n.marktr;
    53import static org.openstreetmap.josm.tools.I18n.tr;
    64
     
    1311import javax.swing.JCheckBoxMenuItem;
    1412import javax.swing.JMenu;
    15 import javax.swing.JMenuItem;
    1613
    1714import org.openstreetmap.josm.Main;
  • applications/editors/josm/plugins/mapdust/build.xml

    r29435 r29854  
    33    <!-- properties -->
    44    <property name="commit.message" value="MapDust bug reporter plugin"/>
    5     <property name="plugin.main.version" value="4980"/>
     5    <property name="plugin.main.version" value="6162"/>
    66
    77    <property name="apidoc.dir" value="doc"/>
  • applications/editors/josm/plugins/measurement/build.xml

    r29750 r29854  
    44    <property name="commit.message" value="recompile dure to core change"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="6056"/>
     6    <property name="plugin.main.version" value="6162"/>
    77   
    88    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/merge-overlap/.settings/org.eclipse.jdt.core.prefs

    r29645 r29854  
    11eclipse.preferences.version=1
     2org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
     3org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
     4org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
     5org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
     6org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
     7org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
    28org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
    39org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
     
    713org.eclipse.jdt.core.compiler.debug.localVariable=generate
    814org.eclipse.jdt.core.compiler.debug.sourceFile=generate
     15org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
    916org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
     17org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
     18org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
     19org.eclipse.jdt.core.compiler.problem.deadCode=warning
     20org.eclipse.jdt.core.compiler.problem.deprecation=warning
     21org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
     22org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
     23org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
     24org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
    1025org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
     26org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
     27org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
     28org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
     29org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
     30org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
     31org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
     32org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
     33org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
     34org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
     35org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
     36org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
     37org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
     38org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
     39org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
     40org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
     41org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
     42org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
     43org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
     44org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
     45org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
     46org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
     47org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
     48org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
     49org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
     50org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
     51org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
     52org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
     53org.eclipse.jdt.core.compiler.problem.nullReference=warning
     54org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
     55org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
     56org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
     57org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
     58org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
     59org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
     60org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
     61org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
     62org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
     63org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
     64org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
     65org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
     66org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
     67org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
     68org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
     69org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
     70org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
     71org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
     72org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
     73org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
     74org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
     75org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
     76org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
     77org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
     78org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
     79org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
     80org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
     81org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
     82org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
     83org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
     84org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
     85org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
     86org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
     87org.eclipse.jdt.core.compiler.problem.unusedImport=warning
     88org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
     89org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
     90org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
     91org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
     92org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
     93org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
     94org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
     95org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
     96org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
     97org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
     98org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
    1199org.eclipse.jdt.core.compiler.source=1.6
  • applications/editors/josm/plugins/merge-overlap/build.xml

    r29778 r29854  
    44    <property name="commit.message" value="MergeOverlap: help shortcut parser, rebuild"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="6082"/>
     6    <property name="plugin.main.version" value="6162"/>
    77   
    88    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/merge-overlap/src/mergeoverlap/MergeOverlapAction.java

    r29778 r29854  
    695695                }
    696696        }
    697 
     697/*
    698698        private Way getOld(Way r) {
    699699                return getOld(r, oldWays);
    700         }
     700        }*/
    701701
    702702        public static Way getOld(Way w, Map<Way, Way> oldWays) {
  • applications/editors/josm/plugins/merge-overlap/src/mergeoverlap/MyCombinePrimitiveResolverDialog.java

    r29778 r29854  
    173173    protected void updateTitle() {
    174174        if (targetPrimitive == null) {
    175             setTitle(tr("Conflicts when combining primitives", null));
     175            setTitle(tr("Conflicts when combining primitives"));
    176176            return;
    177177        }
  • applications/editors/josm/plugins/michigan_left/build.xml

    r29778 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="michigan_left" default="dist" basedir=".">
    313    <!-- enter the SVN commit message -->
    324    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    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    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/mirrored_download/.settings/org.eclipse.jdt.core.prefs

    r29505 r29854  
    11eclipse.preferences.version=1
     2org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
     3org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
     4org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
     5org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
     6org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
     7org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
    28org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
    39org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
    410org.eclipse.jdt.core.compiler.compliance=1.6
     11org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
    512org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
     13org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
     14org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
     15org.eclipse.jdt.core.compiler.problem.deadCode=warning
     16org.eclipse.jdt.core.compiler.problem.deprecation=warning
     17org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
     18org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
     19org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
     20org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
    621org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
     22org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
     23org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
     24org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
     25org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
     26org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
     27org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
     28org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
     29org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
     30org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
     31org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
     32org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
     33org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
     34org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
     35org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
     36org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
     37org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
     38org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
     39org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
     40org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
     41org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
     42org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
     43org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
     44org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
     45org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
     46org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
     47org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
     48org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
     49org.eclipse.jdt.core.compiler.problem.nullReference=warning
     50org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
     51org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
     52org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
     53org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
     54org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
     55org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
     56org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
     57org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
     58org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
     59org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
     60org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
     61org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
     62org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
     63org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
     64org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
     65org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
     66org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
     67org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
     68org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
     69org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
     70org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
     71org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
     72org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
     73org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
     74org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
     75org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
     76org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
     77org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
     78org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
     79org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
     80org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
     81org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
     82org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
     83org.eclipse.jdt.core.compiler.problem.unusedImport=warning
     84org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
     85org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
     86org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
     87org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
     88org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
     89org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
     90org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
     91org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
     92org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
     93org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
     94org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
    795org.eclipse.jdt.core.compiler.source=1.6
  • applications/editors/josm/plugins/mirrored_download/build.xml

    r29505 r29854  
    55    <property name="commit.message" value=""/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="5874"/>
     7    <property name="plugin.main.version" value="6162"/>
    88
    99    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/mirrored_download/src/mirrored_download/OverpassDownloadAction.java

    r29821 r29854  
    88import java.awt.GridBagConstraints;
    99import java.awt.event.ActionEvent;
    10 import java.awt.event.KeyEvent;
    1110import java.io.UnsupportedEncodingException;
    1211import java.net.URLEncoder;
    13 import java.util.LinkedList;
    1412import java.util.concurrent.Future;
    15 import java.util.regex.Pattern;
    1613
    17 import javax.swing.JComboBox;
    18 import javax.swing.JFrame;
    1914import javax.swing.JLabel;
    2015import javax.swing.JPanel;
    2116import javax.swing.JScrollPane;
    2217import javax.swing.JTextArea;
    23 import javax.swing.text.JTextComponent;
    2418
    2519import org.openstreetmap.josm.Main;
     
    3226import org.openstreetmap.josm.gui.download.DownloadDialog;
    3327import org.openstreetmap.josm.gui.progress.ProgressMonitor;
    34 import org.openstreetmap.josm.gui.widgets.AbstractTextComponentValidator;
    3528import org.openstreetmap.josm.io.BoundingBoxDownloader;
    3629import org.openstreetmap.josm.io.OsmTransferException;
    3730import org.openstreetmap.josm.tools.GBC;
    38 import org.openstreetmap.josm.tools.Shortcut;
    3931
    4032public class OverpassDownloadAction extends JosmAction {
  • applications/editors/josm/plugins/namemanager/build.xml

    r29778 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="namemanager" default="dist" basedir=".">
    313    <!-- enter the SVN commit message -->
    324    <property name="commit.message" value="..."/>
    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    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/nearclick/build.xml

    r29435 r29854  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <!--
    3 ** This is the build file for the nearclick 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="nearclick" default="dist" basedir=".">
    313    <!-- enter the SVN commit message -->
    324    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    335    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4394"/>
     6    <property name="plugin.main.version" value="6162"/>
    357    <property name="josm" location="../../core/dist/josm-custom.jar"/>
    368    <property name="plugin.dist.dir" value="../../dist"/>
    379    <property name="plugin.build.dir" value="build"/>
    3810    <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    39     <property name="ant.build.javac.target" value="1.5"/>
     11    <property name="ant.build.javac.target" value="1.6"/>
    4012    <target name="init">
    4113        <mkdir dir="${plugin.build.dir}"/>
  • applications/editors/josm/plugins/opendata/build.xml

    r29771 r29854  
    11<?xml version="1.0" encoding="utf-8"?>
    22<project name="opendata" default="dist" basedir=".">
    3     <property name="plugin.main.version" value="6082"/>
     3    <property name="plugin.main.version" value="6162"/>
    44    <property name="plugin.author" value="Don-vip"/>
    55    <property name="plugin.class" value="org.openstreetmap.josm.plugins.opendata.OdPlugin"/>
  • applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/OdPlugin.java

    r29771 r29854  
    1616package org.openstreetmap.josm.plugins.opendata;
    1717
    18 import static org.openstreetmap.josm.gui.help.HelpUtil.ht;
    19 import static org.openstreetmap.josm.tools.I18n.marktr;
    20 
    2118import java.awt.Image;
    2219import java.awt.Toolkit;
    23 import java.awt.event.KeyEvent;
    2420import java.io.File;
    2521import java.net.URL;
  • applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/NeptuneReader.java

    r28361 r29854  
    171171                return n;
    172172        }
    173        
     173        /*
    174174        private Node createStopPosition(StopPointType stop) {
    175175                Node n = createNode(createLatLon(stop));
     
    179179                return n;
    180180        }
    181 
     181*/
    182182        protected Relation createRelation(String type){
    183183                Relation r = new Relation();
  • applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/tabular/SpreadSheetReader.java

    r29665 r29854  
    213213                        if (i == c.xCol) {
    214214                            coordinate = true;
    215                             en.setLocation(parseDouble(fields[i]), en.north());
     215                            ens.put(c, new EastNorth(parseDouble(fields[i]), en.north()));
    216216                            if (handler != null) {
    217217                                handler.setXCol(i);
     
    219219                        } else if (i == c.yCol) {
    220220                            coordinate = true;
    221                             en.setLocation(en.east(), parseDouble(fields[i]));
     221                            ens.put(c, new EastNorth(en.east(), parseDouble(fields[i])));
    222222                            if (handler != null) {
    223223                                handler.setYCol(i);
  • applications/editors/josm/plugins/openstreetbugs/build.xml

    r29435 r29854  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <!--
    3 ** This is the build file for the openstreetbugs 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 your default plugin directory) run
    16 **
    17 **    > ant  install
    18 **
    19 ** To build against the core in ../../core, create a correct manifest and deploy to
    20 ** SVN,
    21 **    set the properties commit.message and plugin.main.version
    22 ** and run
    23 **    > ant  publish
    24 **
    25 **
    26 -->
    272<project name="openstreetbugs" default="dist" basedir=".">
    283    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    29     <property name="plugin.main.version" value="4980"/>
     4    <property name="plugin.main.version" value="6162"/>
    305    <property name="josm" location="../../core/dist/josm-custom.jar"/>
    316    <property name="plugin.dist.dir" value="../../dist"/>
    327    <property name="plugin.build.dir" value="build"/>
    338    <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    34     <property name="ant.build.javac.target" value="1.5"/>
     9    <property name="ant.build.javac.target" value="1.6"/>
    3510    <target name="init">
    3611        <mkdir dir="${plugin.build.dir}"/>
  • applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbDownloadLoop.java

    r23191 r29854  
    3030import static org.openstreetmap.josm.tools.I18n.tr;
    3131
    32 import java.awt.geom.Point2D;
    3332import java.util.concurrent.TimeUnit;
    3433
    3534import org.openstreetmap.josm.Main;
     35import org.openstreetmap.josm.data.coor.EastNorth;
    3636
    3737public class OsbDownloadLoop extends Thread {
     
    4747    private OsbPlugin plugin;
    4848
    49     private Point2D lastCenter;
     49    private EastNorth lastCenter;
    5050
    5151    public OsbDownloadLoop() {
     
    7070                // zoomed the map
    7171                if(Main.map != null && Main.map.mapView != null) {
    72                     Point2D currentCenter = Main.map.mapView.getCenter();
     72                    EastNorth currentCenter = Main.map.mapView.getCenter();
    7373                    if(currentCenter != null && !currentCenter.equals(lastCenter)) {
    7474                        resetCountdown();
  • applications/editors/josm/plugins/openvisible/build.xml

    r29778 r29854  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <!--
    3 ** This is the build file for the openvisible 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="openvisible" default="dist" basedir=".">
    313    <!-- enter the SVN commit message -->
    324    <property name="commit.message" value="Changed the constructor signature of the plugin main class; updated build.xml"/>
    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      ************************************************
     
    4113    <property name="plugin.build.dir" value="build"/>
    4214    <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    43     <property name="ant.build.javac.target" value="1.5"/>
     15    <property name="ant.build.javac.target" value="1.6"/>
    4416    <target name="init">
    4517        <mkdir dir="${plugin.build.dir}"/>
  • applications/editors/josm/plugins/osmarender/.externalToolBuilders/copy_styles.launch

    r21422 r29854  
    1212<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
    1313<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
    14 <stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="osmarender"/>
    15 <stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/osmarender/build.xml}"/>
     14<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="JOSM"/>
     15<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/JOSM-osmarender/build.xml}"/>
    1616<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
    1717<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="-Dplugin.build.dir=bin"/>
  • applications/editors/josm/plugins/osmarender/build.xml

    r29435 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 ** Call "ant help" to get possible build targets.
    12 **
    13 -->
    142<project name="osmarender" default="install" basedir=".">
    153
     
    175    <property name="commit.message" value="Fixed #4360 - osmarender plugin does not load"/>
    186    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    19     <property name="plugin.main.version" value="5631"/>
     7    <property name="plugin.main.version" value="6162"/>
    208
    219    <property name="stylesheets" location="./stylesheets"/>
  • applications/editors/josm/plugins/osmarender/src/org/openstreetmap/josm/plugins/osmarender/OsmarenderPlugin.java

    r29639 r29854  
    220220
    221221        writer.close();
     222        reader.close();
    222223    }
    223224}
  • applications/editors/josm/plugins/pbf/build.xml

    r29708 r29854  
    55    <property name="commit.message" value="Commit message"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="6031"/>
     7    <property name="plugin.main.version" value="6162"/>
    88
    99    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/pdfimport/.settings/org.eclipse.jdt.core.prefs

    r29646 r29854  
    1 #Sun Mar 18 16:52:20 CET 2012
    21eclipse.preferences.version=1
     2org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
     3org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
     4org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
     5org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
     6org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
     7org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
    38org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
    49org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
     
    813org.eclipse.jdt.core.compiler.debug.localVariable=generate
    914org.eclipse.jdt.core.compiler.debug.sourceFile=generate
     15org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
    1016org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
     17org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
     18org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
     19org.eclipse.jdt.core.compiler.problem.deadCode=warning
     20org.eclipse.jdt.core.compiler.problem.deprecation=warning
     21org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
     22org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
     23org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
     24org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
    1125org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
     26org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
     27org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
     28org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
     29org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
     30org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
     31org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
     32org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
     33org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
     34org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
     35org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
     36org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
     37org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
     38org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
     39org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
     40org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
     41org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
     42org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
     43org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
     44org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
     45org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
     46org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
     47org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
     48org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
     49org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
     50org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
     51org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
     52org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
     53org.eclipse.jdt.core.compiler.problem.nullReference=warning
     54org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
     55org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
     56org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
     57org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
     58org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
     59org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
     60org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
     61org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
     62org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
     63org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
     64org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
     65org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
     66org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
     67org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
     68org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
     69org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
     70org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
     71org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
     72org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
     73org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
     74org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
     75org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
     76org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
     77org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
     78org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
     79org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
     80org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
     81org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
     82org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
     83org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
     84org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
     85org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
     86org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
     87org.eclipse.jdt.core.compiler.problem.unusedImport=warning
     88org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
     89org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
     90org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
     91org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
     92org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
     93org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
     94org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
     95org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
     96org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
     97org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
     98org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
    1299org.eclipse.jdt.core.compiler.source=1.6
  • applications/editors/josm/plugins/pdfimport/build.xml

    r29805 r29854  
    44    <property name="commit.message" value="Initial pdfimport version"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="6097"/>
     6    <property name="plugin.main.version" value="6162"/>
    77   
    88    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/pdfimport/src/pdfimport/FilePlacement.java

    r28448 r29854  
    200200        public LatLon tranformCoords(Point2D pt) {
    201201
    202                 if (this.projection == null){
     202                if (this.projection == null) {
    203203                        return new LatLon(pt.getY() / 1000, pt.getX() / 1000);
    204                 }
    205                 else{
    206                         this.transform.transform(pt, en);
     204                } else {
     205                    Point2D dest = new Point2D.Double();
     206                        this.transform.transform(pt, dest);
     207                        en = new EastNorth(dest.getX(), dest.getY());
    207208                        return this.projection.eastNorth2latlon(en);
    208209                }
     
    210211
    211212        public EastNorth reverseTransform(LatLon coor) {
    212                 if (this.projection == null){
    213 
     213                if (this.projection == null) {
    214214                        return new EastNorth(coor.lon() * 1000, coor.lat() * 1000);
    215                 }
    216                 else{
     215                } else {
    217216                        return null;
    218217                }
  • applications/editors/josm/plugins/pdfimport/src/pdfimport/PdfMultiPath.java

    r25349 r29854  
    11package pdfimport;
    22
    3 import java.util.ArrayList;
    43import java.util.List;
    54
  • applications/editors/josm/plugins/photo_geotagging/build.xml

    r29435 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 ** Call "ant help" to get possible build targets.
    12 **
    13 -->
    142<project name="photo_geotagging" default="dist" basedir=".">
    153
     
    175    <property name="commit.message" value="write elevation to EXIF (see josm #7710)"/>
    186    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    19     <property name="plugin.main.version" value="4762"/>
     7    <property name="plugin.main.version" value="6162"/>
    208
    219    <property name="plugin.author" value="Paul Hartmann"/>
  • applications/editors/josm/plugins/piclayer/build.xml

    r29807 r29854  
    33    <property name="commit.message" value="[josm/PicLayer] - disable menu items by default"/>
    44    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    5     <property name="plugin.main.version" value="6097"/>
     5    <property name="plugin.main.version" value="6162"/>
    66       
    77    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/plastic_laf/build.xml

    r29435 r29854  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <!--
    3 ** This is the build file for the plastic_laf 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="plastic_laf" default="dist" basedir=".">
    313    <!-- enter the SVN commit message -->
    324    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    335    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4394"/>
     6    <property name="plugin.main.version" value="6162"/>
    357    <property name="josm" location="../../core/dist/josm-custom.jar"/>
    368    <property name="plugin.dist.dir" value="../../dist"/>
    379    <property name="plugin.build.dir" value="build"/>
    3810    <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    39     <property name="ant.build.javac.target" value="1.5"/>
     11    <property name="ant.build.javac.target" value="1.6"/>
    4012    <property name="looks" value="lib/looks-2.2.1.jar"/>
    4113    <target name="init">
  • applications/editors/josm/plugins/poly/build.xml

    r29711 r29854  
    55    <property name="commit.message" value="Commit message"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="6031"/>
     7    <property name="plugin.main.version" value="6162"/>
    88
    99    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/poly/src/poly/PolyExporter.java

    r28755 r29854  
    66import java.io.IOException;
    77import java.io.OutputStreamWriter;
    8 import java.io.Writer;
    98import java.util.ArrayList;
    10 import java.util.Comparator;
    119import java.util.LinkedHashMap;
    1210import java.util.List;
     
    1412import java.util.Map;
    1513import java.util.TreeMap;
     14
    1615import org.openstreetmap.josm.data.osm.DataSet;
    1716import org.openstreetmap.josm.data.osm.Node;
  • applications/editors/josm/plugins/print/build.xml

    r29846 r29854  
    55    <property name="commit.message" value="Added a field to specify the map scale."/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="6154"/>
     7    <property name="plugin.main.version" value="6162"/>
    88
    99    <property name="plugin.author" value="Kai Pastor"/>
  • applications/editors/josm/plugins/proj4j/build.xml

    r29435 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="proj4j" default="dist" basedir=".">
    313    <!-- read build.properties for local settings -->
     
    368    <property name="commit.message" value="Commit message"/>
    379    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    38     <property name="plugin.main.version" value="5234"/>
     10    <property name="plugin.main.version" value="6162"/>
    3911    <!--
    4012      ************************************************
     
    4618    <!-- this is the directory where the plugin jar is copied to -->
    4719    <property name="plugin.dist.dir" value="../../dist"/>
    48     <property name="ant.build.javac.target" value="1.5"/>
     20    <property name="ant.build.javac.target" value="1.6"/>
    4921    <property name="plugin.dist.dir" value="../../dist"/>
    5022    <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
  • applications/editors/josm/plugins/public_transport/.settings/org.eclipse.jdt.core.prefs

    r29661 r29854  
    11eclipse.preferences.version=1
     2org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
     3org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
     4org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
     5org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
     6org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
     7org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
    28org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
    39org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
    410org.eclipse.jdt.core.compiler.compliance=1.6
     11org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
    512org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
     13org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
     14org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
     15org.eclipse.jdt.core.compiler.problem.deadCode=warning
     16org.eclipse.jdt.core.compiler.problem.deprecation=warning
     17org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
     18org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
     19org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
     20org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
    621org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
     22org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
     23org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
     24org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
     25org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
     26org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
     27org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
     28org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
     29org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
     30org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
     31org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
     32org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
     33org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
     34org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
     35org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
     36org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
     37org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
     38org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
     39org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
     40org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
     41org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
     42org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
     43org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
     44org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
     45org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
     46org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
     47org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
     48org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
     49org.eclipse.jdt.core.compiler.problem.nullReference=warning
     50org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
     51org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
     52org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
     53org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
     54org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
     55org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
     56org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
     57org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
     58org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
     59org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
     60org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
     61org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
     62org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
     63org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
     64org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
     65org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
     66org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
     67org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
     68org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
     69org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
     70org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
     71org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
     72org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
     73org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
     74org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
     75org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
     76org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
     77org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
     78org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
     79org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
     80org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
     81org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
     82org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
     83org.eclipse.jdt.core.compiler.problem.unusedImport=warning
     84org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
     85org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
     86org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
     87org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
     88org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
     89org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
     90org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
     91org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
     92org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
     93org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
     94org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
    795org.eclipse.jdt.core.compiler.source=1.6
  • applications/editors/josm/plugins/public_transport/build.xml

    r29784 r29854  
    55    <property name="commit.message" value="Commit message"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="6088"/>
     7    <property name="plugin.main.version" value="6162"/>
    88
    99    <property name="plugin.author" value="Roland M. Olbricht"/>
  • applications/editors/josm/plugins/public_transport/src/public_transport/GTFSAddCommand.java

    r27886 r29854  
    22
    33import static org.openstreetmap.josm.tools.I18n.tr;
     4
     5import java.util.Collection;
     6import java.util.Vector;
    47
    58import org.openstreetmap.josm.Main;
     
    710import org.openstreetmap.josm.data.osm.Node;
    811import org.openstreetmap.josm.data.osm.OsmPrimitive;
    9 
    10 import java.util.Collection;
    11 import java.util.Vector;
    1212
    1313public class GTFSAddCommand extends Command
  • applications/editors/josm/plugins/public_transport/src/public_transport/GTFSCatchCommand.java

    r27886 r29854  
    22
    33import static org.openstreetmap.josm.tools.I18n.tr;
     4
     5import java.util.Collection;
     6import java.util.Iterator;
     7import java.util.Vector;
    48
    59import org.openstreetmap.josm.Main;
     
    711import org.openstreetmap.josm.data.osm.Node;
    812import org.openstreetmap.josm.data.osm.OsmPrimitive;
    9 
    10 import java.util.Collection;
    11 import java.util.Iterator;
    12 import java.util.Vector;
    1313
    1414public class GTFSCatchCommand extends Command
  • applications/editors/josm/plugins/public_transport/src/public_transport/GTFSDeleteCommand.java

    r27886 r29854  
    22
    33import static org.openstreetmap.josm.tools.I18n.tr;
     4
     5import java.util.Collection;
     6import java.util.Vector;
    47
    58import org.openstreetmap.josm.Main;
     
    710import org.openstreetmap.josm.data.osm.Node;
    811import org.openstreetmap.josm.data.osm.OsmPrimitive;
    9 
    10 import java.util.Collection;
    11 import java.util.Vector;
    1212
    1313public class GTFSDeleteCommand extends Command
  • applications/editors/josm/plugins/public_transport/src/public_transport/GTFSImporterAction.java

    r29661 r29854  
    33import static org.openstreetmap.josm.tools.I18n.tr;
    44
    5 import java.awt.Container;
    6 import java.awt.Frame;
    7 import java.awt.GridBagConstraints;
    8 import java.awt.GridBagLayout;
    95import java.awt.event.ActionEvent;
    106import java.io.BufferedReader;
     
    128import java.io.FileNotFoundException;
    139import java.io.FileReader;
    14 import java.io.InputStream;
    1510import java.io.IOException;
    1611import java.text.DecimalFormat;
    1712import java.text.Format;
    18 import java.util.Collections;
    1913import java.util.Iterator;
    2014import java.util.Vector;
    21 import java.util.zip.GZIPInputStream;
    2215
    2316import javax.swing.AbstractAction;
    2417import javax.swing.Action;
    2518import javax.swing.DefaultListModel;
    26 import javax.swing.JButton;
    27 import javax.swing.JComboBox;
    28 import javax.swing.JDialog;
    2919import javax.swing.JFileChooser;
    30 import javax.swing.JLabel;
    31 import javax.swing.JList;
    3220import javax.swing.JOptionPane;
    33 import javax.swing.JPanel;
    34 import javax.swing.JScrollPane;
    35 import javax.swing.JTabbedPane;
    3621import javax.swing.JTable;
    37 import javax.swing.JTextField;
    38 import javax.swing.ListSelectionModel;
    39 import javax.swing.event.ListSelectionEvent;
    40 import javax.swing.event.ListSelectionListener;
    41 import javax.swing.event.TableModelEvent;
    42 import javax.swing.event.TableModelListener;
    43 import javax.swing.table.DefaultTableModel;
    4422
    4523import org.openstreetmap.josm.Main;
    4624import org.openstreetmap.josm.actions.JosmAction;
    47 import org.openstreetmap.josm.command.Command;
    48 import org.openstreetmap.josm.command.ChangeCommand;
    49 import org.openstreetmap.josm.command.DeleteCommand;
    5025import org.openstreetmap.josm.data.coor.LatLon;
    51 import org.openstreetmap.josm.data.gpx.GpxData;
    52 import org.openstreetmap.josm.data.gpx.GpxTrack;
    53 import org.openstreetmap.josm.data.gpx.GpxTrackSegment;
    54 import org.openstreetmap.josm.data.gpx.WayPoint;
    5526import org.openstreetmap.josm.data.osm.DataSet;
    5627import org.openstreetmap.josm.data.osm.Node;
    5728import org.openstreetmap.josm.data.osm.OsmPrimitive;
    5829import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor;
    59 import org.openstreetmap.josm.io.GpxReader;
    60 
    61 import org.xml.sax.SAXException;
    6230
    6331public class GTFSImporterAction extends JosmAction
  • applications/editors/josm/plugins/public_transport/src/public_transport/GTFSImporterDialog.java

    r26345 r29854  
    44import static org.openstreetmap.josm.tools.I18n.tr;
    55
    6 import java.awt.Container;
    76import java.awt.Frame;
    87import java.awt.GridBagConstraints;
    98import java.awt.GridBagLayout;
    10 import java.awt.event.ActionEvent;
    11 import java.io.File;
    12 import java.io.FileInputStream;
    13 import java.io.FileNotFoundException;
    14 import java.io.InputStream;
    15 import java.io.IOException;
    16 import java.text.DecimalFormat;
    17 import java.text.Format;
    18 import java.util.Collections;
    19 import java.util.Iterator;
    20 import java.util.Vector;
    21 import java.util.zip.GZIPInputStream;
    22 
    23 import javax.swing.DefaultCellEditor;
    24 import javax.swing.DefaultListModel;
     9
    2510import javax.swing.JButton;
    2611import javax.swing.JComboBox;
    2712import javax.swing.JComponent;
    2813import javax.swing.JDialog;
    29 import javax.swing.JFileChooser;
    3014import javax.swing.JLabel;
    3115import javax.swing.JList;
     
    3721import javax.swing.JTextField;
    3822import javax.swing.KeyStroke;
    39 import javax.swing.ListSelectionModel;
    40 import javax.swing.event.ListSelectionEvent;
    41 import javax.swing.event.ListSelectionListener;
    42 import javax.swing.event.TableModelEvent;
    43 import javax.swing.event.TableModelListener;
    44 import javax.swing.table.DefaultTableModel;
    4523
    4624import org.openstreetmap.josm.Main;
    47 import org.openstreetmap.josm.actions.JosmAction;
    48 import org.openstreetmap.josm.command.Command;
    49 import org.openstreetmap.josm.command.ChangeCommand;
    50 import org.openstreetmap.josm.command.DeleteCommand;
    51 import org.openstreetmap.josm.data.coor.LatLon;
    52 import org.openstreetmap.josm.data.gpx.GpxData;
    53 import org.openstreetmap.josm.data.gpx.GpxTrack;
    54 import org.openstreetmap.josm.data.gpx.GpxTrackSegment;
    55 import org.openstreetmap.josm.data.gpx.WayPoint;
    56 import org.openstreetmap.josm.data.osm.DataSet;
    57 import org.openstreetmap.josm.data.osm.Node;
    58 import org.openstreetmap.josm.data.osm.OsmPrimitive;
    59 import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor;
    60 import org.openstreetmap.josm.io.GpxReader;
    61 
    62 import org.xml.sax.SAXException;
    6325
    6426public class GTFSImporterDialog
  • applications/editors/josm/plugins/public_transport/src/public_transport/GTFSJoinCommand.java

    r27886 r29854  
    22
    33import static org.openstreetmap.josm.tools.I18n.tr;
     4
     5import java.util.Collection;
     6import java.util.Iterator;
     7import java.util.Vector;
    48
    59import org.openstreetmap.josm.Main;
     
    711import org.openstreetmap.josm.data.osm.Node;
    812import org.openstreetmap.josm.data.osm.OsmPrimitive;
    9 
    10 import java.util.Collection;
    11 import java.util.Iterator;
    12 import java.util.Vector;
    1313
    1414public class GTFSJoinCommand extends Command
  • applications/editors/josm/plugins/public_transport/src/public_transport/GTFSStopTableModel.java

    r26168 r29854  
    55import java.util.Iterator;
    66import java.util.Vector;
     7
    78import javax.swing.event.TableModelEvent;
    89import javax.swing.event.TableModelListener;
     
    1112import org.openstreetmap.josm.Main;
    1213import org.openstreetmap.josm.data.coor.LatLon;
    13 import org.openstreetmap.josm.data.gpx.WayPoint;
    1414import org.openstreetmap.josm.data.osm.DataSource;
    1515import org.openstreetmap.josm.data.osm.Node;
  • applications/editors/josm/plugins/public_transport/src/public_transport/PublicTransportAStar.java

    r28318 r29854  
    11package public_transport;
    22
    3 import java.util.Collection;
    43import java.util.Iterator;
    5 import java.util.Map;
    64import java.util.TreeMap;
    75import java.util.TreeSet;
    86import java.util.Vector;
    97
     8import org.openstreetmap.josm.Main;
    109import org.openstreetmap.josm.data.osm.Node;
    1110import org.openstreetmap.josm.data.osm.Way;
    12 import org.openstreetmap.josm.Main;
    1311
    1412public class PublicTransportAStar extends AStarAlgorithm
  • applications/editors/josm/plugins/public_transport/src/public_transport/PublicTransportPlugin.java

    r29784 r29854  
    99
    1010import org.openstreetmap.josm.Main;
    11 import org.openstreetmap.josm.actions.JosmAction;
    12 import org.openstreetmap.josm.data.ProjectionBounds;
    13 import org.openstreetmap.josm.gui.IconToggleButton;
    1411import org.openstreetmap.josm.gui.MainMenu;
    15 import org.openstreetmap.josm.gui.MapFrame;
    16 import org.openstreetmap.josm.gui.MapView;
    17 import org.openstreetmap.josm.gui.preferences.PreferenceSetting;
    18 import org.openstreetmap.josm.io.CacheFiles;
    19 import org.openstreetmap.josm.io.MirroredInputStream;
    2012import org.openstreetmap.josm.plugins.Plugin;
    2113import org.openstreetmap.josm.plugins.PluginInformation;
  • applications/editors/josm/plugins/public_transport/src/public_transport/RoutePatternAction.java

    r29661 r29854  
    11package public_transport;
    22
    3 import static org.openstreetmap.josm.tools.I18n.marktr;
    43import static org.openstreetmap.josm.tools.I18n.tr;
    54
    6 import java.awt.BorderLayout;
    75import java.awt.Container;
    86import java.awt.Dimension;
     
    5452import org.openstreetmap.josm.data.osm.Way;
    5553import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor;
    56 import org.openstreetmap.josm.gui.ExtendedDialog;
    57 import org.openstreetmap.josm.tools.GBC;
    58 import org.openstreetmap.josm.tools.Shortcut;
    5954
    6055public class RoutePatternAction extends JosmAction {
  • applications/editors/josm/plugins/public_transport/src/public_transport/SettingsStoptypeCommand.java

    r27886 r29854  
    33import static org.openstreetmap.josm.tools.I18n.tr;
    44
    5 import org.openstreetmap.josm.Main;
     5import java.util.Collection;
     6import java.util.Vector;
     7
     8import javax.swing.DefaultListModel;
     9
    610import org.openstreetmap.josm.command.Command;
    711import org.openstreetmap.josm.data.osm.Node;
    812import org.openstreetmap.josm.data.osm.OsmPrimitive;
    9 
    10 import java.util.Collection;
    11 import java.util.Vector;
    12 import javax.swing.DefaultListModel;
    1313
    1414public class SettingsStoptypeCommand extends Command
  • applications/editors/josm/plugins/public_transport/src/public_transport/StopImporterAction.java

    r29661 r29854  
    33import static org.openstreetmap.josm.tools.I18n.tr;
    44
    5 import java.awt.Container;
    6 import java.awt.Frame;
    7 import java.awt.GridBagConstraints;
    8 import java.awt.GridBagLayout;
    95import java.awt.event.ActionEvent;
    106import java.io.File;
    117import java.io.FileInputStream;
    128import java.io.FileNotFoundException;
     9import java.io.IOException;
    1310import java.io.InputStream;
    14 import java.io.IOException;
    1511import java.text.DecimalFormat;
    1612import java.text.Format;
     
    2319import javax.swing.Action;
    2420import javax.swing.DefaultListModel;
    25 import javax.swing.JButton;
    26 import javax.swing.JComboBox;
    27 import javax.swing.JDialog;
    2821import javax.swing.JFileChooser;
    29 import javax.swing.JLabel;
    30 import javax.swing.JList;
    3122import javax.swing.JOptionPane;
    32 import javax.swing.JPanel;
    33 import javax.swing.JScrollPane;
    34 import javax.swing.JTabbedPane;
    3523import javax.swing.JTable;
    36 import javax.swing.JTextField;
    37 import javax.swing.ListSelectionModel;
    38 import javax.swing.event.ListSelectionEvent;
    39 import javax.swing.event.ListSelectionListener;
    40 import javax.swing.event.TableModelEvent;
    41 import javax.swing.event.TableModelListener;
    42 import javax.swing.table.DefaultTableModel;
    4324
    4425import org.openstreetmap.josm.Main;
    4526import org.openstreetmap.josm.actions.JosmAction;
    46 import org.openstreetmap.josm.command.Command;
    47 import org.openstreetmap.josm.command.ChangeCommand;
    48 import org.openstreetmap.josm.command.DeleteCommand;
    4927import org.openstreetmap.josm.data.coor.LatLon;
    5028import org.openstreetmap.josm.data.gpx.GpxData;
    5129import org.openstreetmap.josm.data.gpx.GpxTrack;
    52 import org.openstreetmap.josm.data.gpx.GpxTrackSegment;
    5330import org.openstreetmap.josm.data.gpx.WayPoint;
    5431import org.openstreetmap.josm.data.osm.DataSet;
     
    5734import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor;
    5835import org.openstreetmap.josm.io.GpxReader;
    59 
    6036import org.xml.sax.SAXException;
    6137
  • applications/editors/josm/plugins/public_transport/src/public_transport/StopImporterDialog.java

    r26345 r29854  
    44import static org.openstreetmap.josm.tools.I18n.tr;
    55
    6 import java.awt.Container;
    76import java.awt.Frame;
    87import java.awt.GridBagConstraints;
    98import java.awt.GridBagLayout;
    10 import java.awt.event.ActionEvent;
    11 import java.io.File;
    12 import java.io.FileInputStream;
    13 import java.io.FileNotFoundException;
    14 import java.io.InputStream;
    15 import java.io.IOException;
    16 import java.text.DecimalFormat;
    17 import java.text.Format;
    18 import java.util.Collections;
    19 import java.util.Iterator;
    20 import java.util.Vector;
    21 import java.util.zip.GZIPInputStream;
    229
    2310import javax.swing.DefaultCellEditor;
     
    2714import javax.swing.JComponent;
    2815import javax.swing.JDialog;
    29 import javax.swing.JFileChooser;
    3016import javax.swing.JLabel;
    3117import javax.swing.JList;
     
    4026import javax.swing.event.ListSelectionEvent;
    4127import javax.swing.event.ListSelectionListener;
    42 import javax.swing.event.TableModelEvent;
    43 import javax.swing.event.TableModelListener;
    44 import javax.swing.table.DefaultTableModel;
    4528
    4629import org.openstreetmap.josm.Main;
    47 import org.openstreetmap.josm.actions.JosmAction;
    48 import org.openstreetmap.josm.command.Command;
    49 import org.openstreetmap.josm.command.ChangeCommand;
    50 import org.openstreetmap.josm.command.DeleteCommand;
    51 import org.openstreetmap.josm.data.coor.LatLon;
    52 import org.openstreetmap.josm.data.gpx.GpxData;
    53 import org.openstreetmap.josm.data.gpx.GpxTrack;
    54 import org.openstreetmap.josm.data.gpx.GpxTrackSegment;
    55 import org.openstreetmap.josm.data.gpx.WayPoint;
    56 import org.openstreetmap.josm.data.osm.DataSet;
    57 import org.openstreetmap.josm.data.osm.Node;
    58 import org.openstreetmap.josm.data.osm.OsmPrimitive;
    59 import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor;
    60 import org.openstreetmap.josm.io.GpxReader;
    61 
    62 import org.xml.sax.SAXException;
    6330
    6431public class StopImporterDialog
  • applications/editors/josm/plugins/public_transport/src/public_transport/TrackReference.java

    r26345 r29854  
    44
    55import java.util.Iterator;
    6 import java.util.Vector;
     6
    77import javax.swing.JOptionPane;
    88import javax.swing.event.TableModelEvent;
     
    1010
    1111import org.openstreetmap.josm.Main;
     12import org.openstreetmap.josm.command.ChangeCommand;
    1213import org.openstreetmap.josm.command.Command;
    13 import org.openstreetmap.josm.command.ChangeCommand;
    14 import org.openstreetmap.josm.command.DeleteCommand;
    1514import org.openstreetmap.josm.data.coor.LatLon;
    1615import org.openstreetmap.josm.data.gpx.GpxTrack;
  • applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistAddCommand.java

    r27886 r29854  
    33import static org.openstreetmap.josm.tools.I18n.tr;
    44
    5 import org.openstreetmap.josm.Main;
     5import java.util.Collection;
     6
    67import org.openstreetmap.josm.command.Command;
    7 import org.openstreetmap.josm.data.osm.Node;
    88import org.openstreetmap.josm.data.osm.OsmPrimitive;
    9 
    10 import java.util.Collection;
    11 import java.util.Vector;
    129
    1310public class TrackStoplistAddCommand extends Command
  • applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistDeleteCommand.java

    r27886 r29854  
    22
    33import static org.openstreetmap.josm.tools.I18n.tr;
     4
     5import java.util.Collection;
     6import java.util.Vector;
    47
    58import org.openstreetmap.josm.Main;
     
    710import org.openstreetmap.josm.data.osm.Node;
    811import org.openstreetmap.josm.data.osm.OsmPrimitive;
    9 
    10 import java.util.Collection;
    11 import java.util.Vector;
    1212
    1313public class TrackStoplistDeleteCommand extends Command
  • applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistDetachCommand.java

    r27886 r29854  
    33import static org.openstreetmap.josm.tools.I18n.tr;
    44
    5 import org.openstreetmap.josm.Main;
     5import java.util.Collection;
     6import java.util.Vector;
     7
    68import org.openstreetmap.josm.command.Command;
    79import org.openstreetmap.josm.data.osm.Node;
    810import org.openstreetmap.josm.data.osm.OsmPrimitive;
    9 
    10 import java.util.Collection;
    11 import java.util.Vector;
    1211
    1312public class TrackStoplistDetachCommand extends Command
  • applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistNameCommand.java

    r27886 r29854  
    33import static org.openstreetmap.josm.tools.I18n.tr;
    44
    5 import org.openstreetmap.josm.Main;
     5import java.util.Collection;
     6
    67import org.openstreetmap.josm.command.Command;
    78import org.openstreetmap.josm.data.coor.LatLon;
    89import org.openstreetmap.josm.data.osm.Node;
    910import org.openstreetmap.josm.data.osm.OsmPrimitive;
    10 
    11 import java.util.Collection;
    12 import java.util.Vector;
    1311
    1412public class TrackStoplistNameCommand extends Command
     
    2422  private LatLon oldLatLon = null;
    2523
    26   @SuppressWarnings("unchecked")
    2724  public TrackStoplistNameCommand(TrackReference trackref, int workingLine)
    2825  {
  • applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistRelocateCommand.java

    r27886 r29854  
    33import static org.openstreetmap.josm.tools.I18n.tr;
    44
    5 import org.openstreetmap.josm.Main;
     5import java.util.Collection;
     6
    67import org.openstreetmap.josm.command.Command;
    78import org.openstreetmap.josm.data.osm.Node;
    89import org.openstreetmap.josm.data.osm.OsmPrimitive;
    9 
    10 import java.util.Collection;
    11 import java.util.Collections;
    12 import java.util.Iterator;
    13 import java.util.Vector;
    14 import javax.swing.DefaultListModel;
    1510
    1611public class TrackStoplistRelocateCommand extends Command
  • applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistSortCommand.java

    r27886 r29854  
    22
    33import static org.openstreetmap.josm.tools.I18n.tr;
    4 
    5 import org.openstreetmap.josm.Main;
    6 import org.openstreetmap.josm.command.Command;
    7 import org.openstreetmap.josm.data.osm.Node;
    8 import org.openstreetmap.josm.data.osm.OsmPrimitive;
    94
    105import java.util.Collection;
     
    127import java.util.Iterator;
    138import java.util.Vector;
    14 import javax.swing.DefaultListModel;
    15 import javax.swing.JLabel;
     9
     10import org.openstreetmap.josm.command.Command;
     11import org.openstreetmap.josm.data.osm.Node;
     12import org.openstreetmap.josm.data.osm.OsmPrimitive;
    1613
    1714public class TrackStoplistSortCommand extends Command
  • applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistTableModel.java

    r26168 r29854  
    44
    55import java.util.Vector;
     6
    67import javax.swing.table.DefaultTableModel;
    78
  • applications/editors/josm/plugins/public_transport/src/public_transport/TrackSuggestStopsCommand.java

    r27886 r29854  
    44
    55import java.util.Collection;
    6 import java.util.Collections;
    76import java.util.Iterator;
    87import java.util.Vector;
    9 import javax.swing.DefaultListModel;
    108
    119import org.openstreetmap.josm.Main;
  • applications/editors/josm/plugins/public_transport/src/public_transport/WaypointTableModel.java

    r26168 r29854  
    44
    55import java.util.Vector;
     6
    67import javax.swing.event.TableModelEvent;
    78import javax.swing.event.TableModelListener;
  • applications/editors/josm/plugins/public_transport/src/public_transport/WaypointsDetachCommand.java

    r27886 r29854  
    33import static org.openstreetmap.josm.tools.I18n.tr;
    44
    5 import org.openstreetmap.josm.Main;
     5import java.util.Collection;
     6import java.util.Vector;
     7
    68import org.openstreetmap.josm.command.Command;
    79import org.openstreetmap.josm.data.osm.Node;
    810import org.openstreetmap.josm.data.osm.OsmPrimitive;
    9 
    10 import java.util.Collection;
    11 import java.util.Vector;
    1211
    1312public class WaypointsDetachCommand extends Command
  • applications/editors/josm/plugins/public_transport/src/public_transport/WaypointsDisableCommand.java

    r27886 r29854  
    22
    33import static org.openstreetmap.josm.tools.I18n.tr;
     4
     5import java.util.Collection;
     6import java.util.Vector;
    47
    58import org.openstreetmap.josm.Main;
     
    710import org.openstreetmap.josm.data.osm.Node;
    811import org.openstreetmap.josm.data.osm.OsmPrimitive;
    9 
    10 import java.util.Collection;
    11 import java.util.Vector;
    1212
    1313public class WaypointsDisableCommand extends Command
  • applications/editors/josm/plugins/public_transport/src/public_transport/WaypointsEnableCommand.java

    r27886 r29854  
    22
    33import static org.openstreetmap.josm.tools.I18n.tr;
     4
     5import java.util.Collection;
     6import java.util.Vector;
    47
    58import org.openstreetmap.josm.Main;
     
    710import org.openstreetmap.josm.data.osm.Node;
    811import org.openstreetmap.josm.data.osm.OsmPrimitive;
    9 
    10 import java.util.Collection;
    11 import java.util.Vector;
    1212
    1313public class WaypointsEnableCommand extends Command
  • applications/editors/josm/plugins/public_transport/src/public_transport/WaypointsNameCommand.java

    r27886 r29854  
    33import static org.openstreetmap.josm.tools.I18n.tr;
    44
    5 import org.openstreetmap.josm.Main;
     5import java.util.Collection;
     6
    67import org.openstreetmap.josm.command.Command;
    7 import org.openstreetmap.josm.data.osm.Node;
    88import org.openstreetmap.josm.data.osm.OsmPrimitive;
    9 
    10 import java.util.Collection;
    11 import java.util.Vector;
    129
    1310public class WaypointsNameCommand extends Command
  • applications/editors/josm/plugins/reltoolbox/build.xml

    r29435 r29854  
    44    <property name="commit.message" value="RelToolbox: make natural sort for relation and find relation lists"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="5613"/>
     6    <property name="plugin.main.version" value="6162"/>
    77
    88    <property name="plugin.author" value="Ilya Zverev"/>
  • applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/SplittingMultipolygons.java

    r26952 r29854  
    22
    33import java.awt.geom.Area;
     4
    45import static org.openstreetmap.josm.tools.I18n.tr;
     6
    57import java.util.*;
     8
    69import org.openstreetmap.josm.Main;
    710import org.openstreetmap.josm.command.*;
    811import org.openstreetmap.josm.data.coor.EastNorth;
     12import org.openstreetmap.josm.data.coor.LatLon;
    913import org.openstreetmap.josm.data.osm.*;
    1014import org.openstreetmap.josm.gui.DefaultNameFormatter;
     
    2731                return false;
    2832            for( Node n : way.getNodes() ) {
    29                 if( n.isIncomplete() || (a != null && !a.contains(n.getCoor())) )
    30                     return false;
     33                LatLon ll = n.getCoor();
     34                if( n.isIncomplete() || (a != null && !a.contains(ll.getX(), ll.getY())) )
     35                    return false;
    3136            }
    3237            if( way.isClosed() )
  • applications/editors/josm/plugins/reverter/build.xml

    r29771 r29854  
    44    <property name="commit.message" value="Reverter: Update MultiOsmReader to support null data after redaction"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="6082"/>
     6    <property name="plugin.main.version" value="6162"/>
    77
    88    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/reverter/src/reverter/ReverterPlugin.java

    r29771 r29854  
    11package reverter;
    2 
    3 import static org.openstreetmap.josm.gui.help.HelpUtil.ht;
    4 import static org.openstreetmap.josm.tools.I18n.marktr;
    5 
    6 import java.awt.event.KeyEvent;
    72
    83import javax.swing.JMenu;
  • applications/editors/josm/plugins/roadsigns/.settings/org.eclipse.jdt.core.prefs

    r22016 r29854  
    1 #Fri Jun 25 21:17:39 CEST 2010
    21eclipse.preferences.version=1
     2org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
     3org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
     4org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
     5org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
     6org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
     7org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
    38org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
    49org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
     
    813org.eclipse.jdt.core.compiler.debug.localVariable=generate
    914org.eclipse.jdt.core.compiler.debug.sourceFile=generate
     15org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
    1016org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
     17org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
     18org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
     19org.eclipse.jdt.core.compiler.problem.deadCode=warning
     20org.eclipse.jdt.core.compiler.problem.deprecation=warning
     21org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
     22org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
     23org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
     24org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
    1125org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
     26org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
     27org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
     28org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
     29org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
     30org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
     31org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
     32org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
     33org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
     34org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
     35org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
     36org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
     37org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
     38org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
     39org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
     40org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
     41org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
     42org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
     43org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
     44org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
     45org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
     46org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
     47org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
     48org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
     49org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
     50org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
     51org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
     52org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
     53org.eclipse.jdt.core.compiler.problem.nullReference=warning
     54org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
     55org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
     56org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
     57org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
     58org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
     59org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
     60org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
     61org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
     62org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
     63org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
     64org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
     65org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
     66org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
     67org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
     68org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
     69org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
     70org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
     71org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
     72org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
     73org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
     74org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
     75org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
     76org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
     77org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
     78org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
     79org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
     80org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
     81org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
     82org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
     83org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
     84org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
     85org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
     86org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
     87org.eclipse.jdt.core.compiler.problem.unusedImport=warning
     88org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
     89org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
     90org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
     91org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
     92org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
     93org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
     94org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
     95org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
     96org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
     97org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
     98org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
    1299org.eclipse.jdt.core.compiler.source=1.6
  • applications/editors/josm/plugins/roadsigns/build.xml

    r29435 r29854  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <!--
    3 ** Maintaining versions
    4 ** ====================
    5 ** see README.template
    6 **
    7 ** Usage
    8 ** =====
    9 ** To build it run
    10 **
    11 **    > ant  dist
    12 **
    13 ** To install the generated plugin locally (in you default plugin directory) run
    14 **
    15 **    > ant  install
    16 **
    17 ** The generated plugin jar is not automatically available in JOSMs plugin configuration
    18 ** dialog. You have to check it in first.
    19 **
    20 ** Use the ant target 'publish' to check in the plugin and make it available to other
    21 ** JOSM users:
    22 **    set the properties commit.message and plugin.main.version
    23 ** and run
    24 **    > ant  publish
    25 **
    26 **
    27 -->
    282<project name="RoadSigns" default="dist" basedir=".">
    293    <!-- enter the SVN commit message -->
    304    <property name="commit.message" value="preset maintenance (Fahrradstraße)"/>
    315    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    32     <property name="plugin.main.version" value="5698"/>
     6    <property name="plugin.main.version" value="6162"/>
    337
    348    <!--
  • applications/editors/josm/plugins/roadsigns/src/org/openstreetmap/josm/plugins/roadsigns/RoadSignInputDialog.java

    r29232 r29854  
    877877            this.add(selectionBox, GBC.eol().insets(0, 5, 5, 5));
    878878            if (!standalone) {
    879                 String snd = "Hide signs that do not have an OSM tag assigned";
     879                //String snd = "Hide signs that do not have an OSM tag assigned";
    880880
    881881                rbAll = new JRadioButton(tr("Show all signs"));
  • applications/editors/josm/plugins/roadsigns/src/org/openstreetmap/josm/plugins/roadsigns/RoadSignsReader.java

    r29230 r29854  
    5151
    5252        String characters = "";
    53         List<Sign> folders = new ArrayList<Sign>();
     53        //List<Sign> folders = new ArrayList<Sign>();
    5454        Sign curSign;
    5555        Tag curTag;
  • applications/editors/josm/plugins/routes/build.xml

    r29435 r29854  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <!--
    3 ** This is the build file for the routes 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 your default plugin directory) run
    16 **
    17 **    > ant  install
    18 **
    19 ** To build against the core in ../../core, create a correct manifest and deploy to
    20 ** SVN,
    21 **    set the properties commit.message and plugin.main.version
    22 ** and run
    23 **    > ant  publish
    24 **
    25 **
    26 -->
    272<project name="routes" default="dist" basedir=".">
    283    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    29     <property name="plugin.main.version" value="4980"/>
     4    <property name="plugin.main.version" value="6162"/>
    305    <property name="josm" location="../../core/dist/josm-custom.jar"/>
    316    <property name="plugin.dist.dir" value="../../dist"/>
    327    <property name="plugin.build.dir" value="build"/>
    338    <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    34     <property name="ant.build.javac.target" value="1.5"/>
     9    <property name="ant.build.javac.target" value="1.6"/>
    3510    <target name="init">
    3611        <mkdir dir="${plugin.build.dir}"/>
  • applications/editors/josm/plugins/routing/build.xml

    r29784 r29854  
    55    <property name="commit.message" value="added one-way support in roundabouts"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="6088"/>
     7    <property name="plugin.main.version" value="6162"/>
    88
    99    <!--
  • applications/editors/josm/plugins/sds/build.xml

    r29784 r29854  
    55    <property name="commit.message" value=""/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="6088"/>
     7    <property name="plugin.main.version" value="6162"/>
    88
    99    <!--
  • applications/editors/josm/plugins/sds/src/org/openstreetmap/hot/sds/SdsConnection.java

    r28160 r29854  
    22package org.openstreetmap.hot.sds;
    33
     4import java.net.Authenticator.RequestorType;
    45import java.net.HttpURLConnection;
    5 import java.net.Authenticator.RequestorType;
    66import java.nio.ByteBuffer;
    77import java.nio.CharBuffer;
  • applications/editors/josm/plugins/sds/src/org/openstreetmap/hot/sds/SdsCredentialAgent.java

    r28160 r29854  
    55
    66import java.awt.Component;
     7import java.net.Authenticator.RequestorType;
    78import java.net.PasswordAuthentication;
    8 import java.net.Authenticator.RequestorType;
     9import java.util.HashMap;
    910import java.util.Map;
    10 import java.util.HashMap;
    1111
    1212import javax.swing.text.html.HTMLEditorKit;
     
    1818import org.openstreetmap.josm.gui.widgets.HtmlPanel;
    1919import org.openstreetmap.josm.io.auth.AbstractCredentialsAgent;
     20import org.openstreetmap.josm.io.auth.CredentialsAgent;
    2021import org.openstreetmap.josm.io.auth.CredentialsAgentException;
    2122import org.openstreetmap.josm.io.auth.CredentialsAgentResponse;
  • applications/editors/josm/plugins/sds/src/org/openstreetmap/hot/sds/SdsDiskAccessAction.java

    r28160 r29854  
    1010import org.openstreetmap.josm.Main;
    1111import org.openstreetmap.josm.actions.DiskAccessAction;
    12 import org.openstreetmap.josm.actions.ExtensionFileFilter;
    1312import org.openstreetmap.josm.gui.ExtendedDialog;
    1413import org.openstreetmap.josm.tools.Shortcut;
     
    9695
    9796        File file = fc.getSelectedFile();
    98         String fn = file.getPath();
    9997
    10098        if (!confirmOverwrite(file))
  • applications/editors/josm/plugins/sds/src/org/openstreetmap/hot/sds/SdsLoadAction.java

    r28160 r29854  
    55
    66import java.awt.event.ActionEvent;
    7 import java.awt.event.KeyEvent;
    87import java.io.File;
    98import java.io.FileInputStream;
     
    1615
    1716import javax.swing.JFileChooser;
    18 import javax.swing.filechooser.FileFilter;
    1917import javax.xml.parsers.ParserConfigurationException;
    2018import javax.xml.parsers.SAXParserFactory;
    2119
    2220import org.openstreetmap.josm.Main;
    23 import org.openstreetmap.josm.actions.DiskAccessAction;
    24 import org.openstreetmap.josm.gui.ExtendedDialog;
    2521import org.openstreetmap.josm.gui.PleaseWaitRunnable;
    2622import org.openstreetmap.josm.io.OsmTransferException;
    27 import org.openstreetmap.josm.tools.Shortcut;
    2823import org.xml.sax.InputSource;
    2924import org.xml.sax.SAXException;
     
    3429        private SeparateDataStorePlugin plugin;
    3530
    36     @SuppressWarnings("deprecation")
    37         public SdsLoadAction(SeparateDataStorePlugin p) {
    38         super(tr("Load..."), "sds_load", tr("Load separate data store data from a file."),
    39             null);
     31    public SdsLoadAction(SeparateDataStorePlugin p) {
     32        super(tr("Load..."), "sds_load", tr("Load separate data store data from a file."), null);
    4033        plugin = p;
    4134    }
  • applications/editors/josm/plugins/sds/src/org/openstreetmap/hot/sds/SdsMenu.java

    r29784 r29854  
    1212
    1313import javax.swing.BorderFactory;
    14 import javax.swing.JLabel;
    1514import javax.swing.JMenu;
    1615import javax.swing.JMenuItem;
  • applications/editors/josm/plugins/sds/src/org/openstreetmap/hot/sds/SdsSaveAction.java

    r28160 r29854  
    55
    66import java.awt.event.ActionEvent;
    7 import java.awt.event.KeyEvent;
    87import java.io.File;
    98import java.io.FileInputStream;
     
    1615import java.io.Writer;
    1716
    18 import javax.swing.JFileChooser;
    1917import javax.swing.JOptionPane;
    20 import javax.swing.filechooser.FileFilter;
    2118
    2219import org.openstreetmap.josm.Main;
    23 import org.openstreetmap.josm.actions.SaveActionBase;
    2420import org.openstreetmap.josm.data.osm.IPrimitive;
    25 import org.openstreetmap.josm.gui.ExtendedDialog;
    2621import org.openstreetmap.josm.gui.layer.Layer;
    2722import org.openstreetmap.josm.gui.layer.OsmDataLayer;
    28 import org.openstreetmap.josm.tools.Shortcut;
    2923
    3024@SuppressWarnings("serial")
    3125public class SdsSaveAction extends SdsDiskAccessAction {
    3226
    33     @SuppressWarnings("deprecation")
    34         public SdsSaveAction() {
     27    public SdsSaveAction() {
    3528        super(tr("Save..."), "sds_save", tr("Save the current separate data store information to a file."),
    3629            null);
  • applications/editors/josm/plugins/sds/src/org/openstreetmap/hot/sds/WritePostprocessor.java

    r28160 r29854  
    5555                }
    5656               
     57                sdsWriter.close();
     58               
    5759                for (IPrimitive p : primitives) {
    5860                        plugin.learn(p);
  • applications/editors/josm/plugins/simplifyarea/build.xml

    r29778 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="SimplifyArea" default="dist" basedir=".">
    313    <!-- enter the SVN commit message -->
    324    <property name="commit.message" value="Initial commit"/>
    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    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/smed/build.xml

    r29778 r29854  
    1313    <property name="plugin.dist.dir" value="../../dist/"/>
    1414    <property name="smed_core.dist.dir" value="core/dist/"/>
    15     <property name="ant.build.javac.target" value="1.5"/>
     15    <property name="ant.build.javac.target" value="1.6"/>
    1616    <property name="plugin.jar" value="${plugin.dist.dir}${ant.project.name}.jar"/>
    1717    <!--
  • applications/editors/josm/plugins/smed/plugs/harbour/build.xml

    r27749 r29854  
    3333    <!-- this is the directory where the plugin jar is copied to -->
    3434    <property name="plugin.dist.dir" value="../../dist"/>
    35     <property name="ant.build.javac.target" value="1.5"/>
     35    <property name="ant.build.javac.target" value="1.6"/>
    3636    <property name="plugin.jar" value="${plugin.dist.dir}/00_${DSTAMP}_${TSTAMP}_${ant.project.name}.jar"/>
    3737    <!--
  • applications/editors/josm/plugins/smed/plugs/oseam/build.xml

    r27749 r29854  
    3333    <!-- this is the directory where the plugin jar is copied to -->
    3434    <property name="plugin.dist.dir" value="../../dist"/>
    35     <property name="ant.build.javac.target" value="1.5"/>
     35    <property name="ant.build.javac.target" value="1.6"/>
    3636    <property name="plugin.jar" value="${plugin.dist.dir}/00_${DSTAMP}_${TSTAMP}_${ant.project.name}.jar"/>
    3737    <!--
  • applications/editors/josm/plugins/smed/plugs/smed_about/build.xml

    r27749 r29854  
    3232    <!-- this is the directory where the plugin jar is copied to -->
    3333    <property name="plugin.dist.dir" value="../../dist"/>
    34     <property name="ant.build.javac.target" value="1.5"/>
     34    <property name="ant.build.javac.target" value="1.6"/>
    3535    <property name="plugin.jar" value="${plugin.dist.dir}/03_${DSTAMP}_${TSTAMP}_${ant.project.name}.jar"/>
    3636    <!--
  • applications/editors/josm/plugins/smed/plugs/wayarea/build.xml

    r27749 r29854  
    3333    <!-- this is the directory where the plugin jar is copied to -->
    3434    <property name="plugin.dist.dir" value="../../dist"/>
    35     <property name="ant.build.javac.target" value="1.5"/>
     35    <property name="ant.build.javac.target" value="1.6"/>
    3636    <property name="plugin.jar" value="${plugin.dist.dir}/00_${DSTAMP}_${TSTAMP}_${ant.project.name}.jar"/>
    3737    <!--
  • applications/editors/josm/plugins/smed2/build.xml

    r29435 r29854  
    3939    <!-- this is the directory where the plugin jar is copied to -->
    4040    <property name="plugin.dist.dir" value="../../dist"/>
    41     <property name="ant.build.javac.target" value="1.5"/>
     41    <property name="ant.build.javac.target" value="1.6"/>
    4242    <property name="plugin.dist.dir" value="../../dist"/>
    4343    <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
  • applications/editors/josm/plugins/surveyor/build.xml

    r29841 r29854  
    77    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    88    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    9     <property name="plugin.main.version" value="4980"/>
     9    <property name="plugin.main.version" value="6162"/>
    1010    <property name="livegpsplugin.jar" value="${plugin.dist.dir}/livegps.jar"/>
    1111
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/AutoSaveAction.java

    r27852 r29854  
    88
    99import java.awt.event.ActionEvent;
     10import java.awt.event.KeyEvent;
    1011import java.text.MessageFormat;
    1112import java.util.Date;
     
    1314import java.util.TimerTask;
    1415
    15 import javax.swing.AbstractAction;
    1616import javax.swing.AbstractButton;
    17 import java.awt.event.KeyEvent;
    1817
    19 import at.dallermassl.josm.plugin.surveyor.action.SetWaypointAction;
     18import livegps.LiveGpsLayer;
     19
    2020import org.openstreetmap.josm.actions.JosmAction;
    2121import org.openstreetmap.josm.tools.Shortcut;
    22 
    23 import livegps.LiveGpsLayer;
    2422
    2523/**
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/AutoSaveGpsLayerTimerTask.java

    r19681 r29854  
    7575            GpxWriter gpxWriter = new GpxWriter(out);
    7676            gpxWriter.write(gpsLayer.data);
     77            gpxWriter.close();
    7778            tmpFile.renameTo(file);
    7879        } catch (IOException ioExc) {
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/SetWaypointAction.java

    r19681 r29854  
    1414
    1515import org.openstreetmap.josm.Main;
    16 import org.openstreetmap.josm.data.coor.LatLon;
    1716import org.openstreetmap.josm.data.gpx.GpxData;
    1817import org.openstreetmap.josm.data.gpx.WayPoint;
     
    5352     */
    5453    public void actionPerformed(GpsActionEvent event) {
    55         LatLon coordinates = event.getCoordinates();
    5654        //System.out.println(getClass().getSimpleName() + " KOORD: " + coordinates.lat() + ", " + coordinates.lon());
    5755        String markerTitle = getParameters().get(0);
  • applications/editors/josm/plugins/surveyor/src/org/dinopolis/util/collection/Tuple.java

    r13497 r29854  
    1111 *
    1212 * @author cdaller
    13  *
     13 * @deprecated Should be replaced by {@link org.openstreetmap.josm.tools.Pair}
    1414 */
    1515public class Tuple<T1 extends Object, T2 extends Object> implements Map.Entry<T1, T2>{
    1616    T1 first;
    1717    T2 second;
    18 
    19     /**
    20      * Default Constructor
    21      */
    22     public Tuple() {
    23     }
    2418
    2519    /**
     
    10296     * @see java.lang.Object#equals(java.lang.Object)
    10397     */
    104     @SuppressWarnings("unchecked")
    10598    @Override
    10699    public boolean equals(Object obj) {
     
    111104        if (getClass() != obj.getClass())
    112105            return false;
    113         final Tuple other = (Tuple) obj;
     106        final Tuple<?, ?> other = (Tuple<?, ?>) obj;
    114107        if (this.first == null) {
    115108            if (other.first != null)
  • applications/editors/josm/plugins/surveyor2/build.xml

    r29435 r29854  
    4343    <property name="plugin.dist.dir" value="../../dist"/>
    4444    <!--property name="plugin.dist.dir"        value="/Users/Zverik/AppData/Roaming/JOSM/plugins"/-->
    45     <property name="ant.build.javac.target" value="1.5"/>
    46     <property name="ant.build.javac.source" value="1.5"/>
     45    <property name="ant.build.javac.target" value="1.6"/>
     46    <property name="ant.build.javac.source" value="1.6"/>
    4747    <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    4848    <!--
  • applications/editors/josm/plugins/tag2link/build.xml

    r29461 r29854  
    55    <property name="commit.message" value="Commit message"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="5821"/>
     7    <property name="plugin.main.version" value="6162"/>
    88
    99    <property name="plugin.author" value="Don-vip &amp; FrViPofm"/>
  • applications/editors/josm/plugins/tageditor/.settings/org.eclipse.jdt.core.prefs

    r14520 r29854  
    1 #Sun Mar 29 18:09:38 CEST 2009
    21eclipse.preferences.version=1
    32org.eclipse.jdt.core.builder.resourceCopyExclusionFilter=*.launch,*.groovy
     3org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
     4org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
     5org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
     6org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
     7org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
     8org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
     9org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
     10org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
     11org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
     12org.eclipse.jdt.core.compiler.problem.deadCode=warning
     13org.eclipse.jdt.core.compiler.problem.deprecation=warning
     14org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
     15org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
     16org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
     17org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
     18org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
     19org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
     20org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
     21org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
     22org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
     23org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
     24org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
     25org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
     26org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
     27org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
     28org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
     29org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
     30org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
     31org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
     32org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
     33org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
     34org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
     35org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
     36org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
     37org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
     38org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
     39org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
     40org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
     41org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
     42org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
     43org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
     44org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
     45org.eclipse.jdt.core.compiler.problem.nullReference=warning
     46org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
     47org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
     48org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
     49org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
     50org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
     51org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
     52org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
     53org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
     54org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
     55org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
     56org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
     57org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
     58org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
     59org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
     60org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
     61org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
     62org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
     63org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
     64org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
     65org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
     66org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
     67org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
     68org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
     69org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
     70org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
     71org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
     72org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
     73org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
     74org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
     75org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
     76org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
     77org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
     78org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
     79org.eclipse.jdt.core.compiler.problem.unusedImport=warning
     80org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
     81org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
     82org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
     83org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
     84org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
     85org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
     86org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
     87org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
     88org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
     89org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
     90org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
  • applications/editors/josm/plugins/tageditor/build.xml

    r29435 r29854  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <!--
    3 ** This is the build file for the tageditor 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 your default plugin directory) run
    16 **
    17 **    > ant  install
    18 **
    19 ** To build against the core in ../../core, create a correct manifest and deploy to
    20 ** SVN,
    21 **    set the properties commit.message and plugin.main.version
    22 ** and run
    23 **    > ant  publish
    24 **
    25 **
    26 -->
    272<project name="tageditor" default="dist" basedir=".">
    283    <property name="commit.message" value="Tageditor:  help shortcut parser, rebuild"/>
    29     <property name="plugin.main.version" value="4980"/>
     4    <property name="plugin.main.version" value="6162"/>
    305    <!--
    316      ************************************************
     
    3712    <!-- this is the directory where the plugin jar is copied to -->
    3813    <property name="plugin.dist.dir" value="../../dist"/>
    39     <property name="ant.build.javac.target" value="1.5"/>
     14    <property name="ant.build.javac.target" value="1.6"/>
    4015    <property name="plugin.dist.dir" value="../../dist"/>
    4116    <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
  • applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/TagEditorDialog.java

    r29853 r29854  
    1414import java.beans.PropertyChangeEvent;
    1515import java.beans.PropertyChangeListener;
    16 import java.util.logging.Logger;
    1716
    1817import javax.swing.AbstractAction;
     
    3130import org.openstreetmap.josm.data.osm.DataSet;
    3231import org.openstreetmap.josm.data.osm.OsmPrimitive;
     32import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionList;
    3333import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionManager;
    34 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionList;
    3534import org.openstreetmap.josm.plugins.tageditor.ac.AutoCompletionListViewer;
    3635import org.openstreetmap.josm.plugins.tageditor.editor.TagEditor;
     
    5049@SuppressWarnings("serial")
    5150public class TagEditorDialog extends JDialog {
    52     static private final Logger logger = Logger.getLogger(TagEditorDialog.class.getName());
     51    //static private final Logger logger = Logger.getLogger(TagEditorDialog.class.getName());
    5352
    5453    /** the unique instance */
  • applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/ac/AutoCompletionListViewer.java

    r23189 r29854  
    88import java.awt.event.MouseEvent;
    99import java.util.ArrayList;
    10 import java.util.logging.Logger;
    1110
    1211import javax.swing.AbstractAction;
     
    1918import javax.swing.ListSelectionModel;
    2019import javax.swing.table.DefaultTableModel;
     20
    2121import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionList;
    2222
    2323public class AutoCompletionListViewer extends JPanel {
    2424   
    25     static private Logger logger = Logger.getLogger(AutoCompletionListViewer.class.getName());
     25    //static private Logger logger = Logger.getLogger(AutoCompletionListViewer.class.getName());
    2626
    2727    /** the table showing the auto completion list entries */
  • applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/editor/PresetItemListCellRenderer.java

    r23189 r29854  
    44
    55import java.awt.Component;
    6 import java.util.logging.Logger;
    76
    87import javax.swing.JLabel;
     
    1413
    1514public class PresetItemListCellRenderer extends JLabel implements ListCellRenderer {
    16     private static final Logger logger = Logger.getLogger(PresetItemListCellRenderer.class.getName());
     15    //private static final Logger logger = Logger.getLogger(PresetItemListCellRenderer.class.getName());
    1716
    1817    public Component getListCellRendererComponent(JList list, Object value,
  • applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/editor/PresetManager.java

    r23189 r29854  
    99import java.awt.event.ItemEvent;
    1010import java.awt.event.ItemListener;
    11 import java.util.logging.Logger;
    1211
    1312import javax.swing.JButton;
     
    1918public class PresetManager extends JPanel {
    2019
    21     static private final Logger logger = Logger.getLogger(PresetManager.class.getName());
     20    //static private final Logger logger = Logger.getLogger(PresetManager.class.getName());
    2221
    2322    private JComboBox presets;
  • applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/editor/TableCellRenderer.java

    r23189 r29854  
    77import java.awt.Component;
    88import java.awt.Font;
    9 import java.util.logging.Logger;
    109
    1110import javax.swing.JLabel;
     
    2726public class TableCellRenderer extends JLabel implements javax.swing.table.TableCellRenderer  {
    2827   
    29     private static Logger logger = Logger.getLogger(TableCellRenderer.class.getName());
     28    //private static Logger logger = Logger.getLogger(TableCellRenderer.class.getName());
    3029    public static final Color BG_COLOR_HIGHLIGHTED = new Color(255,255,204);
    3130       
  • applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/editor/TagEditorModel.java

    r23189 r29854  
    22package org.openstreetmap.josm.plugins.tageditor.editor;
    33
     4import static org.openstreetmap.josm.tools.I18n.trn;
     5
    46import java.util.ArrayList;
    5 
    67import java.util.Collection;
    7 import java.util.logging.Logger;
    88
    99import javax.swing.DefaultComboBoxModel;
     
    1818import org.openstreetmap.josm.plugins.tageditor.preset.Tag;
    1919import org.openstreetmap.josm.plugins.tageditor.tagspec.KeyValuePair;
    20 import static org.openstreetmap.josm.tools.I18n.trn;
    2120
    2221/**
     
    2524@SuppressWarnings("serial")
    2625public class TagEditorModel extends org.openstreetmap.josm.gui.tagging.TagEditorModel  {
    27     static private final Logger logger = Logger.getLogger(TagEditorModel.class.getName());
     26    //static private final Logger logger = Logger.getLogger(TagEditorModel.class.getName());
    2827   
    2928    private DefaultComboBoxModel appliedPresets = null;
  • applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/preset/AbstractNameIconProvider.java

    r27675 r29854  
    11package org.openstreetmap.josm.plugins.tageditor.preset;
    22
    3 import java.awt.Image;
    43import java.io.File;
    54import java.util.Collection;
  • applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/preset/Group.java

    r23189 r29854  
    33import java.util.ArrayList;
    44import java.util.List;
    5 import java.util.logging.Logger;
    65
    76/**
     
    1110public class Group extends AbstractNameIconProvider {
    1211   
    13     static final private Logger logger = Logger.getLogger(Group.class.getName());
     12    //static final private Logger logger = Logger.getLogger(Group.class.getName());
    1413   
    1514    private List<Item> items = null;
  • applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/preset/Item.java

    r23189 r29854  
    33import java.util.ArrayList;
    44import java.util.List;
    5 import java.util.logging.Logger;
    65
    76public class Item  extends AbstractNameIconProvider {
    87
    9     private final static Logger logger = Logger.getLogger(Item.class.getName());
     8    //private final static Logger logger = Logger.getLogger(Item.class.getName());
    109
    1110    private String label;
  • applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/preset/ui/NameIconCellRenderer.java

    r23189 r29854  
    44import java.awt.Component;
    55import java.awt.Font;
    6 import java.util.logging.Logger;
    76
    87import javax.swing.JLabel;
     
    1615public class NameIconCellRenderer extends JLabel implements TableCellRenderer {
    1716
    18     private static Logger logger = Logger.getLogger(NameIconCellRenderer.class.getName());
     17    //private static Logger logger = Logger.getLogger(NameIconCellRenderer.class.getName());
    1918    public static final Color BG_COLOR_SELECTED = new Color(143,170,255);
    2019
  • applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/preset/ui/PresetsTableModel.java

    r23189 r29854  
    22
    33import java.util.ArrayList;
    4 import java.util.logging.Logger;
    54
    65import javax.swing.event.TableModelListener;
     
    1413public class PresetsTableModel extends AbstractTableModel  {
    1514
    16     private static final Logger logger = Logger.getLogger(PresetsTableModel.class.getName());
     15    //private static final Logger logger = Logger.getLogger(PresetsTableModel.class.getName());
    1716
    1817    private final ArrayList<TableModelListener> listeners = new ArrayList<TableModelListener>();
  • applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/tagspec/ui/KeyValueCellRenderer.java

    r23189 r29854  
    33import java.awt.Component;
    44import java.awt.Font;
    5 import java.util.logging.Logger;
    65
    76import javax.swing.JLabel;
     
    1211public class KeyValueCellRenderer extends JLabel implements TableCellRenderer  {
    1312
    14     private static final Logger logger = Logger.getLogger(KeyValueCellRenderer.class.getName());
     13    //private static final Logger logger = Logger.getLogger(KeyValueCellRenderer.class.getName());
    1514
    1615    protected void init() {
  • applications/editors/josm/plugins/tagging-preset-tester/build.xml

    r29762 r29854  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <!--
    3 ** This is the build file for the tagging-preset-tester 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 your default plugin directory) run
    16 **
    17 **    > ant  install
    18 **
    19 ** To build against the core in ../../core, create a correct manifest and deploy to
    20 ** SVN,
    21 **    set the properties commit.message and plugin.main.version
    22 ** and run
    23 **    > ant  publish
    24 **
    25 **
    26 -->
    272<project name="tagging-preset-tester" default="dist" basedir=".">
    283    <property name="commit.message" value="[josm_tagging_preset_tester] #josm8853: listen for list selection, support standalone mode (ant run)"/>
    29     <property name="plugin.main.version" value="6072"/>
     4    <property name="plugin.main.version" value="6162"/>
    305    <property name="josm" location="../../core/dist/josm-custom.jar"/>
    316    <property name="plugin.dist.dir" value="../../dist"/>
    327    <property name="plugin.build.dir" value="build"/>
    338    <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    34     <property name="ant.build.javac.target" value="1.5"/>
     9    <property name="ant.build.javac.target" value="1.6"/>
    3510    <target name="init">
    3611        <mkdir dir="${plugin.build.dir}"/>
  • applications/editors/josm/plugins/terracer/build.xml

    r29771 r29854  
    22<project name="terracer" default="dist" basedir=".">
    33    <property name="commit.message" value="applied #j5760 (patch by robome) - Order of housenumbers not correct"/>
    4     <property name="plugin.main.version" value="6082"/>
     4    <property name="plugin.main.version" value="6162"/>
    55    <property name="plugin.author" value="Matt Amos"/>
    66    <property name="plugin.class" value="terracer.TerracerPlugin"/>
  • applications/editors/josm/plugins/tracer/build.xml

    r29771 r29854  
    44    <property name="commit.message" value="adapt to latest josm (getNodePairs changed)"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="6082"/>
     6    <property name="plugin.main.version" value="6162"/>
    77
    88    <property name="plugin.author" value="Jan Bilak, Petr Dlouhý"/>
  • applications/editors/josm/plugins/tracer/src/org/openstreetmap/josm/plugins/tracer/ConnectWays.java

    r23191 r29854  
    124124            throws IllegalStateException, IndexOutOfBoundsException {
    125125
    126         List<Command> cmds = new LinkedList<Command>();
    127 
    128126        LatLon ll = node.getCoor();
    129127        BBox bbox = new BBox(
     
    191189            System.out.println(way.getNodes().get(i) + "-----" + way.getNodes().get((i + 1) % way.getNodesCount()));
    192190            double minDistanceSq = MIN_DISTANCE_SQ;
    193             double maxAngle = MAX_ANGLE;
     191            //double maxAngle = MAX_ANGLE;
    194192            List<Node> nodes = Main.main.getCurrentDataSet().searchNodes(new BBox(
    195193                Math.min(n1.getX(), n2.getX()) - minDistanceSq,
     
    208206                System.out.println("Angle: " + angle + " distance: " + dist + " Node: " + nod);
    209207                if (!n1.equalsEpsilon(nn) && !n2.equalsEpsilon(nn) && dist < minDistanceSq){ // && Math.abs(angle) < maxAngle) {
    210                     maxAngle = angle;
     208                    //maxAngle = angle;
    211209                    nearestNode = nod;
    212210                }
  • applications/editors/josm/plugins/turnlanes/build.xml

    r29435 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="turnlanes" default="dist" basedir=".">
    313
     
    335    <property name="commit.message" value="fix toolbar warnings - toolbar still does not work"/>
    346    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    35     <property name="plugin.main.version" value="5018"/>
     7    <property name="plugin.main.version" value="6162"/>
    368
    379    <!--
  • applications/editors/josm/plugins/turnlanes/src/org/openstreetmap/josm/plugins/turnlanes/gui/TurnLanesDialog.java

    r28624 r29854  
    1313import java.util.Set;
    1414
    15 import javax.swing.Action;
    1615import javax.swing.ButtonGroup;
    1716import javax.swing.JPanel;
  • applications/editors/josm/plugins/turnrestrictions/.settings/org.eclipse.jdt.core.prefs

    r29853 r29854  
    11eclipse.preferences.version=1
     2org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
     3org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
     4org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
     5org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
     6org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
     7org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
    28org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
    39org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
    410org.eclipse.jdt.core.compiler.compliance=1.6
     11org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
    512org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
     13org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
     14org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
     15org.eclipse.jdt.core.compiler.problem.deadCode=warning
     16org.eclipse.jdt.core.compiler.problem.deprecation=warning
     17org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
     18org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
     19org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
     20org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
    621org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
     22org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
     23org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
     24org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
     25org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
     26org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
     27org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
     28org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
     29org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
     30org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
     31org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
     32org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
     33org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
     34org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
     35org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
     36org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
     37org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
     38org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
     39org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
     40org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
     41org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
     42org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
     43org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
     44org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
     45org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
     46org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
     47org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
     48org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
     49org.eclipse.jdt.core.compiler.problem.nullReference=warning
     50org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
     51org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
     52org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
     53org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
     54org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
     55org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
     56org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
     57org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
     58org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
     59org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
     60org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
     61org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
     62org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
     63org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
     64org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
     65org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
     66org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
     67org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
     68org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
     69org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
     70org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
     71org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
     72org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
     73org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
     74org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
     75org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
     76org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
     77org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
     78org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
     79org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
     80org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
     81org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
     82org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
     83org.eclipse.jdt.core.compiler.problem.unusedImport=warning
     84org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
     85org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
     86org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
     87org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
     88org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
     89org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
     90org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
     91org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
     92org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
     93org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
     94org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
    795org.eclipse.jdt.core.compiler.source=1.6
  • applications/editors/josm/plugins/turnrestrictions/build.xml

    r29435 r29854  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <!--
    3 ** This is the build file for the turnrestrictions 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="turnrestrictions" default="dist" basedir=".">
    313    <!-- enter the SVN commit message -->
    324    <property name="commit.message" value="Adapt to JOSM core change (DefaultNameFormatter)"/>
    335    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4980"/>
     6    <property name="plugin.main.version" value="6162"/>
    357
    368    <property name="test.build.dir" value="test/build"/>
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/CreateOrEditTurnRestrictionAction.java

    r27879 r29854  
    1111import org.openstreetmap.josm.data.osm.Relation;
    1212import org.openstreetmap.josm.gui.layer.OsmDataLayer;
    13 import org.openstreetmap.josm.tools.Shortcut;
    1413import org.openstreetmap.josm.plugins.turnrestrictions.editor.TurnRestrictionEditor;
    1514import org.openstreetmap.josm.plugins.turnrestrictions.editor.TurnRestrictionEditorManager;
    1615import org.openstreetmap.josm.plugins.turnrestrictions.editor.TurnRestrictionSelectionPopupPanel;
    17 import org.openstreetmap.josm.plugins.turnrestrictions.preferences.PreferenceKeys;
     16import org.openstreetmap.josm.tools.Shortcut;
    1817
    1918/**
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/dnd/PrimitiveIdListProvider.java

    r23192 r29854  
    33import java.util.List;
    44
    5 import org.openstreetmap.josm.data.osm.PrimitiveId;;
     5import org.openstreetmap.josm.data.osm.PrimitiveId;
    66public interface PrimitiveIdListProvider {
    77    /**
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/dnd/PrimitiveIdListTransferHandler.java

    r23510 r29854  
    88import javax.swing.TransferHandler;
    99
     10import org.openstreetmap.josm.data.osm.PrimitiveId;
    1011import org.openstreetmap.josm.tools.CheckParameterUtil;
    1112
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/AdvancedEditorPanel.java

    r24937 r29854  
    66import java.awt.event.HierarchyEvent;
    77import java.awt.event.HierarchyListener;
    8 import java.util.logging.Logger;
    98
    109import javax.swing.JPanel;
     
    2322 */
    2423public class AdvancedEditorPanel extends JPanel {
    25     private static final Logger logger = Logger.getLogger(AdvancedEditorPanel.class.getName());
     24    //private static final Logger logger = Logger.getLogger(AdvancedEditorPanel.class.getName());
    2625
    2726    private TurnRestrictionEditorModel model;
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/BasicEditorPanel.java

    r25463 r29854  
    33import static org.openstreetmap.josm.tools.I18n.tr;
    44
    5 import java.awt.Component;
    65import java.awt.Dimension;
    76import java.awt.GridBagConstraints;
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/JosmSelectionListModel.java

    r26299 r29854  
    66import java.util.List;
    77import java.util.Set;
    8 import java.util.logging.Logger;
    98
    109import javax.swing.AbstractListModel;
     
    3635 */
    3736public class JosmSelectionListModel extends AbstractListModel implements EditLayerChangeListener, SelectionChangedListener, DataSetListener, PrimitiveIdListProvider{
    38     static private final Logger logger = Logger.getLogger(JosmSelectionListModel.class.getName());
     37    //static private final Logger logger = Logger.getLogger(JosmSelectionListModel.class.getName());
    3938   
    4039    private final List<OsmPrimitive> selection = new ArrayList<OsmPrimitive>();
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/JosmSelectionPanel.java

    r23571 r29854  
    1111import javax.swing.Action;
    1212import javax.swing.BorderFactory;
    13 import javax.swing.DefaultListSelectionModel;
    1413import javax.swing.JComponent;
    1514import javax.swing.JLabel;
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/MemberRoleCellEditor.java

    r21010 r29854  
    33
    44import java.awt.Component;
    5 import java.util.logging.Logger;
    65
    76import javax.swing.AbstractCellEditor;
     
    1918 */
    2019public class MemberRoleCellEditor extends AbstractCellEditor implements TableCellEditor {
    21     static private Logger logger = Logger.getLogger(MemberRoleCellEditor.class.getName());
     20    //static private Logger logger = Logger.getLogger(MemberRoleCellEditor.class.getName());
    2221
    2322    private AutoCompletingTextField editor = null;
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/RelationMemberEditorModel.java

    r23526 r29854  
    1111import java.util.List;
    1212import java.util.Set;
    13 import java.util.logging.Logger;
    1413
    1514import javax.swing.DefaultListSelectionModel;
     
    2524
    2625public class RelationMemberEditorModel extends AbstractTableModel{ 
    27     static private final Logger logger = Logger.getLogger(RelationMemberEditorModel.class.getName());
     26    //static private final Logger logger = Logger.getLogger(RelationMemberEditorModel.class.getName());
    2827    private final ArrayList<RelationMemberModel> members = new ArrayList<RelationMemberModel>();
    2928    private OsmDataLayer layer;
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/RelationMemberTable.java

    r26666 r29854  
    1818import java.io.IOException;
    1919import java.util.List;
    20 import java.util.logging.Logger;
    2120
    2221import javax.swing.AbstractAction;
     
    134133        }
    135134
     135        @SuppressWarnings("unchecked")
    136136        public void actionPerformed(ActionEvent evt) {
    137137            // tried to delegate to 'paste' action in the action map of the
     
    247247        }
    248248
     249        @SuppressWarnings("unchecked")
    249250        @Override
    250251        public boolean importData(JComponent comp, Transferable t) {
     
    323324        }
    324325
     326        @SuppressWarnings("unchecked")
    325327        public synchronized void drop(DropTargetDropEvent dtde) {
    326328            try {
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionComboBox.java

    r23510 r29854  
    44
    55import org.openstreetmap.josm.data.Preferences;
     6import org.openstreetmap.josm.plugins.turnrestrictions.preferences.PreferenceKeys;
    67/**
    78 * A combo box for selecting a turn restriction type.
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionComboBoxModel.java

    r23192 r29854  
    55import java.util.Observable;
    66import java.util.Observer;
    7 import java.util.logging.Logger;
    87
    98import javax.swing.ComboBoxModel;
     
    2120 */
    2221public class TurnRestrictionComboBoxModel implements ComboBoxModel, Observer{
    23     static private final Logger logger = Logger.getLogger(TurnRestrictionComboBoxModel.class.getName());
     22    //static private final Logger logger = Logger.getLogger(TurnRestrictionComboBoxModel.class.getName());
    2423   
    2524    private TurnRestrictionEditorModel model;
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionEditor.java

    r26509 r29854  
    2121import java.util.Observable;
    2222import java.util.Observer;
    23 import java.util.logging.Logger;
    2423
    2524import javax.swing.AbstractAction;
     
    4645import org.openstreetmap.josm.gui.DefaultNameFormatter;
    4746import org.openstreetmap.josm.gui.HelpAwareOptionPane;
     47import org.openstreetmap.josm.gui.HelpAwareOptionPane.ButtonSpec;
    4848import org.openstreetmap.josm.gui.SideButton;
    49 import org.openstreetmap.josm.gui.HelpAwareOptionPane.ButtonSpec;
    5049import org.openstreetmap.josm.gui.dialogs.relation.RelationEditor;
    5150import org.openstreetmap.josm.gui.help.ContextSensitiveHelpAction;
     
    5857
    5958public class TurnRestrictionEditor extends JDialog implements NavigationControler{
    60     final private static Logger logger = Logger.getLogger(TurnRestrictionEditor.class.getName());
     59    //final private static Logger logger = Logger.getLogger(TurnRestrictionEditor.class.getName());
    6160   
    6261    /** the property name for the current turn restriction
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionEditorManager.java

    r23510 r29854  
    1010import java.util.Iterator;
    1111import java.util.Map.Entry;
    12 import java.util.logging.Logger;
    1312
    1413import org.openstreetmap.josm.data.osm.PrimitiveId;
     
    2322 */
    2423public class TurnRestrictionEditorManager extends WindowAdapter implements MapView.LayerChangeListener{
    25     static private final Logger logger = Logger.getLogger(TurnRestrictionEditorManager.class.getName());
     24    //static private final Logger logger = Logger.getLogger(TurnRestrictionEditorManager.class.getName());
    2625
    2726    /** keeps track of open relation editors */
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionEditorModel.java

    r26299 r29854  
    55import java.util.Observable;
    66import java.util.Set;
    7 import java.util.logging.Logger;
    87
    98import javax.swing.event.TableModelEvent;
     
    2120import org.openstreetmap.josm.data.osm.event.DataSetListener;
    2221import org.openstreetmap.josm.data.osm.event.DatasetEventManager;
     22import org.openstreetmap.josm.data.osm.event.DatasetEventManager.FireMode;
    2323import org.openstreetmap.josm.data.osm.event.NodeMovedEvent;
    2424import org.openstreetmap.josm.data.osm.event.PrimitivesAddedEvent;
     
    2727import org.openstreetmap.josm.data.osm.event.TagsChangedEvent;
    2828import org.openstreetmap.josm.data.osm.event.WayNodesChangedEvent;
    29 import org.openstreetmap.josm.data.osm.event.DatasetEventManager.FireMode;
    3029import org.openstreetmap.josm.gui.layer.OsmDataLayer;
    3130import org.openstreetmap.josm.gui.tagging.TagEditorModel;
     
    4039 */
    4140public class TurnRestrictionEditorModel extends Observable implements DataSetListener{
    42     static private final Logger logger = Logger.getLogger(TurnRestrictionEditorModel.class.getName());
     41    //static private final Logger logger = Logger.getLogger(TurnRestrictionEditorModel.class.getName());
    4342   
    4443    /**
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionLegEditor.java

    r23571 r29854  
    5959 */
    6060public class TurnRestrictionLegEditor extends JPanel implements Observer, PrimitiveIdListProvider {
    61     static private final Logger logger = Logger.getLogger(TurnRestrictionLegEditor.class.getName());
     61    //static private final Logger logger = Logger.getLogger(TurnRestrictionLegEditor.class.getName());
    6262 
    6363    private JLabel lblOsmObject;
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionSelectionPopupPanel.java

    r23510 r29854  
    1717import java.util.Collection;
    1818import java.util.HashSet;
    19 import java.util.logging.Logger;
    2019
    2120import javax.swing.AbstractAction;
     
    5049 */
    5150public class TurnRestrictionSelectionPopupPanel extends JPanel{
    52     static private final Logger logger = Logger.getLogger(TurnRestrictionSelectionPopupPanel.class.getName());
     51    //static private final Logger logger = Logger.getLogger(TurnRestrictionSelectionPopupPanel.class.getName());
    5352
    5453    /** the parent popup */
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionTypeRenderer.java

    r23510 r29854  
    11package org.openstreetmap.josm.plugins.turnrestrictions.editor;
     2
     3import static org.openstreetmap.josm.tools.I18n.tr;
    24
    35import java.awt.Component;
     
    1517import org.openstreetmap.josm.plugins.turnrestrictions.preferences.PreferenceKeys;
    1618import org.openstreetmap.josm.tools.ImageProvider;
    17 import static org.openstreetmap.josm.tools.I18n.tr;
    1819
    1920
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/VehicleExceptionEditor.java

    r23571 r29854  
    1616import java.util.Observable;
    1717import java.util.Observer;
    18 import java.util.logging.Logger;
    1918
    2019import javax.swing.ButtonGroup;
     
    3635 */
    3736public class VehicleExceptionEditor extends JPanel implements Observer{
    38     static private final Logger logger = Logger.getLogger(VehicleExceptionEditor.class.getName());
     37    //static private final Logger logger = Logger.getLogger(VehicleExceptionEditor.class.getName());
    3938   
    4039    private TurnRestrictionEditorModel model;
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/ViaList.java

    r26345 r29854  
    33import static org.openstreetmap.josm.tools.I18n.tr;
    44
    5 import java.awt.Dimension;
    65import java.awt.Toolkit;
    76import java.awt.datatransfer.Clipboard;
     
    4847public class ViaList extends JList{
    4948   
    50     static private final Logger logger = Logger.getLogger(ViaList.class.getName());
     49    //static private final Logger logger = Logger.getLogger(ViaList.class.getName());
    5150
    5251    private ViaListModel model;
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/ViaListModel.java

    r23192 r29854  
    11package org.openstreetmap.josm.plugins.turnrestrictions.editor;
     2
     3import static org.openstreetmap.josm.tools.I18n.tr;
    24
    35import java.util.ArrayList;
     
    68import java.util.Observable;
    79import java.util.Observer;
    8 import java.util.logging.Logger;
    910
    1011import javax.swing.AbstractListModel;
     
    1617import org.openstreetmap.josm.plugins.turnrestrictions.dnd.PrimitiveIdListProvider;
    1718import org.openstreetmap.josm.tools.CheckParameterUtil;
    18 import static org.openstreetmap.josm.tools.I18n.tr;
    1919
    2020/**
     
    2323 */
    2424public class ViaListModel extends AbstractListModel implements PrimitiveIdListProvider, Observer{
    25     static private final Logger logger = Logger.getLogger(ViaListModel.class.getName());
     25    //static private final Logger logger = Logger.getLogger(ViaListModel.class.getName());
    2626   
    2727    private DefaultListSelectionModel selectionModel;
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/list/TurnRestrictionCellRenderer.java

    r23510 r29854  
    22
    33import static org.openstreetmap.josm.tools.I18n.tr;
     4import static org.openstreetmap.josm.tools.I18n.trc;
    45
    56import java.awt.Color;
     
    1112import java.util.HashSet;
    1213import java.util.Set;
    13 import java.util.logging.Logger;
    1414
    1515import javax.swing.ImageIcon;
     
    3131import org.openstreetmap.josm.plugins.turnrestrictions.preferences.PreferenceKeys;
    3232import org.openstreetmap.josm.tools.ImageProvider;
    33 import static org.openstreetmap.josm.tools.I18n.trc;
    3433
    3534/**
     
    4140 */
    4241public class TurnRestrictionCellRenderer extends JPanel implements ListCellRenderer, TableCellRenderer{
    43     static private final Logger logger = Logger.getLogger(TurnRestrictionCellRenderer.class.getName());
     42    //static private final Logger logger = Logger.getLogger(TurnRestrictionCellRenderer.class.getName());
    4443   
    4544    /** the names of restriction types */
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/list/TurnRestrictionsInDatasetListModel.java

    r26299 r29854  
    44import java.util.LinkedList;
    55import java.util.List;
    6 import java.util.logging.Logger;
    76
    87import javax.swing.DefaultListSelectionModel;
     
    3433 */
    3534public class TurnRestrictionsInDatasetListModel extends TurnRestrictionsListModel implements EditLayerChangeListener, DataSetListener {
    36     private static final Logger logger = Logger.getLogger(TurnRestrictionsInDatasetListModel.class.getName());
     35    //private static final Logger logger = Logger.getLogger(TurnRestrictionsInDatasetListModel.class.getName());
    3736   
    3837    public TurnRestrictionsInDatasetListModel(
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/list/TurnRestrictionsInSelectionListModel.java

    r23192 r29854  
    44import java.util.HashSet;
    55import java.util.Set;
    6 import java.util.logging.Logger;
    76
    87import javax.swing.DefaultListSelectionModel;
     
    1918 */
    2019public class TurnRestrictionsInSelectionListModel extends TurnRestrictionsListModel implements EditLayerChangeListener, SelectionChangedListener {
    21     private static final Logger logger = Logger.getLogger(TurnRestrictionsInSelectionListModel.class.getName());
     20    //private static final Logger logger = Logger.getLogger(TurnRestrictionsInSelectionListModel.class.getName());
    2221   
    2322    public TurnRestrictionsInSelectionListModel(
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/list/TurnRestrictionsInSelectionView.java

    r23192 r29854  
    1212import org.openstreetmap.josm.data.SelectionChangedListener;
    1313import org.openstreetmap.josm.data.osm.OsmPrimitive;
     14import org.openstreetmap.josm.data.osm.event.DatasetEventManager.FireMode;
    1415import org.openstreetmap.josm.data.osm.event.SelectionEventManager;
    15 import org.openstreetmap.josm.data.osm.event.DatasetEventManager.FireMode;
    1616import org.openstreetmap.josm.gui.MapView;
    1717import org.openstreetmap.josm.gui.MapView.EditLayerChangeListener;
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/list/TurnRestrictionsListDialog.java

    r27464 r29854  
    1313import java.util.HashSet;
    1414import java.util.List;
    15 import java.util.logging.Logger;
    1615
    1716import javax.swing.AbstractAction;
     
    3130import org.openstreetmap.josm.data.osm.RelationMember;
    3231import org.openstreetmap.josm.gui.MapView;
     32import org.openstreetmap.josm.gui.MapView.EditLayerChangeListener;
    3333import org.openstreetmap.josm.gui.SideButton;
    34 import org.openstreetmap.josm.gui.MapView.EditLayerChangeListener;
    3534import org.openstreetmap.josm.gui.dialogs.ToggleDialog;
    3635import org.openstreetmap.josm.gui.help.HelpUtil;
     
    5352 */
    5453public class TurnRestrictionsListDialog extends ToggleDialog{
    55     private static final Logger logger = Logger.getLogger(TurnRestrictionsListDialog.class.getName());
     54    //private static final Logger logger = Logger.getLogger(TurnRestrictionsListDialog.class.getName());
    5655
    5756    /** checkbox for switching between the two list views */
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/preferences/PreferenceKeys.java

    r23510 r29854  
    11package org.openstreetmap.josm.plugins.turnrestrictions.preferences;
     2
     3import javax.swing.KeyStroke;
    24
    35
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/preferences/PreferencesPanel.java

    r27876 r29854  
    77import java.awt.GridBagLayout;
    88import java.awt.Insets;
    9 import java.util.logging.Logger;
    10 
    119
    1210import javax.swing.BorderFactory;
     
    3028 */
    3129public class PreferencesPanel extends VerticallyScrollablePanel {
    32     private static final Logger logger = Logger.getLogger(PreferencesPanel.class.getName());
     30    //private static final Logger logger = Logger.getLogger(PreferencesPanel.class.getName());
    3331    private JRadioButton rbSetA;
    3432    private JRadioButton rbSetB;
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/qa/IssuesView.java

    r24937 r29854  
    55import java.util.Observable;
    66import java.util.Observer;
    7 import java.util.logging.Logger;
    87
    98import javax.swing.JPanel;
     
    1716 */
    1817public class IssuesView extends VerticallyScrollablePanel implements Observer{
    19     static private final Logger logger = Logger.getLogger(IssuesView.class.getName());
     18    //static private final Logger logger = Logger.getLogger(IssuesView.class.getName());
    2019   
    2120    /** the issues model */
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/qa/MissingTurnRestrictionLegError.java

    r23593 r29854  
    11package org.openstreetmap.josm.plugins.turnrestrictions.qa;
     2
     3import static org.openstreetmap.josm.plugins.turnrestrictions.editor.NavigationControler.BasicEditorFokusTargets.FROM;
     4import static org.openstreetmap.josm.plugins.turnrestrictions.editor.NavigationControler.BasicEditorFokusTargets.TO;
     5import static org.openstreetmap.josm.tools.I18n.tr;
    26
    37import java.awt.event.ActionEvent;
     
    610
    711import org.openstreetmap.josm.plugins.turnrestrictions.editor.TurnRestrictionLegRole;
    8 import static org.openstreetmap.josm.tools.I18n.tr;
    9 import static org.openstreetmap.josm.plugins.turnrestrictions.editor.NavigationControler.BasicEditorFokusTargets.*;
    1012
    1113/**
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/qa/WrongTurnRestrictionLegTypeError.java

    r23593 r29854  
    1010import org.openstreetmap.josm.gui.DefaultNameFormatter;
    1111import org.openstreetmap.josm.plugins.turnrestrictions.editor.NavigationControler;
     12import org.openstreetmap.josm.plugins.turnrestrictions.editor.NavigationControler.BasicEditorFokusTargets;
    1213import org.openstreetmap.josm.plugins.turnrestrictions.editor.RelationMemberEditorModel;
    1314import org.openstreetmap.josm.plugins.turnrestrictions.editor.TurnRestrictionLegRole;
    14 import org.openstreetmap.josm.plugins.turnrestrictions.editor.NavigationControler.BasicEditorFokusTargets;
    1515
    1616/**
  • applications/editors/josm/plugins/undelete/build.xml

    r29474 r29854  
    44    <property name="commit.message" value="adapt to core changes (backwards compatible)"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="5211"/>
     6    <property name="plugin.main.version" value="6162"/>
    77
    88    <property name="plugin.author" value="Nakor"/>
  • applications/editors/josm/plugins/utilsplugin2/build.xml

    r29771 r29854  
    55    <property name="commit.message" value="[josm_utilsplugin2]: pasting tags is in core long ago. Please update you ancient JOSM :)"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="6082"/>
     7    <property name="plugin.main.version" value="6162"/>
    88
    99    <property name="plugin.author" value="Kalle Lampila, Upliner, Zverik, akks, joshdoe and others"/>
  • applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/replacegeometry/ReplaceGeometryUtils.java

    r28350 r29854  
    11package org.openstreetmap.josm.plugins.utilsplugin2.replacegeometry;
    22
    3 import edu.princeton.cs.algs4.AssignmentProblem;
     3import static org.openstreetmap.josm.tools.I18n.tr;
     4
    45import java.awt.geom.Area;
    5 import java.awt.geom.Point2D;
    6 import java.util.*;
     6import java.util.AbstractMap;
     7import java.util.ArrayList;
     8import java.util.Arrays;
     9import java.util.Collection;
     10import java.util.HashMap;
     11import java.util.HashSet;
     12import java.util.LinkedList;
     13import java.util.List;
     14import java.util.Map;
     15import java.util.Set;
     16
    717import javax.swing.JOptionPane;
     18
    819import org.openstreetmap.josm.Main;
    920import org.openstreetmap.josm.actions.MergeNodesAction;
    10 import org.openstreetmap.josm.command.*;
    11 import org.openstreetmap.josm.data.osm.*;
     21import org.openstreetmap.josm.command.ChangeNodesCommand;
     22import org.openstreetmap.josm.command.ChangePropertyCommand;
     23import org.openstreetmap.josm.command.Command;
     24import org.openstreetmap.josm.command.DeleteCommand;
     25import org.openstreetmap.josm.command.MoveCommand;
     26import org.openstreetmap.josm.data.coor.LatLon;
     27import org.openstreetmap.josm.data.osm.Node;
     28import org.openstreetmap.josm.data.osm.OsmPrimitive;
     29import org.openstreetmap.josm.data.osm.Relation;
     30import org.openstreetmap.josm.data.osm.RelationMember;
     31import org.openstreetmap.josm.data.osm.RelationToChildReference;
     32import org.openstreetmap.josm.data.osm.TagCollection;
     33import org.openstreetmap.josm.data.osm.Way;
    1234import org.openstreetmap.josm.gui.DefaultNameFormatter;
    1335import org.openstreetmap.josm.gui.conflict.tags.CombinePrimitiveResolverDialog;
    1436import org.openstreetmap.josm.gui.conflict.tags.TagConflictResolutionUtil;
    15 import static org.openstreetmap.josm.tools.I18n.tr;
     37
     38import edu.princeton.cs.algs4.AssignmentProblem;
    1639
    1740/**
     
    400423
    401424    protected static boolean isInArea(Node node, Area area) {
    402         if (node.isNewOrUndeleted() || area == null || area.contains(node.getCoor())) {
     425        LatLon ll = node.getCoor();
     426        if (node.isNewOrUndeleted() || area == null || area.contains(ll.getX(), ll.getY())) {
    403427            return true;
    404428        }
     
    481505        // TODO: use meters instead of degrees, but do it fast
    482506        double distance = Double.parseDouble(Main.pref.get("utilsplugin2.replace-geometry.max-distance", "1"));
    483         Point2D coor = node.getCoor();
     507        LatLon coor = node.getCoor();
    484508
    485509        for( Node n : nodes ) {
  • applications/editors/josm/plugins/videomapping/build.xml

    r29784 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="videomapping" default="dist" basedir=".">
    313
     
    335    <property name="commit.message" value="fix after JOSM update"/>
    346    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    35     <property name="plugin.main.version" value="6088"/>
     7    <property name="plugin.main.version" value="6162"/>
    368
    379    <!--
  • applications/editors/josm/plugins/walkingpapers/build.xml

    r29805 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 ** Call "ant help" to get possible build targets.
    12 **
    13 -->
    142<project name="walkingpapers" default="dist" basedir=".">
    153
     
    175    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    186    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    19     <property name="plugin.main.version" value="6097"/>
     7    <property name="plugin.main.version" value="6162"/>
    208
    219    <property name="plugin.author" value="Frederik Ram"/>
  • applications/editors/josm/plugins/walkingpapers/src/org/openstreetmap/josm/plugins/walkingpapers/WalkingPapersAddLayerAction.java

    r29778 r29854  
    3333
    3434        // Grab id= from the URL if we need to, otherwise get an ID
    35         String mungedWpId = this.getWalkingPapersId(wpid);
     35        String mungedWpId = WalkingPapersAddLayerAction.getWalkingPapersId(wpid);
    3636
    3737        if (mungedWpId == null || mungedWpId.equals("")) return;
  • applications/editors/josm/plugins/walkingpapers/src/org/openstreetmap/josm/plugins/walkingpapers/WalkingPapersLayer.java

    r26299 r29854  
    5555    private String walkingPapersId;
    5656
    57     @SuppressWarnings("serial")
    5857    public WalkingPapersLayer(String id, String tile, Bounds b, int minz, int maxz) {
    5958        super(tr("Walking Papers: {0}", id));
  • applications/editors/josm/plugins/walkingpapers/src/org/openstreetmap/josm/plugins/walkingpapers/WalkingPapersPlugin.java

    r29805 r29854  
    11package org.openstreetmap.josm.plugins.walkingpapers;
    22
    3 import static org.openstreetmap.josm.gui.help.HelpUtil.ht;
    4 import static org.openstreetmap.josm.tools.I18n.marktr;
    5 
    6 import java.awt.event.KeyEvent;
    7 
    83import javax.swing.JMenu;
    9 import javax.swing.JMenuItem;
    104
    115import org.openstreetmap.josm.Main;
  • applications/editors/josm/plugins/waydownloader/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 ** Call "ant help" to get possible build targets.
    12 **
    13 -->
    142<project name="waydownloader" default="dist" basedir=".">
    153
     
    175    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    186    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    19     <property name="plugin.main.version" value="6082"/>
     7    <property name="plugin.main.version" value="6162"/>
    208
    219    <property name="plugin.author" value="Harry Wood"/>
  • applications/editors/josm/plugins/waypoint_search/.settings/org.eclipse.jdt.core.prefs

    r29853 r29854  
    11eclipse.preferences.version=1
     2org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
     3org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
     4org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
     5org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
     6org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
     7org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
    28org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
    39org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
     
    713org.eclipse.jdt.core.compiler.debug.localVariable=generate
    814org.eclipse.jdt.core.compiler.debug.sourceFile=generate
     15org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
    916org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
     17org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
     18org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
     19org.eclipse.jdt.core.compiler.problem.deadCode=warning
     20org.eclipse.jdt.core.compiler.problem.deprecation=warning
     21org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
     22org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
     23org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
     24org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
    1025org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
     26org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
     27org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
     28org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
     29org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
     30org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
     31org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
     32org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
     33org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
     34org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
     35org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
     36org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
     37org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
     38org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
     39org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
     40org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
     41org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
     42org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
     43org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
     44org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
     45org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
     46org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
     47org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
     48org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
     49org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
     50org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
     51org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
     52org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
     53org.eclipse.jdt.core.compiler.problem.nullReference=warning
     54org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
     55org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
     56org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
     57org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
     58org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
     59org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
     60org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
     61org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
     62org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
     63org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
     64org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
     65org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
     66org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
     67org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
     68org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
     69org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
     70org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
     71org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
     72org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
     73org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
     74org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
     75org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
     76org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
     77org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
     78org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
     79org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
     80org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
     81org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
     82org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
     83org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
     84org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
     85org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
     86org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
     87org.eclipse.jdt.core.compiler.problem.unusedImport=warning
     88org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
     89org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
     90org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
     91org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
     92org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
     93org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
     94org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
     95org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
     96org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
     97org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
     98org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
    1199org.eclipse.jdt.core.compiler.source=1.6
  • applications/editors/josm/plugins/waypoint_search/build.xml

    r29435 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 ** Call "ant help" to get possible build targets.
    12 **
    13 -->
    142<project name="waypoint_search" default="dist" basedir=".">
    153
     
    175    <property name="commit.message" value="bugfix of search when layer is added"/>
    186    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    19     <property name="plugin.main.version" value="4549"/>
     7    <property name="plugin.main.version" value="6162"/>
    208
    219    <property name="plugin.author" value="Åsmund Realfsen - realfsen at gmx.net"/>
  • applications/editors/josm/plugins/wayselector/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 ** Call "ant help" to get possible build targets.
    12 **
    13 -->
    142<project name="wayselector" default="dist" basedir=".">
    153
     
    175    <property name="commit.message" value="recompile due to core change"/>
    186    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    19     <property name="plugin.main.version" value="6082"/>
     7    <property name="plugin.main.version" value="6162"/>
    208
    219    <property name="plugin.author" value="Marko Mäkelä"/>
  • applications/editors/josm/plugins/wikipedia/build.xml

    r29778 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 ** Call "ant help" to get possible build targets.
    12 **
    13 -->
    142<project name="wikipedia" default="dist" basedir=".">
    153
     
    175    <property name="commit.message" value="Commit message"/>
    186    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    19     <property name="plugin.main.version" value="6082"/>
     7    <property name="plugin.main.version" value="6162"/>
    208
    219    <property name="plugin.author" value="simon04"/>
  • applications/editors/josm/plugins/wikipedia/src/org/wikipedia/WikipediaAddNamesAction.java

    r29521 r29854  
    1010import java.util.List;
    1111import java.util.Locale;
     12
    1213import org.openstreetmap.josm.Main;
    1314import org.openstreetmap.josm.actions.JosmAction;
  • applications/editors/josm/plugins/wikipedia/src/org/wikipedia/WikipediaApp.java

    r29621 r29854  
    1919import java.util.regex.Matcher;
    2020import java.util.regex.Pattern;
     21
    2122import javax.xml.parsers.DocumentBuilderFactory;
    2223import javax.xml.xpath.XPathConstants;
    2324import javax.xml.xpath.XPathExpression;
    2425import javax.xml.xpath.XPathFactory;
     26
    2527import org.openstreetmap.josm.data.coor.LatLon;
    2628import org.openstreetmap.josm.data.osm.OsmPrimitive;
  • applications/editors/josm/plugins/wikipedia/src/org/wikipedia/WikipediaCopyTemplate.java

    r29336 r29854  
    77import java.util.Collection;
    88import java.util.List;
     9
    910import javax.swing.JMenuItem;
     11
    1012import org.openstreetmap.josm.Main;
    1113import org.openstreetmap.josm.actions.JosmAction;
  • applications/editors/josm/plugins/wikipedia/src/org/wikipedia/WikipediaToggleDialog.java

    r29523 r29854  
    1212import java.util.List;
    1313import java.util.Set;
     14
    1415import javax.swing.AbstractAction;
    1516import javax.swing.DefaultListCellRenderer;
     
    1920import javax.swing.JOptionPane;
    2021import javax.swing.SwingWorker;
     22
    2123import org.openstreetmap.josm.Main;
    2224import org.openstreetmap.josm.actions.search.SearchAction;
  • applications/editors/josm/plugins/wms-turbo-challenge2/build.xml

    r29435 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 ** Call "ant help" to get possible build targets.
    12 **
    13 -->
    142<project name="wms-turbo-challenge2" default="dist" basedir=".">
    153
     
    175    <property name="commit.message" value="Commit message"/>
    186    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    19     <property name="plugin.main.version" value="4670"/>
     7    <property name="plugin.main.version" value="6162"/>
    208
    219    <property name="plugin.author" value="Andrzej Zaborowski"/>
  • applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/FakeMapView.java

    r29210 r29854  
    2525import org.openstreetmap.josm.gui.MapView;
    2626
    27 class fake_map_view extends MapView {
     27class FakeMapView extends MapView {
    2828    public ProjectionBounds view_bounds;
    2929    public MapView parent;
     
    3636    public double max_east_west;
    3737
    38     public fake_map_view(MapView parent, double scale) {
     38    public FakeMapView(MapView parent, double scale) {
    3939        super(null, null); //TODO MapView constructor contains registering listeners and other code, that probably shouldn't be called in fake map view
    4040        this.parent = parent;
  • applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/GameWindow.java

    r26299 r29854  
    6262
    6363        this.ground = ground;
    64         ground_view = new fake_map_view(Main.map.mapView, 0.0000001);
     64        ground_view = new FakeMapView(Main.map.mapView, 0.0000001);
    6565
    6666        /* Retrieve start position */
     
    474474    }
    475475
    476     protected class sprite_pos implements Comparable {
     476    protected class sprite_pos implements Comparable<sprite_pos> {
    477477        double dist;
    478478
     
    483483        }
    484484
    485         public int compareTo(Object x) {
    486             sprite_pos other = (sprite_pos) x;
    487             return (int) ((other.dist - this.dist) * 1000000.0);
     485        public int compareTo(sprite_pos x) {
     486            return (int) ((x.dist - this.dist) * 1000000.0);
    488487        }
    489488    }
     
    700699        }
    701700    }
    702     protected fake_map_view ground_view;
     701    protected FakeMapView ground_view;
    703702}
  • applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/WMSRacer.java

    r26174 r29854  
    99
    1010import org.openstreetmap.josm.gui.layer.Layer;
     11import org.openstreetmap.josm.gui.MapView;
    1112import org.openstreetmap.josm.gui.MapView.LayerChangeListener;
    1213import org.openstreetmap.josm.gui.MapFrame;
     
    9596    public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) {
    9697        if (oldFrame != null)
    97             oldFrame.mapView.removeLayerChangeListener(this);
     98            MapView.removeLayerChangeListener(this);
    9899
    99100        driveAction.frame = newFrame;
     
    101102
    102103        if (newFrame != null)
    103             newFrame.mapView.addLayerChangeListener(this);
     104            MapView.addLayerChangeListener(this);
    104105    }
    105106
Note: See TracChangeset for help on using the changeset viewer.