Changeset 29854 in osm
- Timestamp:
- 2013-08-21T03:47:16+02:00 (11 years ago)
- 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 4 4 <property name="commit.message" value="Commit message"/> 5 5 <!-- 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"/> 7 7 8 8 <!-- Plugin meta data --> -
applications/editors/josm/plugins/ColumbusCSV/src/org/openstreetmap/josm/plugins/columbusCSV/ColumbusCSVImporter.java
r29178 r29854 17 17 import static org.openstreetmap.josm.tools.I18n.tr; 18 18 19 import java.io.BufferedReader;20 import java.io.DataInputStream;21 19 import java.io.File; 22 import java.io.FileInputStream;23 import java.io.FileNotFoundException;24 20 import java.io.IOException; 25 import java.io.InputStreamReader;26 21 27 22 import org.openstreetmap.josm.Main; -
applications/editors/josm/plugins/CommandLine/.settings/org.eclipse.jdt.core.prefs
r29273 r29854 1 1 eclipse.preferences.version=1 2 org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled 3 org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore 4 org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull 5 org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault 6 org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable 7 org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled 2 8 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 9 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 … … 7 13 org.eclipse.jdt.core.compiler.debug.localVariable=generate 8 14 org.eclipse.jdt.core.compiler.debug.sourceFile=generate 15 org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning 9 16 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 17 org.eclipse.jdt.core.compiler.problem.autoboxing=ignore 18 org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning 19 org.eclipse.jdt.core.compiler.problem.deadCode=warning 20 org.eclipse.jdt.core.compiler.problem.deprecation=warning 21 org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled 22 org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled 23 org.eclipse.jdt.core.compiler.problem.discouragedReference=warning 24 org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore 10 25 org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 26 org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore 27 org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore 28 org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled 29 org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore 30 org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning 31 org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning 32 org.eclipse.jdt.core.compiler.problem.forbiddenReference=error 33 org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning 34 org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled 35 org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning 36 org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning 37 org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore 38 org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore 39 org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning 40 org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore 41 org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore 42 org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled 43 org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore 44 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore 45 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled 46 org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore 47 org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore 48 org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning 49 org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning 50 org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore 51 org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning 52 org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error 53 org.eclipse.jdt.core.compiler.problem.nullReference=warning 54 org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error 55 org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning 56 org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning 57 org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore 58 org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore 59 org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore 60 org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore 61 org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning 62 org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning 63 org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore 64 org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore 65 org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore 66 org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore 67 org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore 68 org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled 69 org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning 70 org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled 71 org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled 72 org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled 73 org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore 74 org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning 75 org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled 76 org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning 77 org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning 78 org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore 79 org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning 80 org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore 81 org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore 82 org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore 83 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore 84 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled 85 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled 86 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled 87 org.eclipse.jdt.core.compiler.problem.unusedImport=warning 88 org.eclipse.jdt.core.compiler.problem.unusedLabel=warning 89 org.eclipse.jdt.core.compiler.problem.unusedLocal=warning 90 org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore 91 org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore 92 org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled 93 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled 94 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled 95 org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning 96 org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore 97 org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning 98 org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning 11 99 org.eclipse.jdt.core.compiler.source=1.6 -
applications/editors/josm/plugins/CommandLine/build.xml
r29784 r29854 4 4 <property name="commit.message" value="JOSM/CommandLine: fix exception after JOSM update"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value="6 088"/>6 <property name="plugin.main.version" value="6162"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/CommandLine/src/CommandLine/Command.java
r29819 r29854 30 30 public Command () { parameters = new ArrayList<Parameter>(); optParameters = new ArrayList<Parameter>(); currentParameterNum = 0; tracks = false; asynchronous = false; icon = ""; } 31 31 32 @SuppressWarnings("unchecked") 32 33 public boolean loadObject(Object obj) { 33 34 Parameter currentParameter = parameters.get(currentParameterNum); -
applications/editors/josm/plugins/Create_grid_of_ways/build.xml
r29771 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is the build file for the Create_grid_of_ways plugin.4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in you default plugin directory) run16 **17 ** > ant install18 **19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration20 ** 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 other23 ** JOSM users:24 ** set the properties commit.message and plugin.main.version25 ** and run26 ** > ant publish27 **28 **29 -->30 2 <project name="Create_grid_of_ways" default="dist" basedir="."> 31 3 <!-- enter the SVN commit message --> 32 4 <property name="commit.message" value="Changed constructor signature, updated build.xml"/> 33 5 <!-- 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 95 10 --> 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"/> 186 19 </project> -
applications/editors/josm/plugins/DirectDownload/.settings/org.eclipse.jdt.core.prefs
r29776 r29854 1 1 eclipse.preferences.version=1 2 org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled 3 org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore 4 org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull 5 org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault 6 org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable 7 org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled 2 8 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 9 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 4 10 org.eclipse.jdt.core.compiler.compliance=1.6 11 org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning 5 12 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 13 org.eclipse.jdt.core.compiler.problem.autoboxing=ignore 14 org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning 15 org.eclipse.jdt.core.compiler.problem.deadCode=warning 16 org.eclipse.jdt.core.compiler.problem.deprecation=warning 17 org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled 18 org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled 19 org.eclipse.jdt.core.compiler.problem.discouragedReference=warning 20 org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore 6 21 org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 22 org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore 23 org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore 24 org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled 25 org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore 26 org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning 27 org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning 28 org.eclipse.jdt.core.compiler.problem.forbiddenReference=error 29 org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning 30 org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled 31 org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning 32 org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning 33 org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore 34 org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore 35 org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning 36 org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore 37 org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore 38 org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled 39 org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore 40 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore 41 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled 42 org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore 43 org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore 44 org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning 45 org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning 46 org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore 47 org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning 48 org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error 49 org.eclipse.jdt.core.compiler.problem.nullReference=warning 50 org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error 51 org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning 52 org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning 53 org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore 54 org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore 55 org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore 56 org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore 57 org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning 58 org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning 59 org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore 60 org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore 61 org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore 62 org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore 63 org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore 64 org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled 65 org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning 66 org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled 67 org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled 68 org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled 69 org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore 70 org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning 71 org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled 72 org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning 73 org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning 74 org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore 75 org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning 76 org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore 77 org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore 78 org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore 79 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore 80 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled 81 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled 82 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled 83 org.eclipse.jdt.core.compiler.problem.unusedImport=warning 84 org.eclipse.jdt.core.compiler.problem.unusedLabel=warning 85 org.eclipse.jdt.core.compiler.problem.unusedLocal=warning 86 org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore 87 org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore 88 org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled 89 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled 90 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled 91 org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning 92 org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore 93 org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning 94 org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning 7 95 org.eclipse.jdt.core.compiler.source=1.6 -
applications/editors/josm/plugins/DirectDownload/build.xml
r29776 r29854 4 4 <property name="commit.message" value="Commit message"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value="6 082"/>6 <property name="plugin.main.version" value="6162"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/DirectUpload/.settings/org.eclipse.jdt.core.prefs
r29718 r29854 1 1 eclipse.preferences.version=1 2 org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled 3 org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore 4 org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull 5 org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault 6 org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable 7 org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled 2 8 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 9 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 4 10 org.eclipse.jdt.core.compiler.compliance=1.6 11 org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning 5 12 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 13 org.eclipse.jdt.core.compiler.problem.autoboxing=ignore 14 org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning 15 org.eclipse.jdt.core.compiler.problem.deadCode=warning 16 org.eclipse.jdt.core.compiler.problem.deprecation=warning 17 org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled 18 org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled 19 org.eclipse.jdt.core.compiler.problem.discouragedReference=warning 20 org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore 6 21 org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 22 org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore 23 org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore 24 org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled 25 org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore 26 org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning 27 org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning 28 org.eclipse.jdt.core.compiler.problem.forbiddenReference=error 29 org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning 30 org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled 31 org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning 32 org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning 33 org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore 34 org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore 35 org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning 36 org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore 37 org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore 38 org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled 39 org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore 40 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore 41 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled 42 org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore 43 org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore 44 org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning 45 org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning 46 org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore 47 org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning 48 org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error 49 org.eclipse.jdt.core.compiler.problem.nullReference=warning 50 org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error 51 org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning 52 org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning 53 org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore 54 org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore 55 org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore 56 org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore 57 org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning 58 org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning 59 org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore 60 org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore 61 org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore 62 org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore 63 org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore 64 org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled 65 org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning 66 org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled 67 org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled 68 org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled 69 org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore 70 org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning 71 org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled 72 org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning 73 org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning 74 org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore 75 org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning 76 org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore 77 org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore 78 org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore 79 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore 80 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled 81 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled 82 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled 83 org.eclipse.jdt.core.compiler.problem.unusedImport=warning 84 org.eclipse.jdt.core.compiler.problem.unusedLabel=warning 85 org.eclipse.jdt.core.compiler.problem.unusedLocal=warning 86 org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore 87 org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore 88 org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled 89 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled 90 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled 91 org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning 92 org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore 93 org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning 94 org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning 7 95 org.eclipse.jdt.core.compiler.source=1.6 -
applications/editors/josm/plugins/DirectUpload/build.xml
r29778 r29854 5 5 <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])"/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="6 082"/>7 <property name="plugin.main.version" value="6162"/> 8 8 9 9 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/ElevationProfile/build.xml
r29611 r29854 4 4 <property name="commit.message" value=""/> 5 5 <!-- 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"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/FastDraw/build.xml
r29596 r29854 4 4 <property name="commit.message" value="JOSM/FastDraw: line stroke and point size customization"/> 5 5 <!-- 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"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/FixAddresses/build.xml
r29778 r29854 4 4 <property name="commit.message" value="fix compile error (core changes)"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value="6 082"/>6 <property name="plugin.main.version" value="6162"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/AddressEditContainer.java
r29661 r29854 799 799 * @return the score of the street. 800 800 */ 801 protected int getScore() {801 /*protected int getScore() { 802 802 return score; 803 } 803 }*/ 804 804 805 805 @Override -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/FixAddressesPlugin.java
r29778 r29854 14 14 package org.openstreetmap.josm.plugins.fixAddresses; 15 15 16 import javax.swing.JMenu;17 16 import org.openstreetmap.josm.Main; 18 17 import org.openstreetmap.josm.gui.IconToggleButton; -
applications/editors/josm/plugins/HouseNumberTaggingTool/build.xml
r29778 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for a JOSM plugin.4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in you default plugin directory) run16 **17 ** > ant install18 **19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration20 ** 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 other23 ** JOSM users:24 ** set the properties commit.message and plugin.main.version25 ** and run26 ** > ant publish27 **28 **29 -->30 2 <project name="HouseNumberTaggingTool" default="dist" basedir="."> 31 3 <!-- enter the SVN commit message --> 32 4 <property name="commit.message" value="Initial version."/> 33 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 34 <property name="plugin.main.version" value="6 082"/>6 <property name="plugin.main.version" value="6162"/> 35 7 <!-- Configure these properties (replace "..." accordingly). 36 8 See http://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins -
applications/editors/josm/plugins/ImportImagePlugin/.settings/org.eclipse.jdt.core.prefs
r28954 r29854 1 1 eclipse.preferences.version=1 2 org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled 3 org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore 4 org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull 5 org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault 6 org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable 7 org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled 2 8 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 9 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 … … 7 13 org.eclipse.jdt.core.compiler.debug.localVariable=generate 8 14 org.eclipse.jdt.core.compiler.debug.sourceFile=generate 15 org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning 9 16 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 17 org.eclipse.jdt.core.compiler.problem.autoboxing=ignore 18 org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning 19 org.eclipse.jdt.core.compiler.problem.deadCode=warning 20 org.eclipse.jdt.core.compiler.problem.deprecation=warning 21 org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled 22 org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled 23 org.eclipse.jdt.core.compiler.problem.discouragedReference=warning 24 org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore 10 25 org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 26 org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore 27 org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore 28 org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled 29 org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore 30 org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning 31 org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning 32 org.eclipse.jdt.core.compiler.problem.forbiddenReference=error 33 org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning 34 org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled 35 org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning 36 org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning 37 org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore 38 org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore 39 org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning 40 org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore 41 org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore 42 org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled 43 org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore 44 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore 45 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled 46 org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore 47 org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore 48 org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning 49 org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning 50 org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore 51 org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning 52 org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error 53 org.eclipse.jdt.core.compiler.problem.nullReference=warning 54 org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error 55 org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning 56 org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning 57 org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore 58 org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore 59 org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore 60 org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore 61 org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning 62 org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning 63 org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore 64 org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore 65 org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore 66 org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore 67 org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore 68 org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled 69 org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning 70 org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled 71 org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled 72 org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled 73 org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore 74 org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning 75 org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled 76 org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning 77 org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning 78 org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore 79 org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning 80 org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore 81 org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore 82 org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore 83 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore 84 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled 85 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled 86 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled 87 org.eclipse.jdt.core.compiler.problem.unusedImport=warning 88 org.eclipse.jdt.core.compiler.problem.unusedLabel=warning 89 org.eclipse.jdt.core.compiler.problem.unusedLocal=warning 90 org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore 91 org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore 92 org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled 93 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled 94 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled 95 org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning 96 org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore 97 org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning 98 org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning 11 99 org.eclipse.jdt.core.compiler.source=1.6 -
applications/editors/josm/plugins/ImportImagePlugin/build.xml
r29805 r29854 5 5 <property name="commit.message" value="use consistent plugin name (don't mix up the words)" /> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="6 097" />7 <property name="plugin.main.version" value="6162" /> 8 8 9 9 <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 372 372 public void keyTyped(java.awt.event.KeyEvent e) { 373 373 374 for (Iterator iterator = supportedCRS.iterator(); iterator 375 .hasNext();) { 374 for (Iterator<String> iterator = supportedCRS.iterator(); iterator.hasNext();) { 376 375 String type = (String) iterator.next(); 377 if(type.contains(searchField.getText())) 378 { 376 if (type.contains(searchField.getText())) { 379 377 crsJList.setSelectedIndex(supportedCRS.indexOf(type)); 380 378 crsJList.ensureIndexIsVisible(supportedCRS.indexOf(type)); -
applications/editors/josm/plugins/ImportImagePlugin/src/org/openstreetmap/josm/plugins/ImportImagePlugin/PluginOperations.java
r28954 r29854 303 303 sb.append(content); 304 304 } 305 305 br.close(); 306 306 try { 307 307 refSys = CRS.parseWKT(sb.toString().trim()); … … 311 311 312 312 return refSys; 313 314 } 315 313 } 316 314 317 315 /** -
applications/editors/josm/plugins/NanoLog/build.xml
r29435 r29854 43 43 <property name="plugin.dist.dir" value="../../dist"/> 44 44 <!--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"/> 47 47 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 48 48 <!-- -
applications/editors/josm/plugins/OpeningHoursEditor/build.xml
r29771 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for a JOSM plugin.4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in you default plugin directory) run16 **17 ** > ant install18 **19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration20 ** 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 other23 ** JOSM users:24 ** set the properties commit.message and plugin.main.version25 ** and run26 ** > ant publish27 **28 **29 -->30 2 <project name="OpeningHoursEditor" default="dist" basedir="."> 31 3 <!-- enter the SVN commit message --> 32 4 <property name="commit.message" value="fixed main version"/> 33 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 34 <property name="plugin.main.version" value="6 082"/>6 <property name="plugin.main.version" value="6162"/> 35 7 <!-- 36 8 ************************************************ … … 42 14 <!-- this is the directory where the plugin jar is copied to --> 43 15 <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"/> 45 17 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 46 18 <!-- -
applications/editors/josm/plugins/OpeningHoursEditor/src/org/openstreetmap/josm/plugins/ohe/OhePlugin.java
r29778 r29854 108 108 } 109 109 110 @SuppressWarnings("unchecked") 110 111 @Override 111 112 public void actionPerformed(ActionEvent evt) { -
applications/editors/josm/plugins/OpeningHoursEditor/src/org/openstreetmap/josm/plugins/ohe/gui/OheDialogPanel.java
r26215 r29854 62 62 value = (String) valuesToEdit; 63 63 else if (valuesToEdit instanceof Map<?, ?>) { 64 @SuppressWarnings("unchecked") 64 65 Map<String, Integer> valuesMap = (Map<String, Integer>) valuesToEdit; 65 66 if (valuesMap.size() == 1) -
applications/editors/josm/plugins/OpeningHoursEditor/src/org/openstreetmap/josm/plugins/ohe/gui/OheEditor.java
r28477 r29854 15 15 import javax.swing.JScrollPane; 16 16 17 import org.openstreetmap.josm.Main;18 17 import org.openstreetmap.josm.plugins.ohe.ClockSystem; 19 18 import org.openstreetmap.josm.plugins.ohe.OpeningTimeUtils; -
applications/editors/josm/plugins/OsmInspectorPlugin/build.xml
r29435 r29854 5 5 <property name="commit.message" value="Commit message"/> 6 6 <!-- 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"/> 8 8 9 9 <property name="plugin.author" value="Nikhil Shirahatti"/> -
applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/ImportOsmInspectorBugsAction.java
r29449 r29854 7 7 import java.awt.event.KeyEvent; 8 8 9 import javax.swing.JPanel;10 import javax.swing.JProgressBar;11 9 import javax.swing.ProgressMonitor; 12 import javax.swing.event.ListSelectionEvent;13 import javax.swing.event.ListSelectionListener;14 10 15 11 import org.openstreetmap.josm.Main; -
applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/OSMIFeatureTracker.java
r28935 r29854 16 16 public OSMIFeatureTracker( 17 17 FeatureCollection<SimpleFeatureType, SimpleFeature> featuresIn) { 18 hashFeatures = new HashMap ();18 hashFeatures = new HashMap<Long, SimpleFeature>(); 19 19 features = new MemoryFeatureCollection(featuresIn.getSchema()); 20 20 21 for (Iterator it = features.iterator(); it.hasNext();) {21 for (Iterator<?> it = features.iterator(); it.hasNext();) { 22 22 SimpleFeature element = (SimpleFeature) it.next(); 23 23 try { … … 39 39 public boolean mergeFeatures( 40 40 FeatureCollection<SimpleFeatureType, SimpleFeature> newFeatures) { 41 for (Iterator it = newFeatures.iterator(); it.hasNext();) {41 for (Iterator<SimpleFeature> it = newFeatures.iterator(); it.hasNext();) { 42 42 SimpleFeature element = (SimpleFeature) it.next(); 43 43 try { -
applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/OsmInspectorLayer.java
r28935 r29854 57 57 import org.openstreetmap.josm.plugins.osminspector.gui.OsmInspectorDialog; 58 58 import org.openstreetmap.josm.tools.ImageProvider; 59 59 60 import com.vividsolutions.jts.geom.Envelope; 60 61 import com.vividsolutions.jts.geom.Geometry; … … 338 339 * @throws ParseException 339 340 */ 340 @SuppressWarnings("unchecked")341 341 public OsmInspectorLayer(GeoFabrikWFSClient wfsClient, 342 342 ProgressMonitor monitor) throws NoSuchAuthorityCodeException, … … 403 403 * @throws IndexOutOfBoundsException 404 404 */ 405 @SuppressWarnings("unchecked")406 405 public void loadFeatures(GeoFabrikWFSClient wfsClient) 407 406 throws NoSuchAuthorityCodeException, FactoryException, IOException, -
applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/OsmInspectorPlugin.java
r29058 r29854 45 45 } 46 46 47 48 49 50 /** 47 /** 51 48 * Initialize the <code>OsmInspectorPlugin</code> object. Creates the 52 49 * <code>OsmInspectorGUI</code> and initializes the following variables with … … 55 52 private void initializePlugin() { 56 53 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")), 58 55 KeyEvent.VK_1, Shortcut.ALT_SHIFT); 59 56 //String name = "Osm Inspector error reports"; -
applications/editors/josm/plugins/addrinterpolation/.settings/org.eclipse.jdt.core.prefs
r29853 r29854 1 1 eclipse.preferences.version=1 2 org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled 3 org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore 4 org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull 5 org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault 6 org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable 7 org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled 2 8 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 9 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 4 10 org.eclipse.jdt.core.compiler.compliance=1.6 11 org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning 5 12 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 13 org.eclipse.jdt.core.compiler.problem.autoboxing=ignore 14 org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning 15 org.eclipse.jdt.core.compiler.problem.deadCode=warning 16 org.eclipse.jdt.core.compiler.problem.deprecation=warning 17 org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled 18 org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled 19 org.eclipse.jdt.core.compiler.problem.discouragedReference=warning 20 org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore 6 21 org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 22 org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore 23 org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore 24 org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled 25 org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore 26 org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning 27 org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning 28 org.eclipse.jdt.core.compiler.problem.forbiddenReference=error 29 org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning 30 org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled 31 org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning 32 org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning 33 org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore 34 org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore 35 org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning 36 org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore 37 org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore 38 org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled 39 org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore 40 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore 41 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled 42 org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore 43 org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore 44 org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning 45 org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning 46 org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore 47 org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning 48 org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error 49 org.eclipse.jdt.core.compiler.problem.nullReference=warning 50 org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error 51 org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning 52 org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning 53 org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore 54 org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore 55 org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore 56 org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore 57 org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning 58 org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning 59 org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore 60 org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore 61 org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore 62 org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore 63 org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore 64 org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled 65 org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning 66 org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled 67 org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled 68 org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled 69 org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore 70 org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning 71 org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled 72 org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning 73 org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning 74 org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore 75 org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning 76 org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore 77 org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore 78 org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore 79 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore 80 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled 81 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled 82 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled 83 org.eclipse.jdt.core.compiler.problem.unusedImport=warning 84 org.eclipse.jdt.core.compiler.problem.unusedLabel=warning 85 org.eclipse.jdt.core.compiler.problem.unusedLocal=warning 86 org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore 87 org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore 88 org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled 89 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled 90 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled 91 org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning 92 org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore 93 org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning 94 org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning 7 95 org.eclipse.jdt.core.compiler.source=1.6 -
applications/editors/josm/plugins/addrinterpolation/build.xml
r29778 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for a JOSM plugin.4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in you default plugin directory) run16 **17 ** > ant install18 **19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration20 ** dialog. You have to check it in first.21 **22 -->23 2 <project name="AddrInterpolation" default="dist" basedir="."> 24 3 <!-- enter the SVN commit message --> 25 4 <property name="commit.message" value="Impoved Icon"/> 26 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 27 <property name="plugin.main.version" value="6 082"/>6 <property name="plugin.main.version" value="6162"/> 28 7 29 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/addrinterpolation/src/org/openstreetmap/josm/plugins/AddrInterpolation/AddrInterpolationAction.java
r27852 r29854 6 6 7 7 import java.awt.event.ActionEvent; 8 import java.awt.event.InputEvent;9 8 import java.awt.event.KeyEvent; 10 9 import java.util.Collection; … … 31 30 32 31 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")); 36 33 } 37 34 -
applications/editors/josm/plugins/addrinterpolation/src/org/openstreetmap/josm/plugins/AddrInterpolation/AddrInterpolationDialog.java
r28014 r29854 59 59 import org.openstreetmap.josm.tools.UrlLabel; 60 60 61 /**62 *63 */64 65 66 67 68 69 61 public class AddrInterpolationDialog extends JDialog implements ActionListener { 70 62 -
applications/editors/josm/plugins/alignways/build.xml
r29771 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for a JOSM plugin.4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in you default plugin directory) run16 **17 ** > ant install18 **19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration20 ** 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 other23 ** JOSM users:24 ** set the properties commit.message and plugin.main.version25 ** and run26 ** > ant publish27 **28 **29 -->30 2 <project name="alignways" default="dist" basedir="."> 31 3 <!-- enter the SVN commit message --> 32 4 <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"/> 38 7 <!-- 39 8 ************************************************ ** should not be -
applications/editors/josm/plugins/alignways/src/com/tilusnet/josm/plugins/alignways/AlignWaysCmdKeepAngles.java
r27619 r29854 7 7 8 8 import java.util.ArrayList; 9 import java.util.Collection;10 9 import java.util.Map; 11 10 … … 251 250 return AlignableStatus.ALGN_VALID; 252 251 } 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 else263 return false;264 }265 266 252 } -
applications/editors/josm/plugins/alignways/src/com/tilusnet/josm/plugins/alignways/AlignWaysCmdKeepLength.java
r27810 r29854 13 13 import javax.swing.Icon; 14 14 import javax.swing.JOptionPane; 15 import javax.swing.SwingConstants;16 15 17 16 import org.openstreetmap.josm.Main; -
applications/editors/josm/plugins/alignways/src/com/tilusnet/josm/plugins/alignways/AlignWaysDialog.java
r28624 r29854 6 6 import static org.openstreetmap.josm.tools.I18n.tr; 7 7 8 import java.awt.BorderLayout;9 8 import java.awt.Dimension; 10 9 import java.awt.FlowLayout; … … 17 16 import javax.swing.BoxLayout; 18 17 import javax.swing.ButtonGroup; 19 import javax.swing.JCheckBoxMenuItem;20 18 import javax.swing.JLabel; 21 19 import javax.swing.JPanel; -
applications/editors/josm/plugins/alignways/src/com/tilusnet/josm/plugins/alignways/AlignWaysWhatsNewPanel.java
r28420 r29854 36 36 * always regenerated by the Form Editor. 37 37 */ 38 @SuppressWarnings("unchecked")39 38 // <editor-fold defaultstate="collapsed" desc="Generated Code"> 40 39 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 20102 1 eclipse.preferences.version=1 2 org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled 3 org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore 4 org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull 5 org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault 6 org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable 7 org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled 8 org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning 9 org.eclipse.jdt.core.compiler.problem.autoboxing=ignore 10 org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning 11 org.eclipse.jdt.core.compiler.problem.deadCode=warning 12 org.eclipse.jdt.core.compiler.problem.deprecation=warning 13 org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled 14 org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled 15 org.eclipse.jdt.core.compiler.problem.discouragedReference=warning 16 org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore 17 org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore 18 org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore 19 org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled 20 org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore 21 org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning 22 org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning 23 org.eclipse.jdt.core.compiler.problem.forbiddenReference=error 24 org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning 25 org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled 26 org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning 27 org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning 28 org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore 29 org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore 30 org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning 31 org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore 32 org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore 33 org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled 34 org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore 35 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore 36 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled 37 org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore 38 org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore 39 org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning 40 org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning 41 org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore 42 org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning 43 org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error 44 org.eclipse.jdt.core.compiler.problem.nullReference=warning 45 org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error 46 org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning 47 org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning 48 org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore 49 org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore 50 org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore 51 org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore 52 org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning 53 org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning 54 org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore 55 org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore 56 org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore 57 org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore 58 org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore 59 org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled 60 org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning 61 org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled 62 org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled 63 org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled 64 org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore 65 org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning 66 org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled 67 org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning 68 org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning 69 org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore 70 org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning 71 org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore 72 org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore 73 org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore 74 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore 75 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled 76 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled 77 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled 78 org.eclipse.jdt.core.compiler.problem.unusedImport=warning 79 org.eclipse.jdt.core.compiler.problem.unusedLabel=warning 80 org.eclipse.jdt.core.compiler.problem.unusedLocal=warning 81 org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore 82 org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore 83 org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled 84 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled 85 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled 86 org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning 87 org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore 88 org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning 89 org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning 3 90 org.eclipse.jdt.core.formatter.align_type_members_on_columns=false 4 91 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 -
applications/editors/josm/plugins/buildings_tools/build.xml
r29771 r29854 4 4 <property name="commit.message" value="BuildingTools: update to current JOSM"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value="6 082"/>6 <property name="plugin.main.version" value="6162"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/cadastre-fr/build.xml
r29784 r29854 4 4 <property name="commit.message" value="Changed constructor for Plugin"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value="6 088"/>6 <property name="plugin.main.version" value="6162"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadSVGBuilding.java
r28961 r29854 183 183 // flip the image (svg using a reversed Y coordinate system) 184 184 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())); 187 188 } 188 189 return; … … 254 255 svg += line; 255 256 } 257 br.close(); 256 258 bos.close(); 257 259 } catch (IOException e) { -
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadSVGTask.java
r28961 r29854 155 155 // flip the image (svg using a reversed Y coordinate system) 156 156 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())); 159 160 } 160 161 return Math.abs(minX - viewBox.min.getX())+Math.abs(maxX - viewBox.max.getX()) … … 208 209 svg += line; 209 210 } 211 br.close(); 210 212 bos.close(); 211 213 } catch (IOException e) { -
applications/editors/josm/plugins/canvec_helper/build.xml
r29811 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for a JOSM plugin.4 **5 ** Maintaining versions6 ** ====================7 ** See README.template8 **9 ** Usage10 ** =====11 ** Call "ant help" to get possible build targets.12 **13 -->14 2 <project name="canvec_helper" default="dist" basedir="."> 15 3 <!-- enter the SVN commit message --> 16 4 <property name="commit.message" value="JOSM/Canvec_helper: update to new menu structure"/> 17 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 18 <property name="plugin.main.version" value="6 097"/>6 <property name="plugin.main.version" value="6162"/> 19 7 20 8 <!-- Configure these properties (replace "..." accordingly). … … 22 10 --> 23 11 <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"/> 25 13 <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"/> 26 14 -
applications/editors/josm/plugins/canvec_helper/src/org/openstreetmap/josm/plugins/canvec_helper/CanVecTile.java
r27950 r29854 23 23 24 24 public class CanVecTile { 25 canvec_layer layer;25 CanvecLayer layer; 26 26 public boolean can_download = false; 27 27 private ArrayList<String> sub_tile_ids = new ArrayList<String>(); … … 39 39 private Bounds bounds; 40 40 public String tileid; 41 public CanVecTile(String tileid, canvec_layer layer) {41 public CanVecTile(String tileid,CanvecLayer layer) { 42 42 String parta,partb,partc,partd; 43 43 parta = tileid.substring(0,3); … … 50 50 real_init(a,partb,c,partd,layer,new ArrayList<String>()); 51 51 } 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) { 53 53 real_init(a,b,c,d,layer,index); 54 54 } 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) { 56 56 this.index = index; 57 57 this.layer = layer; -
applications/editors/josm/plugins/canvec_helper/src/org/openstreetmap/josm/plugins/canvec_helper/CanvecHelper.java
r29853 r29854 6 6 import org.openstreetmap.josm.Main; 7 7 8 public class canvec_helper extends Plugin { 9 public canvec_helper(PluginInformation info) { 8 public class CanvecHelper extends Plugin { 9 10 public CanvecHelper(PluginInformation info) { 10 11 super(info); 11 System.out.println("in constructor");12 12 Main.main.menu.imagerySubMenu.add(new CanvecHelperAction(this)); 13 13 } 14 @Override 14 15 @Override 15 16 public void mapFrameInitialized(MapFrame old, MapFrame new1) { 16 17 updateLayer(); 17 18 } 19 18 20 private synchronized void updateLayer() { 19 21 } 20 private canvec_layer layer;21 22 } -
applications/editors/josm/plugins/canvec_helper/src/org/openstreetmap/josm/plugins/canvec_helper/CanvecHelperAction.java
r29805 r29854 5 5 6 6 public 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) { 9 9 super("CanVec Helper","layericon24",null,null,false); 10 10 parent_temp = parent; … … 12 12 @Override 13 13 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); 16 16 Main.main.addLayer(layer); 17 17 } -
applications/editors/josm/plugins/canvec_helper/src/org/openstreetmap/josm/plugins/canvec_helper/CanvecLayer.java
r29853 r29854 31 31 32 32 // most of the layout was copied from the openstreetbugs plugin to get things started 33 public class canvec_layer extends Layer implements MouseListener {33 public class CanvecLayer extends Layer implements MouseListener { 34 34 private Icon layerIcon = null; 35 35 private int max_zoom = 4; 36 public canvec_helper plugin_self;36 public CanvecHelper plugin_self; 37 37 private ArrayList<CanVecTile> tiles = new ArrayList<CanVecTile>(); 38 38 public ArrayList<CanVecTile> downloadable = new ArrayList<CanVecTile>(); 39 39 public ArrayList<CanVecTile> openable = new ArrayList<CanVecTile>(); 40 40 41 public canvec_layer(String name,canvec_helper self){41 public CanvecLayer(String name,CanvecHelper self){ 42 42 super(name); 43 43 plugin_self = self; … … 71 71 } else System.out.print("bad line '" + line + "'\n"); 72 72 } 73 br.close(); 73 74 CanVecTile tile = new CanVecTile(last_cell,"",0,"",this,list); 74 75 if (tile.isValid()) tiles.add(tile); … … 92 93 } 93 94 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) { 96 97 this.parent = parent; 97 98 } … … 124 125 } 125 126 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) { 128 129 this.layer = layer; 129 130 } … … 155 156 } 156 157 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) { 159 160 this.parent = parent; 160 161 } … … 207 208 tile.paint(g,mv,bounds,max_zoom); 208 209 } 209 long end = System.currentTimeMillis();210 //long end = System.currentTimeMillis(); 210 211 //System.out.println((end-start)+"ms spent"); 211 212 } -
applications/editors/josm/plugins/canvec_helper/src/org/openstreetmap/josm/plugins/canvec_helper/SetMaxZoom.java
r29805 r29854 5 5 6 6 class SetMaxZoom extends AbstractAction { 7 private canvec_layer parent;7 private CanvecLayer parent; 8 8 private int level; 9 public SetMaxZoom( canvec_layer parent,int level) {9 public SetMaxZoom(CanvecLayer parent,int level) { 10 10 super(""+level); 11 11 this.level = level; -
applications/editors/josm/plugins/colorscheme/build.xml
r29435 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for a JOSM plugin.4 **5 ** Maintaining versions6 ** ====================7 ** See README.template8 **9 ** Usage10 ** =====11 ** Call "ant help" to get possible build targets.12 **13 -->14 2 <project name="colorscheme" default="dist" basedir="."> 15 3 … … 17 5 <property name="commit.message" value="Uses new constructor for Plugin"/> 18 6 <!-- 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"/> 20 8 21 9 <property name="plugin.author" value="Christof Dallermassl"/> -
applications/editors/josm/plugins/colorscheme/src/at/dallermassl/josm/plugin/colorscheme/ColorSchemePreference.java
r29351 r29854 28 28 29 29 import org.openstreetmap.josm.Main; 30 import org.openstreetmap.josm.gui.preferences.display.ColorPreference;31 import org.openstreetmap.josm.gui.preferences.PreferenceDialog;32 30 import org.openstreetmap.josm.gui.preferences.PreferenceSetting; 33 31 import org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane; 34 32 import org.openstreetmap.josm.gui.preferences.SubPreferenceSetting; 35 33 import org.openstreetmap.josm.gui.preferences.TabPreferenceSetting; 34 import org.openstreetmap.josm.gui.preferences.display.ColorPreference; 36 35 import org.openstreetmap.josm.tools.GBC; 37 36 -
applications/editors/josm/plugins/czechaddress/build.xml
r29784 r29854 6 6 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 7 7 <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"/> 9 9 <target name="clean" description="Removes all build files and the plugins's jar"> 10 10 <delete dir="${plugin.build.dir}"/> … … 33 33 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/CS:JOSM/Plugins/CzechAddress"/> 34 34 <attribute name="Plugin-Icon" value="images/preferences/czech_flag.png"/> 35 <attribute name="Plugin-Mainversion" value="6 088"/>35 <attribute name="Plugin-Mainversion" value="6162"/> 36 36 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 37 37 </manifest> -
applications/editors/josm/plugins/czechaddress/nbproject/project.xml
r18892 r29854 87 87 <built-to>build</built-to> 88 88 <javadoc-built-to>doc</javadoc-built-to> 89 <source-level>1. 5</source-level>89 <source-level>1.6</source-level> 90 90 </compilation-unit> 91 91 <compilation-unit> 92 92 <package-root>tests</package-root> 93 93 <unit-tests/> 94 <source-level>1. 5</source-level>94 <source-level>1.6</source-level> 95 95 </compilation-unit> 96 96 </java-data> -
applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/ConflictResolver.java
r29727 r29854 78 78 * always regenerated by the Form Editor. 79 79 */ 80 @SuppressWarnings("unchecked")81 80 // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents 82 81 private void initComponents() { … … 411 410 } 412 411 } 413 412 /* 414 413 public void clear() { 415 414 logger.log(Level.FINE, "conflicts: clearing"); … … 425 424 listener.contentsChanged(evt); 426 425 } 427 426 */ 428 427 public void setSelectedItem(Object anItem) { 429 428 -
applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/FactoryDialog.java
r29727 r29854 257 257 * always regenerated by the Form Editor. 258 258 */ 259 @SuppressWarnings("unchecked")260 259 // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents 261 260 private void initComponents() { -
applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/LocationSelector.java
r29727 r29854 195 195 * always regenerated by the Form Editor. 196 196 */ 197 @SuppressWarnings("unchecked")198 197 // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents 199 198 private void initComponents() { -
applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/ManagerDialog.java
r29727 r29854 195 195 * always regenerated by the Form Editor. 196 196 */ 197 @SuppressWarnings("unchecked")198 197 // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents 199 198 private void initComponents() { … … 226 225 } 227 226 ) { 228 Class [] types = new Class [] {227 Class<?>[] types = new Class [] { 229 228 java.lang.Object.class, java.lang.String.class 230 229 }; … … 233 232 }; 234 233 235 public Class getColumnClass(int columnIndex) {234 public Class<?> getColumnClass(int columnIndex) { 236 235 return types [columnIndex]; 237 236 } -
applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/databaseeditors/HouseEditor.java
r29727 r29854 53 53 * always regenerated by the Form Editor. 54 54 */ 55 @SuppressWarnings("unchecked")56 55 // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents 57 56 private void initComponents() { -
applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/databaseeditors/StreetEditor.java
r29727 r29854 61 61 * always regenerated by the Form Editor. 62 62 */ 63 @SuppressWarnings("unchecked")64 63 // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents 65 64 private void initComponents() { -
applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/databaseeditors/SuburbEditor.java
r29727 r29854 70 70 * always regenerated by the Form Editor. 71 71 */ 72 @SuppressWarnings("unchecked")73 72 // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents 74 73 private void initComponents() { -
applications/editors/josm/plugins/dataimport/build.xml
r29435 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is the build file for the dataimport plugin.4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in you default plugin directory) run16 **17 ** > ant install18 **19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration20 ** 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 other23 ** JOSM users:24 ** set the properties commit.message and plugin.main.version25 ** and run26 ** > ant publish27 **28 -->29 2 <project name="dataimport" default="dist" basedir="."> 30 3 <!-- enter the SVN commit message --> 31 4 <property name="commit.message" value="Changed constructor signature, updated build.xml"/> 32 5 <!-- 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"/> 34 7 <!-- 35 8 ************************************************ … … 41 14 <!-- this is the directory where the plugin jar is copied to --> 42 15 <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"/> 44 17 <property name="plugin.dist.dir" value="../../dist"/> 45 18 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> -
applications/editors/josm/plugins/download_along/build.xml
r29778 r29854 4 4 <property name="commit.message" value="Changed the constructor signature of the plugin main class"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value="6 082"/>6 <property name="plugin.main.version" value="6162"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/editgpx/build.xml
r29596 r29854 4 4 <property name="commit.message" value="Changed constructor signature of plugin main class"/> 5 5 <!-- 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"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/epci-fr/build.xml
r29435 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for the epci-fr plugin.4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in you default plugin directory) run16 **17 ** > ant install18 **19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration20 ** 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 other23 ** JOSM users:24 ** set the properties commit.message and plugin.main.version25 ** and run26 ** > ant publish27 **28 **29 -->30 2 <project name="epci-fr" default="dist" basedir="."> 31 3 <!-- enter the SVN commit message --> 32 4 <property name="commit.message" value="Commit message"/> 33 5 <!-- 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"/> 35 7 36 8 <!-- 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 20102 1 eclipse.preferences.version=1 2 org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled 3 org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore 4 org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull 5 org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault 6 org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable 7 org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled 3 8 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 4 9 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 … … 8 13 org.eclipse.jdt.core.compiler.debug.localVariable=generate 9 14 org.eclipse.jdt.core.compiler.debug.sourceFile=generate 15 org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning 10 16 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 17 org.eclipse.jdt.core.compiler.problem.autoboxing=ignore 18 org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning 19 org.eclipse.jdt.core.compiler.problem.deadCode=warning 20 org.eclipse.jdt.core.compiler.problem.deprecation=warning 21 org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled 22 org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled 23 org.eclipse.jdt.core.compiler.problem.discouragedReference=warning 24 org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore 11 25 org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 26 org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore 27 org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore 28 org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled 29 org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore 30 org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning 31 org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning 32 org.eclipse.jdt.core.compiler.problem.forbiddenReference=error 33 org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning 34 org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled 35 org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning 36 org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning 37 org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore 38 org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore 39 org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning 40 org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore 41 org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore 42 org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled 43 org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore 44 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore 45 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled 46 org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore 47 org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore 48 org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning 49 org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning 50 org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore 51 org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning 52 org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error 53 org.eclipse.jdt.core.compiler.problem.nullReference=warning 54 org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error 55 org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning 56 org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning 57 org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore 58 org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore 59 org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore 60 org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore 61 org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning 62 org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning 63 org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore 64 org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore 65 org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore 66 org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore 67 org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore 68 org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled 69 org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning 70 org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled 71 org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled 72 org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled 73 org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore 74 org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning 75 org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled 76 org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning 77 org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning 78 org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore 79 org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning 80 org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore 81 org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore 82 org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore 83 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore 84 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled 85 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled 86 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled 87 org.eclipse.jdt.core.compiler.problem.unusedImport=warning 88 org.eclipse.jdt.core.compiler.problem.unusedLabel=warning 89 org.eclipse.jdt.core.compiler.problem.unusedLocal=warning 90 org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore 91 org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore 92 org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled 93 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled 94 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled 95 org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning 96 org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore 97 org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning 98 org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning 12 99 org.eclipse.jdt.core.compiler.source=1.6 -
applications/editors/josm/plugins/ext_tools/build.xml
r29435 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for a JOSM plugin.4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in you default plugin directory) run16 **17 ** > ant install18 **19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration20 ** 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 other23 ** JOSM users:24 ** set the properties commit.message and plugin.main.version25 ** and run26 ** > ant publish27 **28 **29 -->30 2 <project name="ext_tools" default="dist" basedir="."> 31 3 <!-- enter the SVN commit message --> 32 4 <property name="commit.message" value="ExtTools: help shortcut paser, rebuild"/> 33 5 <!-- 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"/> 35 7 <!-- 36 8 ************************************************ … … 42 14 <!-- this is the directory where the plugin jar is copied to --> 43 15 <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"/> 45 17 <property name="plugin.dist.dir" value="../../dist"/> 46 18 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> -
applications/editors/josm/plugins/geochat/build.xml
r29588 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for a JOSM plugin.4 **5 ** Maintaining versions6 ** ====================7 ** See README.template8 **9 ** Usage10 ** =====11 ** Call "ant help" to get possible build targets.12 **13 -->14 2 <project name="geochat" default="dist" basedir="."> 15 3 … … 17 5 <property name="commit.message" value="[josm_geochat] copypaste from keyboard, font size advanced parameters"/> 18 6 <!-- 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"/> 20 8 21 9 <property name="plugin.author" value="Ilya Zverev"/> -
applications/editors/josm/plugins/geochat/src/geochat/ChatMessage.java
r29584 r29854 10 10 * @author zverik 11 11 */ 12 public class ChatMessage implements Comparable {12 public class ChatMessage implements Comparable<ChatMessage> { 13 13 private LatLon pos; 14 14 private Date time; … … 96 96 } 97 97 98 public int compareTo( Objecto) {99 long otherId = ((ChatMessage)o).id;98 public int compareTo(ChatMessage o) { 99 long otherId = o.id; 100 100 return otherId < id ? 1 : otherId == id ? 0 : 1; 101 101 } -
applications/editors/josm/plugins/geochat/src/geochat/ChatServerConnection.java
r29851 r29854 1 1 // License: WTFPL 2 2 package geochat; 3 4 import static org.openstreetmap.josm.tools.I18n.tr; 3 5 4 6 import java.io.IOException; 5 7 import java.io.UnsupportedEncodingException; 6 8 import java.net.URLEncoder; 7 import java.util.*; 8 import java.util.logging.*; 9 import java.util.ArrayList; 10 import java.util.Date; 11 import java.util.HashMap; 12 import java.util.HashSet; 13 import java.util.List; 14 import java.util.Map; 15 import java.util.Set; 16 9 17 import org.json.JSONArray; 10 18 import org.json.JSONException; … … 15 23 import org.openstreetmap.josm.data.projection.Projection; 16 24 import org.openstreetmap.josm.gui.MapView; 17 import static org.openstreetmap.josm.tools.I18n.tr;18 25 19 26 /** -
applications/editors/josm/plugins/globalsat/build.xml
r29435 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is the build file for the globalsat plugin.4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in you default plugin directory) run16 **17 ** > ant install18 **19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration20 ** 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 other23 ** JOSM users:24 ** set the properties commit.message and plugin.main.version25 ** and run26 ** > ant publish27 **28 **29 -->30 2 <project name="globalsat" default="dist" basedir="."> 31 3 <!-- enter the SVN commit message --> 32 4 <property name="commit.message" value="Changed constructor signature of plugin main class"/> 33 5 <!-- 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"/> 35 7 <!-- 36 8 ************************************************ … … 41 13 <property name="plugin.build.dir" value="build"/> 42 14 <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"/> 44 16 <property name="RXTX" location="./libs/RXTXcomm.jar"/> 45 17 <target name="init"> -
applications/editors/josm/plugins/globalsat/src/org/kaintoch/gps/globalsat/dg100/Dg100Config.java
r13497 r29854 5 5 package org.kaintoch.gps.globalsat.dg100; 6 6 7 import java.io.*; 7 import java.io.FileInputStream; 8 import java.io.FileOutputStream; 9 import java.io.InputStream; 10 import java.io.OutputStream; 8 11 import java.nio.ByteBuffer; 9 12 import java.util.Properties; -
applications/editors/josm/plugins/globalsat/src/org/kaintoch/gps/globalsat/dg100/GpsRec.java
r20039 r29854 5 5 package org.kaintoch.gps.globalsat.dg100; 6 6 7 import java.nio.*; 8 import java.text.*; 9 import java.util.*; 7 import java.nio.ByteBuffer; 8 import java.text.SimpleDateFormat; 9 import java.util.Calendar; 10 import java.util.GregorianCalendar; 10 11 11 12 /** -
applications/editors/josm/plugins/globalsat/src/org/kaintoch/gps/globalsat/dg100/Response.java
r13497 r29854 56 56 { 57 57 int recType = 2; 58 int ii = 0;59 58 // read part 1 60 59 while (buf.position() <= len) … … 70 69 } 71 70 recType = gpsRec.getDg100TypeOfNextRec(); 72 ++ii;73 71 } 74 72 // read part 2 … … 86 84 } 87 85 recType = gpsRec.getDg100TypeOfNextRec(); 88 ++ii;89 86 } 90 87 } -
applications/editors/josm/plugins/globalsat/src/org/openstreetmap/josm/plugins/globalsat/GlobalsatConfigDialog.java
r13497 r29854 5 5 6 6 import static org.openstreetmap.josm.tools.I18n.tr; 7 7 import gnu.io.CommPortIdentifier; 8 9 import java.awt.Dimension; 10 import java.awt.GridBagConstraints; 8 11 import java.awt.GridBagLayout; 9 12 import java.awt.Insets; 10 import java.awt.Dimension;11 import java.awt.GridBagConstraints;12 13 import java.awt.event.ActionListener; 13 14 import java.awt.event.KeyEvent; 14 import java.util. ArrayList;15 import java.util.LinkedList; 15 16 import java.util.List; 16 import java.util.LinkedList; 17 import java.util.Enumeration; 18 17 18 import javax.swing.BoxLayout; 19 19 import javax.swing.ButtonGroup; 20 20 import javax.swing.JCheckBox; 21 import javax.swing.J TextField;21 import javax.swing.JComboBox; 22 22 import javax.swing.JLabel; 23 import javax.swing.JList;24 23 import javax.swing.JOptionPane; 25 24 import javax.swing.JPanel; 26 25 import 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.*; 26 import javax.swing.JTextField; 35 27 36 28 import org.kaintoch.gps.globalsat.dg100.Dg100Config; 37 38 29 import 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;48 30 49 31 -
applications/editors/josm/plugins/globalsat/src/org/openstreetmap/josm/plugins/globalsat/GlobalsatImportDialog.java
r13497 r29854 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; 5 import gnu.io.CommPortIdentifier; 5 6 7 import java.awt.GridBagConstraints; 6 8 import java.awt.GridBagLayout; 7 9 import java.awt.Insets; 8 import java.awt.GridBagConstraints;9 10 import java.awt.event.ActionListener; 10 import java.util.ArrayList; 11 import java.util.Enumeration; 12 import java.util.LinkedList; 11 13 import java.util.List; 12 import java.util.LinkedList;13 import java.util.Enumeration;14 14 15 import javax.swing.JButton; 15 16 import javax.swing.JCheckBox; 17 import javax.swing.JComboBox; 18 import javax.swing.JDialog; 16 19 import javax.swing.JLabel; 17 20 import javax.swing.JList; 18 21 import javax.swing.JOptionPane; 19 22 import javax.swing.JPanel; 20 import javax.swing.JButton;21 import javax.swing.JTabbedPane;22 import javax.swing.JComboBox;23 23 import javax.swing.ListCellRenderer; 24 import javax.swing.JDialog;25 26 import gnu.io.*;27 24 28 25 import 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;38 26 39 27 /** -
applications/editors/josm/plugins/gpxfilter/build.xml
r29778 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for a JOSM plugin.4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in you default plugin directory) run16 **17 ** > ant install18 **19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration20 ** 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 other23 ** JOSM users:24 ** set the properties commit.message and plugin.main.version25 ** and run26 ** > ant publish27 **28 **29 -->30 2 <project name="gpxfilter" default="dist" basedir="."> 31 3 <!-- enter the SVN commit message --> 32 4 <property name="commit.message" value="GPXFilter: moved to Alt-Shift-X"/> 33 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 34 <property name="plugin.main.version" value="6 082"/>6 <property name="plugin.main.version" value="6162"/> 35 7 36 8 <property name="plugin.author" value="Upliner"/> -
applications/editors/josm/plugins/graphview/.settings/org.eclipse.jdt.core.prefs
r29853 r29854 1 1 eclipse.preferences.version=1 2 org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled 3 org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore 4 org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull 5 org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault 6 org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable 7 org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled 2 8 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 9 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 4 10 org.eclipse.jdt.core.compiler.compliance=1.6 11 org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning 5 12 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 13 org.eclipse.jdt.core.compiler.problem.autoboxing=ignore 14 org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning 15 org.eclipse.jdt.core.compiler.problem.deadCode=warning 16 org.eclipse.jdt.core.compiler.problem.deprecation=warning 17 org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled 18 org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled 19 org.eclipse.jdt.core.compiler.problem.discouragedReference=warning 20 org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore 6 21 org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 22 org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore 23 org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore 24 org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled 25 org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore 26 org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning 27 org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning 28 org.eclipse.jdt.core.compiler.problem.forbiddenReference=error 29 org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning 30 org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled 31 org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning 32 org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning 33 org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore 34 org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore 35 org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning 36 org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore 37 org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore 38 org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled 39 org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore 40 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore 41 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled 42 org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore 43 org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore 44 org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning 45 org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning 46 org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore 47 org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning 48 org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error 49 org.eclipse.jdt.core.compiler.problem.nullReference=warning 50 org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error 51 org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning 52 org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning 53 org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore 54 org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore 55 org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore 56 org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore 57 org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning 58 org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning 59 org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore 60 org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore 61 org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore 62 org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore 63 org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore 64 org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled 65 org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning 66 org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled 67 org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled 68 org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled 69 org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore 70 org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning 71 org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled 72 org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning 73 org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning 74 org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore 75 org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning 76 org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore 77 org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore 78 org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore 79 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore 80 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled 81 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled 82 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled 83 org.eclipse.jdt.core.compiler.problem.unusedImport=warning 84 org.eclipse.jdt.core.compiler.problem.unusedLabel=warning 85 org.eclipse.jdt.core.compiler.problem.unusedLocal=warning 86 org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore 87 org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore 88 org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled 89 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled 90 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled 91 org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning 92 org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore 93 org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning 94 org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning 7 95 org.eclipse.jdt.core.compiler.source=1.6 -
applications/editors/josm/plugins/graphview/build.xml
r29435 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is the build file for the graphview plugin4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in your default plugin directory) run16 **17 ** > ant install18 **19 ** To build against the core in ../../core, create a correct manifest and deploy to20 ** SVN,21 ** set the properties commit.message and plugin.main.version22 ** and run23 ** > ant publish24 **25 **26 -->27 2 <project name="graphview" default="dist" basedir="."> 28 3 <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"/> 30 5 <property name="josm" location="../../core/dist/josm-custom.jar"/> 31 6 <property name="plugin.build.dir" value="build"/> … … 33 8 <!-- this is the directory where the plugin jar is copied to --> 34 9 <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"/> 36 11 <property name="plugin.dist.dir" value="../../dist"/> 37 12 <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 2 2 3 3 import java.util.Collection; 4 import java.util.List;5 4 6 5 import org.openstreetmap.josm.plugins.graphview.core.property.GraphEdgePropertyType; 7 import org.openstreetmap.josm.plugins.graphview.core.transition.Segment;8 6 9 7 /** -
applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/core/graph/TSBasedWayGraph.java
r23189 r29854 89 89 } 90 90 public <V> V getPropertyValue(GraphEdgePropertyType<V> property) { 91 @SuppressWarnings("unchecked") 91 92 V result = (V) properties.get(property); 92 93 return result; … … 429 430 430 431 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>(); 433 433 set.add(object); 434 434 objectSetMap.put(object, set); 435 435 } 436 437 436 } 438 437 -
applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/core/transition/GenericTransitionStructure.java
r23189 r29854 66 66 } 67 67 68 public <P> void setProperty(RoadPropertyType<P> property, P value) {68 /*public <P> void setProperty(RoadPropertyType<P> property, P value) { 69 69 properties.put(property, value); 70 } 70 }*/ 71 71 public Collection<RoadPropertyType<?>> getAvailableProperties() { 72 72 return properties.keySet(); … … 102 102 return node2; 103 103 } 104 public <P> void setProperty(RoadPropertyType<P> property, P value) {104 /*public <P> void setProperty(RoadPropertyType<P> property, P value) { 105 105 properties.put(property, value); 106 } 106 }*/ 107 107 public Collection<RoadPropertyType<?>> getAvailableProperties() { 108 108 return properties.keySet(); -
applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/plugin/dialogs/AccessParameterDialog.java
r26174 r29854 1 1 package org.openstreetmap.josm.plugins.graphview.plugin.dialogs; 2 3 import static org.openstreetmap.josm.tools.I18n.tr;4 2 5 3 import static org.openstreetmap.josm.plugins.graphview.core.property.VehiclePropertyTypes.MAX_INCLINE_DOWN; … … 7 5 import static org.openstreetmap.josm.plugins.graphview.core.property.VehiclePropertyTypes.MAX_TRACKTYPE; 8 6 import static org.openstreetmap.josm.plugins.graphview.core.property.VehiclePropertyTypes.SURFACE_BLACKLIST; 7 import static org.openstreetmap.josm.tools.I18n.tr; 9 8 10 9 import java.awt.Frame; -
applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/plugin/dialogs/GraphViewDialog.java
r27359 r29854 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 4 5 import java.awt.BorderLayout;6 5 import java.awt.Color; 7 6 import java.awt.GridBagConstraints; … … 28 27 import javax.swing.JPanel; 29 28 29 import org.openstreetmap.josm.gui.SideButton; 30 30 import org.openstreetmap.josm.gui.dialogs.ToggleDialog; 31 import org.openstreetmap.josm.gui.SideButton;32 31 import org.openstreetmap.josm.plugins.graphview.core.access.AccessRulesetReader; 33 32 import org.openstreetmap.josm.plugins.graphview.core.visualisation.ColorScheme; -
applications/editors/josm/plugins/imagery-xml-bounds/build.xml
r29710 r29854 4 4 <property name="commit.message" value="Commit message"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value="6 031"/>6 <property name="plugin.main.version" value="6162"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/imageryadjust/build.xml
r29608 r29854 2 2 <project name="imageryadjust" default="dist" basedir="."> 3 3 <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"/> 5 5 6 6 <property name="plugin.author" value="Upliner"/> -
applications/editors/josm/plugins/imagewaypoint/build.xml
r29799 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is the build file for the ImageWayPoint plugin.4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in you default plugin directory) run16 **17 ** > ant install18 **19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration20 ** 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 other23 ** JOSM users:24 ** set the properties commit.message and plugin.main.version25 ** and run26 ** > ant publish27 **28 **29 -->30 2 <project name="ImageWayPoint" default="dist" basedir="."> 31 3 <!-- enter the SVN commit message --> 32 4 <property name="commit.message" value="[josm/ImageWayPoint] move opening to File/Open"/> 33 5 <!-- 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"/> 35 7 36 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/imagewaypoint/src/org/insignificant/josm/plugins/imagewaypoint/ImageWayPointDialog.java
r27852 r29854 18 18 import org.openstreetmap.josm.actions.JosmAction; 19 19 import org.openstreetmap.josm.gui.dialogs.ToggleDialog; 20 import org.openstreetmap.josm.tools.I18n;21 20 import org.openstreetmap.josm.tools.Shortcut; 22 21 -
applications/editors/josm/plugins/importvec/build.xml
r29794 r29854 4 4 <property name="commit.message" value="Remove the action, add importing SVG to File/Open"/> 5 5 <!-- 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"/> 7 7 8 8 <property name="plugin.author" value="Upliner"/> -
applications/editors/josm/plugins/importvec/src/org/openstreetmap/josm/plugins/importvec/ImportVecPlugin.java
r29794 r29854 1 1 package org.openstreetmap.josm.plugins.importvec; 2 2 3 import org.openstreetmap.josm.Main;4 3 import org.openstreetmap.josm.actions.ExtensionFileFilter; 5 4 import org.openstreetmap.josm.plugins.Plugin; -
applications/editors/josm/plugins/importvec/src/org/openstreetmap/josm/plugins/importvec/SvgImporter.java
r29796 r29854 1 1 package org.openstreetmap.josm.plugins.importvec; 2 3 import static org.openstreetmap.josm.tools.I18n.tr; 2 4 3 5 import java.io.File; 4 6 import java.io.IOException; 5 import java.util.Arrays;6 7 import java.util.List; 8 7 9 import javax.swing.JOptionPane; 10 8 11 import org.openstreetmap.josm.Main; 9 12 import org.openstreetmap.josm.actions.ExtensionFileFilter; 10 import org.openstreetmap.josm.data.osm.DataSet;11 import org.openstreetmap.josm.gui.layer.OsmDataLayer;12 13 import org.openstreetmap.josm.gui.progress.ProgressMonitor; 13 14 import org.openstreetmap.josm.io.FileImporter; 14 15 import org.openstreetmap.josm.io.IllegalDataException; 15 16 import static org.openstreetmap.josm.tools.I18n.tr;17 16 18 17 /** -
applications/editors/josm/plugins/infomode/build.xml
r29435 r29854 39 39 <!-- this is the directory where the plugin jar is copied to --> 40 40 <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"/> 42 42 <property name="plugin.dist.dir" value="../../dist"/> 43 43 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> -
applications/editors/josm/plugins/irsrectify/build.xml
r29435 r29854 42 42 <!-- this is the directory where the plugin jar is copied to --> 43 43 <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"/> 45 45 <property name="plugin.dist.dir" value="../../dist"/> 46 46 <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 1 1 eclipse.preferences.version=1 2 org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled 3 org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore 4 org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull 5 org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault 6 org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable 7 org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled 2 8 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 9 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 … … 7 13 org.eclipse.jdt.core.compiler.debug.localVariable=generate 8 14 org.eclipse.jdt.core.compiler.debug.sourceFile=generate 15 org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning 9 16 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 17 org.eclipse.jdt.core.compiler.problem.autoboxing=ignore 18 org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning 19 org.eclipse.jdt.core.compiler.problem.deadCode=warning 20 org.eclipse.jdt.core.compiler.problem.deprecation=warning 21 org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled 22 org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled 23 org.eclipse.jdt.core.compiler.problem.discouragedReference=warning 24 org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore 10 25 org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 26 org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore 27 org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore 28 org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled 29 org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore 30 org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning 31 org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning 32 org.eclipse.jdt.core.compiler.problem.forbiddenReference=error 33 org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning 34 org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled 35 org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning 36 org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning 37 org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore 38 org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore 39 org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning 40 org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore 41 org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore 42 org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled 43 org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore 44 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore 45 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled 46 org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore 47 org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore 48 org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning 49 org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning 50 org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore 51 org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning 52 org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error 53 org.eclipse.jdt.core.compiler.problem.nullReference=warning 54 org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error 55 org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning 56 org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning 57 org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore 58 org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore 59 org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore 60 org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore 61 org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning 62 org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning 63 org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore 64 org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore 65 org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore 66 org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore 67 org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore 68 org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled 69 org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning 70 org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled 71 org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled 72 org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled 73 org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore 74 org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning 75 org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled 76 org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning 77 org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning 78 org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore 79 org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning 80 org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore 81 org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore 82 org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore 83 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore 84 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled 85 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled 86 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled 87 org.eclipse.jdt.core.compiler.problem.unusedImport=warning 88 org.eclipse.jdt.core.compiler.problem.unusedLabel=warning 89 org.eclipse.jdt.core.compiler.problem.unusedLocal=warning 90 org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore 91 org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore 92 org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled 93 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled 94 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled 95 org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning 96 org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore 97 org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning 98 org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning 11 99 org.eclipse.jdt.core.compiler.source=1.6 -
applications/editors/josm/plugins/jts/build.xml
r29613 r29854 4 4 <property name="commit.message" value="Commit message"/> 5 5 <!-- 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"/> 7 7 8 8 <property name="plugin.author" value="Josh Doe <josh@joshdoe.com>"/> -
applications/editors/josm/plugins/junctionchecking/.settings/org.eclipse.jdt.core.prefs
r29853 r29854 1 1 eclipse.preferences.version=1 2 org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled 3 org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore 4 org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull 5 org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault 6 org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable 7 org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled 2 8 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 9 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 … … 7 13 org.eclipse.jdt.core.compiler.debug.localVariable=generate 8 14 org.eclipse.jdt.core.compiler.debug.sourceFile=generate 15 org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning 9 16 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 17 org.eclipse.jdt.core.compiler.problem.autoboxing=ignore 18 org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning 19 org.eclipse.jdt.core.compiler.problem.deadCode=warning 20 org.eclipse.jdt.core.compiler.problem.deprecation=warning 21 org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled 22 org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled 23 org.eclipse.jdt.core.compiler.problem.discouragedReference=warning 24 org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore 10 25 org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 26 org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore 27 org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore 28 org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled 29 org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore 30 org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning 31 org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning 32 org.eclipse.jdt.core.compiler.problem.forbiddenReference=error 33 org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning 34 org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled 35 org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning 36 org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning 37 org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore 38 org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore 39 org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning 40 org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore 41 org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore 42 org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled 43 org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore 44 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore 45 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled 46 org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore 47 org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore 48 org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning 49 org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning 50 org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore 51 org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning 52 org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error 53 org.eclipse.jdt.core.compiler.problem.nullReference=warning 54 org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error 55 org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning 56 org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning 57 org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore 58 org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore 59 org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore 60 org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore 61 org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning 62 org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning 63 org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore 64 org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore 65 org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore 66 org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore 67 org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore 68 org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled 69 org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning 70 org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled 71 org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled 72 org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled 73 org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore 74 org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning 75 org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled 76 org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning 77 org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning 78 org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore 79 org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning 80 org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore 81 org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore 82 org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore 83 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore 84 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled 85 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled 86 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled 87 org.eclipse.jdt.core.compiler.problem.unusedImport=warning 88 org.eclipse.jdt.core.compiler.problem.unusedLabel=warning 89 org.eclipse.jdt.core.compiler.problem.unusedLocal=warning 90 org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore 91 org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore 92 org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled 93 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled 94 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled 95 org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning 96 org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore 97 org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning 98 org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning 11 99 org.eclipse.jdt.core.compiler.source=1.6 -
applications/editors/josm/plugins/junctionchecking/build.xml
r29596 r29854 3 3 <property name="commit.message" value="Changed the constructor signature of the plugin main class"/> 4 4 <!-- 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"/> 6 6 7 7 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/connectedness/DiGraphSealer.java
r25501 r29854 1 1 package org.openstreetmap.josm.plugins.JunctionChecker.connectedness; 2 2 3 import java.util.ArrayList;4 3 import java.util.Vector; 4 5 5 import org.openstreetmap.josm.plugins.JunctionChecker.datastructure.Channel; 6 6 import org.openstreetmap.josm.plugins.JunctionChecker.datastructure.ChannelDiGraph; … … 45 45 } 46 46 } 47 int counter = 0;48 47 Channel tempChannel; 49 48 LeadsTo tempLeadsTo; … … 73 72 newID++; 74 73 digraph.addChannel(tempChannel); 75 counter++;76 74 } 77 75 } … … 103 101 newID++; 104 102 digraph.addChannel(tempChannel); 105 counter++;106 103 } 107 104 } … … 125 122 */ 126 123 private void deleteDuplicateChannels() { 127 ArrayList<Integer> pointer = new ArrayList<Integer>();128 124 129 125 for (int i = 0; i < digraph.getChannels().size(); i++) { … … 136 132 } 137 133 } 138 139 134 } 140 135 } -
applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/converting/PseudoChannelRemover.java
r25501 r29854 13 13 14 14 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>(); 17 16 private Channel succChannel; 18 private String s;19 17 private Channel tempToChannel; 20 18 private LeadsTo tempLeadsTo; … … 27 25 succChannel = tempchannel.getLeadsTo().get(0).getToChannel(); 28 26 tempchannel.setToNode(succChannel.getToNode()); 29 s = "";30 27 //log.trace("---Folgender Channel ist überflüssig: " + succChannel.getNewid() + "---"); 31 28 //log.trace("... und wird durch diesen ersetzt: " + tempchannel.getNewid()); … … 57 54 digraph.removeChannel(succChannel); 58 55 //pseudochannels.add(tempchannel.getSuccChannels().get(0)); 59 c++;60 56 } 61 57 -
applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/converting/TurnRestrictionChecker.java
r25501 r29854 20 20 private final ArrayList<OSMRelation> turnrestrictionsrelations = new ArrayList<OSMRelation>(); 21 21 private final ChannelDiGraph channelDigraph; 22 private final boolean isInturnrestriction;23 22 private int relationpointer; 24 23 private LeadsTo tempLeadsTo; … … 35 34 } 36 35 this.channelDigraph = channelDigraph; 37 this.isInturnrestriction = false;38 36 } 39 37 -
applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/datastructure/OSMRelation.java
r25501 r29854 64 64 } 65 65 66 public Class getType() {66 public Class<? extends OSMEntity> getType() { 67 67 return member.getClass(); 68 68 } -
applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/junctionchecking/BackPropagation.java
r25501 r29854 11 11 public class BackPropagation { 12 12 13 private Channel y;14 private Channel z;15 13 private final ChannelDiGraph digraph; 16 14 … … 25 23 */ 26 24 public void backPropagation(Channel y, Channel z, Channel zstrich) { 27 this.y = y;28 this.z = z;29 25 for (int i = 0; i < z.getReachableNodes().size(); i++) { 30 26 y.addReachableNode(z.getReachableNodeAt(i)); -
applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/junctionchecking/JMinimality.java
r25501 r29854 30 30 private long EEovern = 0; 31 31 private final HashSet<Channel> subgraph = new HashSet<Channel>();//The candidate subgraph to be tested 32 private double durchlauf = 1;33 32 private ProgressMonitor pm; 34 33 private final boolean pmenabled; 35 private final ArrayList<Integer> anzahlchannels = new ArrayList<Integer>();36 34 private final ArrayList<HashSet<Channel>> junctions = new ArrayList<HashSet<Channel>>(); 37 35 private final boolean searchFirstJunction; … … 85 83 86 84 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); 88 86 long ans = c.Choose(); //This is the number of subcolumns to be generated 89 87 int[][] v; // this is a column variable containing n y-index entries plus true false values (0/1) … … 135 133 ArrayList<int[]> CandidateK = new ArrayList<int[]>(n*n); //saves the candidate K_{n-1} in entry-exit pairs 136 134 long lindex= 0; 137 int countk = 0;138 135 int h = 0; 139 136 int m = 0; … … 188 185 } 189 186 if (missing <=1 && smallerjunction == true){//The k-subgrid is a different junction candidate satisfying total reachability 190 countk++;191 187 CheckMinimal = CheckSmallJunction(CandidateK)==false;// If the candidate is a smaller junction, then minimality is false 192 durchlauf++;193 188 //log.info("durchlauf: " + durchlauf + " Wert von CheckMinimal: " + CheckMinimal); 194 189 if (!CheckMinimal) { -
applications/editors/josm/plugins/lakewalker/.settings/org.eclipse.jdt.core.prefs
r29723 r29854 1 1 eclipse.preferences.version=1 2 org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled 3 org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore 4 org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull 5 org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault 6 org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable 7 org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled 2 8 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 9 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 4 10 org.eclipse.jdt.core.compiler.compliance=1.6 11 org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning 5 12 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 13 org.eclipse.jdt.core.compiler.problem.autoboxing=ignore 14 org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning 15 org.eclipse.jdt.core.compiler.problem.deadCode=warning 16 org.eclipse.jdt.core.compiler.problem.deprecation=warning 17 org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled 18 org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled 19 org.eclipse.jdt.core.compiler.problem.discouragedReference=warning 20 org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore 6 21 org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 22 org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore 23 org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore 24 org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled 25 org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore 26 org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning 27 org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning 28 org.eclipse.jdt.core.compiler.problem.forbiddenReference=error 29 org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning 30 org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled 31 org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning 32 org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning 33 org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore 34 org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore 35 org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning 36 org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore 37 org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore 38 org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled 39 org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore 40 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore 41 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled 42 org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore 43 org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore 44 org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning 45 org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning 46 org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore 47 org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning 48 org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error 49 org.eclipse.jdt.core.compiler.problem.nullReference=warning 50 org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error 51 org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning 52 org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning 53 org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore 54 org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore 55 org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore 56 org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore 57 org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning 58 org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning 59 org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore 60 org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore 61 org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore 62 org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore 63 org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore 64 org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled 65 org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning 66 org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled 67 org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled 68 org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled 69 org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore 70 org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning 71 org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled 72 org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning 73 org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning 74 org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore 75 org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning 76 org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore 77 org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore 78 org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore 79 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore 80 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled 81 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled 82 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled 83 org.eclipse.jdt.core.compiler.problem.unusedImport=warning 84 org.eclipse.jdt.core.compiler.problem.unusedLabel=warning 85 org.eclipse.jdt.core.compiler.problem.unusedLocal=warning 86 org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore 87 org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore 88 org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled 89 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled 90 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled 91 org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning 92 org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore 93 org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning 94 org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning 7 95 org.eclipse.jdt.core.compiler.source=1.6 -
applications/editors/josm/plugins/lakewalker/build.xml
r29771 r29854 5 5 <property name="commit.message" value="Changed the constructor signature of the plugin main class"/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="6 082"/>7 <property name="plugin.main.version" value="6162"/> 8 8 9 9 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/lakewalker/src/org/openstreetmap/josm/plugins/lakewalker/LakewalkerPreferences.java
r27863 r29854 88 88 sourceConfig.setToolTipText(tr("Data source text. Default is Landsat.")); 89 89 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."); 91 91 JPanel prefPanel = gui.createPreferenceTab(this); 92 92 buildPreferences(prefPanel); -
applications/editors/josm/plugins/livegps/build.xml
r29771 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is the build file for the livegps plugin4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in your default plugin directory) run16 **17 ** > ant install18 **19 ** To build against the core in ../../core, create a correct manifest and deploy to20 ** SVN,21 ** set the properties commit.message and plugin.main.version22 ** and run23 ** > ant publish24 **25 **26 -->27 2 <project name="livegps" default="dist" basedir="."> 28 3 <property name="commit.message" value="Changed the constructor signature of the plugin main class"/> 29 <property name="plugin.main.version" value="6 082"/>4 <property name="plugin.main.version" value="6162"/> 30 5 <!-- 31 6 ************************************************ … … 36 11 <property name="plugin.build.dir" value="build"/> 37 12 <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"/> 39 14 <target name="init"> 40 15 <mkdir dir="${plugin.build.dir}"/> -
applications/editors/josm/plugins/livegps/src/livegps/LiveGpsPlugin.java
r29778 r29854 1 1 package livegps; 2 2 3 import static org.openstreetmap.josm.gui.help.HelpUtil.ht;4 import static org.openstreetmap.josm.tools.I18n.marktr;5 3 import static org.openstreetmap.josm.tools.I18n.tr; 6 4 … … 13 11 import javax.swing.JCheckBoxMenuItem; 14 12 import javax.swing.JMenu; 15 import javax.swing.JMenuItem;16 13 17 14 import org.openstreetmap.josm.Main; -
applications/editors/josm/plugins/mapdust/build.xml
r29435 r29854 3 3 <!-- properties --> 4 4 <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"/> 6 6 7 7 <property name="apidoc.dir" value="doc"/> -
applications/editors/josm/plugins/measurement/build.xml
r29750 r29854 4 4 <property name="commit.message" value="recompile dure to core change"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value="6 056"/>6 <property name="plugin.main.version" value="6162"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/merge-overlap/.settings/org.eclipse.jdt.core.prefs
r29645 r29854 1 1 eclipse.preferences.version=1 2 org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled 3 org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore 4 org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull 5 org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault 6 org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable 7 org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled 2 8 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 9 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 … … 7 13 org.eclipse.jdt.core.compiler.debug.localVariable=generate 8 14 org.eclipse.jdt.core.compiler.debug.sourceFile=generate 15 org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning 9 16 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 17 org.eclipse.jdt.core.compiler.problem.autoboxing=ignore 18 org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning 19 org.eclipse.jdt.core.compiler.problem.deadCode=warning 20 org.eclipse.jdt.core.compiler.problem.deprecation=warning 21 org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled 22 org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled 23 org.eclipse.jdt.core.compiler.problem.discouragedReference=warning 24 org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore 10 25 org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 26 org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore 27 org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore 28 org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled 29 org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore 30 org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning 31 org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning 32 org.eclipse.jdt.core.compiler.problem.forbiddenReference=error 33 org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning 34 org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled 35 org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning 36 org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning 37 org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore 38 org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore 39 org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning 40 org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore 41 org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore 42 org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled 43 org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore 44 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore 45 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled 46 org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore 47 org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore 48 org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning 49 org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning 50 org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore 51 org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning 52 org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error 53 org.eclipse.jdt.core.compiler.problem.nullReference=warning 54 org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error 55 org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning 56 org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning 57 org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore 58 org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore 59 org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore 60 org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore 61 org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning 62 org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning 63 org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore 64 org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore 65 org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore 66 org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore 67 org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore 68 org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled 69 org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning 70 org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled 71 org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled 72 org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled 73 org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore 74 org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning 75 org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled 76 org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning 77 org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning 78 org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore 79 org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning 80 org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore 81 org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore 82 org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore 83 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore 84 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled 85 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled 86 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled 87 org.eclipse.jdt.core.compiler.problem.unusedImport=warning 88 org.eclipse.jdt.core.compiler.problem.unusedLabel=warning 89 org.eclipse.jdt.core.compiler.problem.unusedLocal=warning 90 org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore 91 org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore 92 org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled 93 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled 94 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled 95 org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning 96 org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore 97 org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning 98 org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning 11 99 org.eclipse.jdt.core.compiler.source=1.6 -
applications/editors/josm/plugins/merge-overlap/build.xml
r29778 r29854 4 4 <property name="commit.message" value="MergeOverlap: help shortcut parser, rebuild"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value="6 082"/>6 <property name="plugin.main.version" value="6162"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/merge-overlap/src/mergeoverlap/MergeOverlapAction.java
r29778 r29854 695 695 } 696 696 } 697 697 /* 698 698 private Way getOld(Way r) { 699 699 return getOld(r, oldWays); 700 } 700 }*/ 701 701 702 702 public static Way getOld(Way w, Map<Way, Way> oldWays) { -
applications/editors/josm/plugins/merge-overlap/src/mergeoverlap/MyCombinePrimitiveResolverDialog.java
r29778 r29854 173 173 protected void updateTitle() { 174 174 if (targetPrimitive == null) { 175 setTitle(tr("Conflicts when combining primitives" , null));175 setTitle(tr("Conflicts when combining primitives")); 176 176 return; 177 177 } -
applications/editors/josm/plugins/michigan_left/build.xml
r29778 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for a JOSM plugin.4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in you default plugin directory) run16 **17 ** > ant install18 **19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration20 ** 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 other23 ** JOSM users:24 ** set the properties commit.message and plugin.main.version25 ** and run26 ** > ant publish27 **28 **29 -->30 2 <project name="michigan_left" default="dist" basedir="."> 31 3 <!-- enter the SVN commit message --> 32 4 <property name="commit.message" value="Changed the constructor signature of the plugin main class"/> 33 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 34 <property name="plugin.main.version" value="6 082"/>6 <property name="plugin.main.version" value="6162"/> 35 7 36 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/mirrored_download/.settings/org.eclipse.jdt.core.prefs
r29505 r29854 1 1 eclipse.preferences.version=1 2 org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled 3 org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore 4 org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull 5 org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault 6 org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable 7 org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled 2 8 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 9 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 4 10 org.eclipse.jdt.core.compiler.compliance=1.6 11 org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning 5 12 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 13 org.eclipse.jdt.core.compiler.problem.autoboxing=ignore 14 org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning 15 org.eclipse.jdt.core.compiler.problem.deadCode=warning 16 org.eclipse.jdt.core.compiler.problem.deprecation=warning 17 org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled 18 org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled 19 org.eclipse.jdt.core.compiler.problem.discouragedReference=warning 20 org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore 6 21 org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 22 org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore 23 org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore 24 org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled 25 org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore 26 org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning 27 org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning 28 org.eclipse.jdt.core.compiler.problem.forbiddenReference=error 29 org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning 30 org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled 31 org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning 32 org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning 33 org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore 34 org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore 35 org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning 36 org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore 37 org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore 38 org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled 39 org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore 40 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore 41 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled 42 org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore 43 org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore 44 org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning 45 org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning 46 org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore 47 org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning 48 org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error 49 org.eclipse.jdt.core.compiler.problem.nullReference=warning 50 org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error 51 org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning 52 org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning 53 org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore 54 org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore 55 org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore 56 org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore 57 org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning 58 org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning 59 org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore 60 org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore 61 org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore 62 org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore 63 org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore 64 org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled 65 org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning 66 org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled 67 org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled 68 org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled 69 org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore 70 org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning 71 org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled 72 org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning 73 org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning 74 org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore 75 org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning 76 org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore 77 org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore 78 org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore 79 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore 80 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled 81 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled 82 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled 83 org.eclipse.jdt.core.compiler.problem.unusedImport=warning 84 org.eclipse.jdt.core.compiler.problem.unusedLabel=warning 85 org.eclipse.jdt.core.compiler.problem.unusedLocal=warning 86 org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore 87 org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore 88 org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled 89 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled 90 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled 91 org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning 92 org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore 93 org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning 94 org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning 7 95 org.eclipse.jdt.core.compiler.source=1.6 -
applications/editors/josm/plugins/mirrored_download/build.xml
r29505 r29854 5 5 <property name="commit.message" value=""/> 6 6 <!-- 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"/> 8 8 9 9 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/mirrored_download/src/mirrored_download/OverpassDownloadAction.java
r29821 r29854 8 8 import java.awt.GridBagConstraints; 9 9 import java.awt.event.ActionEvent; 10 import java.awt.event.KeyEvent;11 10 import java.io.UnsupportedEncodingException; 12 11 import java.net.URLEncoder; 13 import java.util.LinkedList;14 12 import java.util.concurrent.Future; 15 import java.util.regex.Pattern;16 13 17 import javax.swing.JComboBox;18 import javax.swing.JFrame;19 14 import javax.swing.JLabel; 20 15 import javax.swing.JPanel; 21 16 import javax.swing.JScrollPane; 22 17 import javax.swing.JTextArea; 23 import javax.swing.text.JTextComponent;24 18 25 19 import org.openstreetmap.josm.Main; … … 32 26 import org.openstreetmap.josm.gui.download.DownloadDialog; 33 27 import org.openstreetmap.josm.gui.progress.ProgressMonitor; 34 import org.openstreetmap.josm.gui.widgets.AbstractTextComponentValidator;35 28 import org.openstreetmap.josm.io.BoundingBoxDownloader; 36 29 import org.openstreetmap.josm.io.OsmTransferException; 37 30 import org.openstreetmap.josm.tools.GBC; 38 import org.openstreetmap.josm.tools.Shortcut;39 31 40 32 public class OverpassDownloadAction extends JosmAction { -
applications/editors/josm/plugins/namemanager/build.xml
r29778 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for a JOSM plugin.4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in you default plugin directory) run16 **17 ** > ant install18 **19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration20 ** 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 other23 ** JOSM users:24 ** set the properties commit.message and plugin.main.version25 ** and run26 ** > ant publish27 **28 **29 -->30 2 <project name="namemanager" default="dist" basedir="."> 31 3 <!-- enter the SVN commit message --> 32 4 <property name="commit.message" value="..."/> 33 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 34 <property name="plugin.main.version" value="6 082"/>6 <property name="plugin.main.version" value="6162"/> 35 7 36 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/nearclick/build.xml
r29435 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is the build file for the nearclick plugin.4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in you default plugin directory) run16 **17 ** > ant install18 **19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration20 ** 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 other23 ** JOSM users:24 ** set the properties commit.message and plugin.main.version25 ** and run26 ** > ant publish27 **28 **29 -->30 2 <project name="nearclick" default="dist" basedir="."> 31 3 <!-- enter the SVN commit message --> 32 4 <property name="commit.message" value="Changed the constructor signature of the plugin main class"/> 33 5 <!-- 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"/> 35 7 <property name="josm" location="../../core/dist/josm-custom.jar"/> 36 8 <property name="plugin.dist.dir" value="../../dist"/> 37 9 <property name="plugin.build.dir" value="build"/> 38 10 <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"/> 40 12 <target name="init"> 41 13 <mkdir dir="${plugin.build.dir}"/> -
applications/editors/josm/plugins/opendata/build.xml
r29771 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <project name="opendata" default="dist" basedir="."> 3 <property name="plugin.main.version" value="6 082"/>3 <property name="plugin.main.version" value="6162"/> 4 4 <property name="plugin.author" value="Don-vip"/> 5 5 <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 16 16 package org.openstreetmap.josm.plugins.opendata; 17 17 18 import static org.openstreetmap.josm.gui.help.HelpUtil.ht;19 import static org.openstreetmap.josm.tools.I18n.marktr;20 21 18 import java.awt.Image; 22 19 import java.awt.Toolkit; 23 import java.awt.event.KeyEvent;24 20 import java.io.File; 25 21 import java.net.URL; -
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/NeptuneReader.java
r28361 r29854 171 171 return n; 172 172 } 173 173 /* 174 174 private Node createStopPosition(StopPointType stop) { 175 175 Node n = createNode(createLatLon(stop)); … … 179 179 return n; 180 180 } 181 181 */ 182 182 protected Relation createRelation(String type){ 183 183 Relation r = new Relation(); -
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/tabular/SpreadSheetReader.java
r29665 r29854 213 213 if (i == c.xCol) { 214 214 coordinate = true; 215 en .setLocation(parseDouble(fields[i]), en.north());215 ens.put(c, new EastNorth(parseDouble(fields[i]), en.north())); 216 216 if (handler != null) { 217 217 handler.setXCol(i); … … 219 219 } else if (i == c.yCol) { 220 220 coordinate = true; 221 en .setLocation(en.east(), parseDouble(fields[i]));221 ens.put(c, new EastNorth(en.east(), parseDouble(fields[i]))); 222 222 if (handler != null) { 223 223 handler.setYCol(i); -
applications/editors/josm/plugins/openstreetbugs/build.xml
r29435 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is the build file for the openstreetbugs plugin4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in your default plugin directory) run16 **17 ** > ant install18 **19 ** To build against the core in ../../core, create a correct manifest and deploy to20 ** SVN,21 ** set the properties commit.message and plugin.main.version22 ** and run23 ** > ant publish24 **25 **26 -->27 2 <project name="openstreetbugs" default="dist" basedir="."> 28 3 <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"/> 30 5 <property name="josm" location="../../core/dist/josm-custom.jar"/> 31 6 <property name="plugin.dist.dir" value="../../dist"/> 32 7 <property name="plugin.build.dir" value="build"/> 33 8 <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"/> 35 10 <target name="init"> 36 11 <mkdir dir="${plugin.build.dir}"/> -
applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbDownloadLoop.java
r23191 r29854 30 30 import static org.openstreetmap.josm.tools.I18n.tr; 31 31 32 import java.awt.geom.Point2D;33 32 import java.util.concurrent.TimeUnit; 34 33 35 34 import org.openstreetmap.josm.Main; 35 import org.openstreetmap.josm.data.coor.EastNorth; 36 36 37 37 public class OsbDownloadLoop extends Thread { … … 47 47 private OsbPlugin plugin; 48 48 49 private Point2DlastCenter;49 private EastNorth lastCenter; 50 50 51 51 public OsbDownloadLoop() { … … 70 70 // zoomed the map 71 71 if(Main.map != null && Main.map.mapView != null) { 72 Point2DcurrentCenter = Main.map.mapView.getCenter();72 EastNorth currentCenter = Main.map.mapView.getCenter(); 73 73 if(currentCenter != null && !currentCenter.equals(lastCenter)) { 74 74 resetCountdown(); -
applications/editors/josm/plugins/openvisible/build.xml
r29778 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is the build file for the openvisible plugin.4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in you default plugin directory) run16 **17 ** > ant install18 **19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration20 ** 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 other23 ** JOSM users:24 ** set the properties commit.message and plugin.main.version25 ** and run26 ** > ant publish27 **28 **29 -->30 2 <project name="openvisible" default="dist" basedir="."> 31 3 <!-- enter the SVN commit message --> 32 4 <property name="commit.message" value="Changed the constructor signature of the plugin main class; updated build.xml"/> 33 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 34 <property name="plugin.main.version" value="6 082"/>6 <property name="plugin.main.version" value="6162"/> 35 7 <!-- 36 8 ************************************************ … … 41 13 <property name="plugin.build.dir" value="build"/> 42 14 <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"/> 44 16 <target name="init"> 45 17 <mkdir dir="${plugin.build.dir}"/> -
applications/editors/josm/plugins/osmarender/.externalToolBuilders/copy_styles.launch
r21422 r29854 12 12 <stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/> 13 13 <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}"/> 16 16 <stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/> 17 17 <stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="-Dplugin.build.dir=bin"/> -
applications/editors/josm/plugins/osmarender/build.xml
r29435 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for a JOSM plugin.4 **5 ** Maintaining versions6 ** ====================7 ** See README.template8 **9 ** Usage10 ** =====11 ** Call "ant help" to get possible build targets.12 **13 -->14 2 <project name="osmarender" default="install" basedir="."> 15 3 … … 17 5 <property name="commit.message" value="Fixed #4360 - osmarender plugin does not load"/> 18 6 <!-- 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"/> 20 8 21 9 <property name="stylesheets" location="./stylesheets"/> -
applications/editors/josm/plugins/osmarender/src/org/openstreetmap/josm/plugins/osmarender/OsmarenderPlugin.java
r29639 r29854 220 220 221 221 writer.close(); 222 reader.close(); 222 223 } 223 224 } -
applications/editors/josm/plugins/pbf/build.xml
r29708 r29854 5 5 <property name="commit.message" value="Commit message"/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="6 031"/>7 <property name="plugin.main.version" value="6162"/> 8 8 9 9 <!-- 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 20122 1 eclipse.preferences.version=1 2 org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled 3 org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore 4 org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull 5 org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault 6 org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable 7 org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled 3 8 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 4 9 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 … … 8 13 org.eclipse.jdt.core.compiler.debug.localVariable=generate 9 14 org.eclipse.jdt.core.compiler.debug.sourceFile=generate 15 org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning 10 16 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 17 org.eclipse.jdt.core.compiler.problem.autoboxing=ignore 18 org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning 19 org.eclipse.jdt.core.compiler.problem.deadCode=warning 20 org.eclipse.jdt.core.compiler.problem.deprecation=warning 21 org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled 22 org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled 23 org.eclipse.jdt.core.compiler.problem.discouragedReference=warning 24 org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore 11 25 org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 26 org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore 27 org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore 28 org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled 29 org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore 30 org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning 31 org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning 32 org.eclipse.jdt.core.compiler.problem.forbiddenReference=error 33 org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning 34 org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled 35 org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning 36 org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning 37 org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore 38 org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore 39 org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning 40 org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore 41 org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore 42 org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled 43 org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore 44 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore 45 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled 46 org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore 47 org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore 48 org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning 49 org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning 50 org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore 51 org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning 52 org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error 53 org.eclipse.jdt.core.compiler.problem.nullReference=warning 54 org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error 55 org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning 56 org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning 57 org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore 58 org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore 59 org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore 60 org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore 61 org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning 62 org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning 63 org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore 64 org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore 65 org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore 66 org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore 67 org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore 68 org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled 69 org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning 70 org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled 71 org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled 72 org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled 73 org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore 74 org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning 75 org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled 76 org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning 77 org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning 78 org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore 79 org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning 80 org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore 81 org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore 82 org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore 83 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore 84 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled 85 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled 86 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled 87 org.eclipse.jdt.core.compiler.problem.unusedImport=warning 88 org.eclipse.jdt.core.compiler.problem.unusedLabel=warning 89 org.eclipse.jdt.core.compiler.problem.unusedLocal=warning 90 org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore 91 org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore 92 org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled 93 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled 94 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled 95 org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning 96 org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore 97 org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning 98 org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning 12 99 org.eclipse.jdt.core.compiler.source=1.6 -
applications/editors/josm/plugins/pdfimport/build.xml
r29805 r29854 4 4 <property name="commit.message" value="Initial pdfimport version"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value="6 097"/>6 <property name="plugin.main.version" value="6162"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/pdfimport/src/pdfimport/FilePlacement.java
r28448 r29854 200 200 public LatLon tranformCoords(Point2D pt) { 201 201 202 if (this.projection == null) {202 if (this.projection == null) { 203 203 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()); 207 208 return this.projection.eastNorth2latlon(en); 208 209 } … … 210 211 211 212 public EastNorth reverseTransform(LatLon coor) { 212 if (this.projection == null){ 213 213 if (this.projection == null) { 214 214 return new EastNorth(coor.lon() * 1000, coor.lat() * 1000); 215 } 216 else{ 215 } else { 217 216 return null; 218 217 } -
applications/editors/josm/plugins/pdfimport/src/pdfimport/PdfMultiPath.java
r25349 r29854 1 1 package pdfimport; 2 2 3 import java.util.ArrayList;4 3 import java.util.List; 5 4 -
applications/editors/josm/plugins/photo_geotagging/build.xml
r29435 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for a JOSM plugin.4 **5 ** Maintaining versions6 ** ====================7 ** See README.template8 **9 ** Usage10 ** =====11 ** Call "ant help" to get possible build targets.12 **13 -->14 2 <project name="photo_geotagging" default="dist" basedir="."> 15 3 … … 17 5 <property name="commit.message" value="write elevation to EXIF (see josm #7710)"/> 18 6 <!-- 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"/> 20 8 21 9 <property name="plugin.author" value="Paul Hartmann"/> -
applications/editors/josm/plugins/piclayer/build.xml
r29807 r29854 3 3 <property name="commit.message" value="[josm/PicLayer] - disable menu items by default"/> 4 4 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 5 <property name="plugin.main.version" value="6 097"/>5 <property name="plugin.main.version" value="6162"/> 6 6 7 7 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/plastic_laf/build.xml
r29435 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is the build file for the plastic_laf plugin.4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in you default plugin directory) run16 **17 ** > ant install18 **19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration20 ** 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 other23 ** JOSM users:24 ** set the properties commit.message and plugin.main.version25 ** and run26 ** > ant publish27 **28 **29 -->30 2 <project name="plastic_laf" default="dist" basedir="."> 31 3 <!-- enter the SVN commit message --> 32 4 <property name="commit.message" value="Changed the constructor signature of the plugin main class"/> 33 5 <!-- 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"/> 35 7 <property name="josm" location="../../core/dist/josm-custom.jar"/> 36 8 <property name="plugin.dist.dir" value="../../dist"/> 37 9 <property name="plugin.build.dir" value="build"/> 38 10 <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"/> 40 12 <property name="looks" value="lib/looks-2.2.1.jar"/> 41 13 <target name="init"> -
applications/editors/josm/plugins/poly/build.xml
r29711 r29854 5 5 <property name="commit.message" value="Commit message"/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="6 031"/>7 <property name="plugin.main.version" value="6162"/> 8 8 9 9 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/poly/src/poly/PolyExporter.java
r28755 r29854 6 6 import java.io.IOException; 7 7 import java.io.OutputStreamWriter; 8 import java.io.Writer;9 8 import java.util.ArrayList; 10 import java.util.Comparator;11 9 import java.util.LinkedHashMap; 12 10 import java.util.List; … … 14 12 import java.util.Map; 15 13 import java.util.TreeMap; 14 16 15 import org.openstreetmap.josm.data.osm.DataSet; 17 16 import org.openstreetmap.josm.data.osm.Node; -
applications/editors/josm/plugins/print/build.xml
r29846 r29854 5 5 <property name="commit.message" value="Added a field to specify the map scale."/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="61 54"/>7 <property name="plugin.main.version" value="6162"/> 8 8 9 9 <property name="plugin.author" value="Kai Pastor"/> -
applications/editors/josm/plugins/proj4j/build.xml
r29435 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for a JOSM plugin.4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in you default plugin directory) run16 **17 ** > ant install18 **19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration20 ** 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 other23 ** JOSM users:24 ** set the properties commit.message and plugin.main.version25 ** and run26 ** > ant publish27 **28 **29 -->30 2 <project name="proj4j" default="dist" basedir="."> 31 3 <!-- read build.properties for local settings --> … … 36 8 <property name="commit.message" value="Commit message"/> 37 9 <!-- 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"/> 39 11 <!-- 40 12 ************************************************ … … 46 18 <!-- this is the directory where the plugin jar is copied to --> 47 19 <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"/> 49 21 <property name="plugin.dist.dir" value="../../dist"/> 50 22 <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 1 1 eclipse.preferences.version=1 2 org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled 3 org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore 4 org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull 5 org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault 6 org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable 7 org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled 2 8 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 9 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 4 10 org.eclipse.jdt.core.compiler.compliance=1.6 11 org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning 5 12 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 13 org.eclipse.jdt.core.compiler.problem.autoboxing=ignore 14 org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning 15 org.eclipse.jdt.core.compiler.problem.deadCode=warning 16 org.eclipse.jdt.core.compiler.problem.deprecation=warning 17 org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled 18 org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled 19 org.eclipse.jdt.core.compiler.problem.discouragedReference=warning 20 org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore 6 21 org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 22 org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore 23 org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore 24 org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled 25 org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore 26 org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning 27 org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning 28 org.eclipse.jdt.core.compiler.problem.forbiddenReference=error 29 org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning 30 org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled 31 org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning 32 org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning 33 org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore 34 org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore 35 org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning 36 org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore 37 org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore 38 org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled 39 org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore 40 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore 41 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled 42 org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore 43 org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore 44 org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning 45 org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning 46 org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore 47 org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning 48 org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error 49 org.eclipse.jdt.core.compiler.problem.nullReference=warning 50 org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error 51 org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning 52 org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning 53 org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore 54 org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore 55 org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore 56 org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore 57 org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning 58 org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning 59 org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore 60 org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore 61 org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore 62 org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore 63 org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore 64 org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled 65 org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning 66 org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled 67 org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled 68 org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled 69 org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore 70 org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning 71 org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled 72 org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning 73 org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning 74 org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore 75 org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning 76 org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore 77 org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore 78 org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore 79 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore 80 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled 81 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled 82 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled 83 org.eclipse.jdt.core.compiler.problem.unusedImport=warning 84 org.eclipse.jdt.core.compiler.problem.unusedLabel=warning 85 org.eclipse.jdt.core.compiler.problem.unusedLocal=warning 86 org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore 87 org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore 88 org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled 89 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled 90 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled 91 org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning 92 org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore 93 org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning 94 org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning 7 95 org.eclipse.jdt.core.compiler.source=1.6 -
applications/editors/josm/plugins/public_transport/build.xml
r29784 r29854 5 5 <property name="commit.message" value="Commit message"/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="6 088"/>7 <property name="plugin.main.version" value="6162"/> 8 8 9 9 <property name="plugin.author" value="Roland M. Olbricht"/> -
applications/editors/josm/plugins/public_transport/src/public_transport/GTFSAddCommand.java
r27886 r29854 2 2 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 5 import java.util.Collection; 6 import java.util.Vector; 4 7 5 8 import org.openstreetmap.josm.Main; … … 7 10 import org.openstreetmap.josm.data.osm.Node; 8 11 import org.openstreetmap.josm.data.osm.OsmPrimitive; 9 10 import java.util.Collection;11 import java.util.Vector;12 12 13 13 public class GTFSAddCommand extends Command -
applications/editors/josm/plugins/public_transport/src/public_transport/GTFSCatchCommand.java
r27886 r29854 2 2 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 5 import java.util.Collection; 6 import java.util.Iterator; 7 import java.util.Vector; 4 8 5 9 import org.openstreetmap.josm.Main; … … 7 11 import org.openstreetmap.josm.data.osm.Node; 8 12 import org.openstreetmap.josm.data.osm.OsmPrimitive; 9 10 import java.util.Collection;11 import java.util.Iterator;12 import java.util.Vector;13 13 14 14 public class GTFSCatchCommand extends Command -
applications/editors/josm/plugins/public_transport/src/public_transport/GTFSDeleteCommand.java
r27886 r29854 2 2 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 5 import java.util.Collection; 6 import java.util.Vector; 4 7 5 8 import org.openstreetmap.josm.Main; … … 7 10 import org.openstreetmap.josm.data.osm.Node; 8 11 import org.openstreetmap.josm.data.osm.OsmPrimitive; 9 10 import java.util.Collection;11 import java.util.Vector;12 12 13 13 public class GTFSDeleteCommand extends Command -
applications/editors/josm/plugins/public_transport/src/public_transport/GTFSImporterAction.java
r29661 r29854 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 4 5 import java.awt.Container;6 import java.awt.Frame;7 import java.awt.GridBagConstraints;8 import java.awt.GridBagLayout;9 5 import java.awt.event.ActionEvent; 10 6 import java.io.BufferedReader; … … 12 8 import java.io.FileNotFoundException; 13 9 import java.io.FileReader; 14 import java.io.InputStream;15 10 import java.io.IOException; 16 11 import java.text.DecimalFormat; 17 12 import java.text.Format; 18 import java.util.Collections;19 13 import java.util.Iterator; 20 14 import java.util.Vector; 21 import java.util.zip.GZIPInputStream;22 15 23 16 import javax.swing.AbstractAction; 24 17 import javax.swing.Action; 25 18 import javax.swing.DefaultListModel; 26 import javax.swing.JButton;27 import javax.swing.JComboBox;28 import javax.swing.JDialog;29 19 import javax.swing.JFileChooser; 30 import javax.swing.JLabel;31 import javax.swing.JList;32 20 import javax.swing.JOptionPane; 33 import javax.swing.JPanel;34 import javax.swing.JScrollPane;35 import javax.swing.JTabbedPane;36 21 import 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;44 22 45 23 import org.openstreetmap.josm.Main; 46 24 import 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;50 25 import 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;55 26 import org.openstreetmap.josm.data.osm.DataSet; 56 27 import org.openstreetmap.josm.data.osm.Node; 57 28 import org.openstreetmap.josm.data.osm.OsmPrimitive; 58 29 import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor; 59 import org.openstreetmap.josm.io.GpxReader;60 61 import org.xml.sax.SAXException;62 30 63 31 public class GTFSImporterAction extends JosmAction -
applications/editors/josm/plugins/public_transport/src/public_transport/GTFSImporterDialog.java
r26345 r29854 4 4 import static org.openstreetmap.josm.tools.I18n.tr; 5 5 6 import java.awt.Container;7 6 import java.awt.Frame; 8 7 import java.awt.GridBagConstraints; 9 8 import 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 25 10 import javax.swing.JButton; 26 11 import javax.swing.JComboBox; 27 12 import javax.swing.JComponent; 28 13 import javax.swing.JDialog; 29 import javax.swing.JFileChooser;30 14 import javax.swing.JLabel; 31 15 import javax.swing.JList; … … 37 21 import javax.swing.JTextField; 38 22 import 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;45 23 46 24 import 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;63 25 64 26 public class GTFSImporterDialog -
applications/editors/josm/plugins/public_transport/src/public_transport/GTFSJoinCommand.java
r27886 r29854 2 2 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 5 import java.util.Collection; 6 import java.util.Iterator; 7 import java.util.Vector; 4 8 5 9 import org.openstreetmap.josm.Main; … … 7 11 import org.openstreetmap.josm.data.osm.Node; 8 12 import org.openstreetmap.josm.data.osm.OsmPrimitive; 9 10 import java.util.Collection;11 import java.util.Iterator;12 import java.util.Vector;13 13 14 14 public class GTFSJoinCommand extends Command -
applications/editors/josm/plugins/public_transport/src/public_transport/GTFSStopTableModel.java
r26168 r29854 5 5 import java.util.Iterator; 6 6 import java.util.Vector; 7 7 8 import javax.swing.event.TableModelEvent; 8 9 import javax.swing.event.TableModelListener; … … 11 12 import org.openstreetmap.josm.Main; 12 13 import org.openstreetmap.josm.data.coor.LatLon; 13 import org.openstreetmap.josm.data.gpx.WayPoint;14 14 import org.openstreetmap.josm.data.osm.DataSource; 15 15 import org.openstreetmap.josm.data.osm.Node; -
applications/editors/josm/plugins/public_transport/src/public_transport/PublicTransportAStar.java
r28318 r29854 1 1 package public_transport; 2 2 3 import java.util.Collection;4 3 import java.util.Iterator; 5 import java.util.Map;6 4 import java.util.TreeMap; 7 5 import java.util.TreeSet; 8 6 import java.util.Vector; 9 7 8 import org.openstreetmap.josm.Main; 10 9 import org.openstreetmap.josm.data.osm.Node; 11 10 import org.openstreetmap.josm.data.osm.Way; 12 import org.openstreetmap.josm.Main;13 11 14 12 public class PublicTransportAStar extends AStarAlgorithm -
applications/editors/josm/plugins/public_transport/src/public_transport/PublicTransportPlugin.java
r29784 r29854 9 9 10 10 import 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;14 11 import 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;20 12 import org.openstreetmap.josm.plugins.Plugin; 21 13 import org.openstreetmap.josm.plugins.PluginInformation; -
applications/editors/josm/plugins/public_transport/src/public_transport/RoutePatternAction.java
r29661 r29854 1 1 package public_transport; 2 2 3 import static org.openstreetmap.josm.tools.I18n.marktr;4 3 import static org.openstreetmap.josm.tools.I18n.tr; 5 4 6 import java.awt.BorderLayout;7 5 import java.awt.Container; 8 6 import java.awt.Dimension; … … 54 52 import org.openstreetmap.josm.data.osm.Way; 55 53 import 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;59 54 60 55 public class RoutePatternAction extends JosmAction { -
applications/editors/josm/plugins/public_transport/src/public_transport/SettingsStoptypeCommand.java
r27886 r29854 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 4 5 import org.openstreetmap.josm.Main; 5 import java.util.Collection; 6 import java.util.Vector; 7 8 import javax.swing.DefaultListModel; 9 6 10 import org.openstreetmap.josm.command.Command; 7 11 import org.openstreetmap.josm.data.osm.Node; 8 12 import org.openstreetmap.josm.data.osm.OsmPrimitive; 9 10 import java.util.Collection;11 import java.util.Vector;12 import javax.swing.DefaultListModel;13 13 14 14 public class SettingsStoptypeCommand extends Command -
applications/editors/josm/plugins/public_transport/src/public_transport/StopImporterAction.java
r29661 r29854 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 4 5 import java.awt.Container;6 import java.awt.Frame;7 import java.awt.GridBagConstraints;8 import java.awt.GridBagLayout;9 5 import java.awt.event.ActionEvent; 10 6 import java.io.File; 11 7 import java.io.FileInputStream; 12 8 import java.io.FileNotFoundException; 9 import java.io.IOException; 13 10 import java.io.InputStream; 14 import java.io.IOException;15 11 import java.text.DecimalFormat; 16 12 import java.text.Format; … … 23 19 import javax.swing.Action; 24 20 import javax.swing.DefaultListModel; 25 import javax.swing.JButton;26 import javax.swing.JComboBox;27 import javax.swing.JDialog;28 21 import javax.swing.JFileChooser; 29 import javax.swing.JLabel;30 import javax.swing.JList;31 22 import javax.swing.JOptionPane; 32 import javax.swing.JPanel;33 import javax.swing.JScrollPane;34 import javax.swing.JTabbedPane;35 23 import 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;43 24 44 25 import org.openstreetmap.josm.Main; 45 26 import 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;49 27 import org.openstreetmap.josm.data.coor.LatLon; 50 28 import org.openstreetmap.josm.data.gpx.GpxData; 51 29 import org.openstreetmap.josm.data.gpx.GpxTrack; 52 import org.openstreetmap.josm.data.gpx.GpxTrackSegment;53 30 import org.openstreetmap.josm.data.gpx.WayPoint; 54 31 import org.openstreetmap.josm.data.osm.DataSet; … … 57 34 import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor; 58 35 import org.openstreetmap.josm.io.GpxReader; 59 60 36 import org.xml.sax.SAXException; 61 37 -
applications/editors/josm/plugins/public_transport/src/public_transport/StopImporterDialog.java
r26345 r29854 4 4 import static org.openstreetmap.josm.tools.I18n.tr; 5 5 6 import java.awt.Container;7 6 import java.awt.Frame; 8 7 import java.awt.GridBagConstraints; 9 8 import 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 9 23 10 import javax.swing.DefaultCellEditor; … … 27 14 import javax.swing.JComponent; 28 15 import javax.swing.JDialog; 29 import javax.swing.JFileChooser;30 16 import javax.swing.JLabel; 31 17 import javax.swing.JList; … … 40 26 import javax.swing.event.ListSelectionEvent; 41 27 import javax.swing.event.ListSelectionListener; 42 import javax.swing.event.TableModelEvent;43 import javax.swing.event.TableModelListener;44 import javax.swing.table.DefaultTableModel;45 28 46 29 import 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;63 30 64 31 public class StopImporterDialog -
applications/editors/josm/plugins/public_transport/src/public_transport/TrackReference.java
r26345 r29854 4 4 5 5 import java.util.Iterator; 6 import java.util.Vector; 6 7 7 import javax.swing.JOptionPane; 8 8 import javax.swing.event.TableModelEvent; … … 10 10 11 11 import org.openstreetmap.josm.Main; 12 import org.openstreetmap.josm.command.ChangeCommand; 12 13 import org.openstreetmap.josm.command.Command; 13 import org.openstreetmap.josm.command.ChangeCommand;14 import org.openstreetmap.josm.command.DeleteCommand;15 14 import org.openstreetmap.josm.data.coor.LatLon; 16 15 import org.openstreetmap.josm.data.gpx.GpxTrack; -
applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistAddCommand.java
r27886 r29854 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 4 5 import org.openstreetmap.josm.Main; 5 import java.util.Collection; 6 6 7 import org.openstreetmap.josm.command.Command; 7 import org.openstreetmap.josm.data.osm.Node;8 8 import org.openstreetmap.josm.data.osm.OsmPrimitive; 9 10 import java.util.Collection;11 import java.util.Vector;12 9 13 10 public class TrackStoplistAddCommand extends Command -
applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistDeleteCommand.java
r27886 r29854 2 2 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 5 import java.util.Collection; 6 import java.util.Vector; 4 7 5 8 import org.openstreetmap.josm.Main; … … 7 10 import org.openstreetmap.josm.data.osm.Node; 8 11 import org.openstreetmap.josm.data.osm.OsmPrimitive; 9 10 import java.util.Collection;11 import java.util.Vector;12 12 13 13 public class TrackStoplistDeleteCommand extends Command -
applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistDetachCommand.java
r27886 r29854 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 4 5 import org.openstreetmap.josm.Main; 5 import java.util.Collection; 6 import java.util.Vector; 7 6 8 import org.openstreetmap.josm.command.Command; 7 9 import org.openstreetmap.josm.data.osm.Node; 8 10 import org.openstreetmap.josm.data.osm.OsmPrimitive; 9 10 import java.util.Collection;11 import java.util.Vector;12 11 13 12 public class TrackStoplistDetachCommand extends Command -
applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistNameCommand.java
r27886 r29854 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 4 5 import org.openstreetmap.josm.Main; 5 import java.util.Collection; 6 6 7 import org.openstreetmap.josm.command.Command; 7 8 import org.openstreetmap.josm.data.coor.LatLon; 8 9 import org.openstreetmap.josm.data.osm.Node; 9 10 import org.openstreetmap.josm.data.osm.OsmPrimitive; 10 11 import java.util.Collection;12 import java.util.Vector;13 11 14 12 public class TrackStoplistNameCommand extends Command … … 24 22 private LatLon oldLatLon = null; 25 23 26 @SuppressWarnings("unchecked")27 24 public TrackStoplistNameCommand(TrackReference trackref, int workingLine) 28 25 { -
applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistRelocateCommand.java
r27886 r29854 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 4 5 import org.openstreetmap.josm.Main; 5 import java.util.Collection; 6 6 7 import org.openstreetmap.josm.command.Command; 7 8 import org.openstreetmap.josm.data.osm.Node; 8 9 import 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;15 10 16 11 public class TrackStoplistRelocateCommand extends Command -
applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistSortCommand.java
r27886 r29854 2 2 3 3 import 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;9 4 10 5 import java.util.Collection; … … 12 7 import java.util.Iterator; 13 8 import java.util.Vector; 14 import javax.swing.DefaultListModel; 15 import javax.swing.JLabel; 9 10 import org.openstreetmap.josm.command.Command; 11 import org.openstreetmap.josm.data.osm.Node; 12 import org.openstreetmap.josm.data.osm.OsmPrimitive; 16 13 17 14 public class TrackStoplistSortCommand extends Command -
applications/editors/josm/plugins/public_transport/src/public_transport/TrackStoplistTableModel.java
r26168 r29854 4 4 5 5 import java.util.Vector; 6 6 7 import javax.swing.table.DefaultTableModel; 7 8 -
applications/editors/josm/plugins/public_transport/src/public_transport/TrackSuggestStopsCommand.java
r27886 r29854 4 4 5 5 import java.util.Collection; 6 import java.util.Collections;7 6 import java.util.Iterator; 8 7 import java.util.Vector; 9 import javax.swing.DefaultListModel;10 8 11 9 import org.openstreetmap.josm.Main; -
applications/editors/josm/plugins/public_transport/src/public_transport/WaypointTableModel.java
r26168 r29854 4 4 5 5 import java.util.Vector; 6 6 7 import javax.swing.event.TableModelEvent; 7 8 import javax.swing.event.TableModelListener; -
applications/editors/josm/plugins/public_transport/src/public_transport/WaypointsDetachCommand.java
r27886 r29854 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 4 5 import org.openstreetmap.josm.Main; 5 import java.util.Collection; 6 import java.util.Vector; 7 6 8 import org.openstreetmap.josm.command.Command; 7 9 import org.openstreetmap.josm.data.osm.Node; 8 10 import org.openstreetmap.josm.data.osm.OsmPrimitive; 9 10 import java.util.Collection;11 import java.util.Vector;12 11 13 12 public class WaypointsDetachCommand extends Command -
applications/editors/josm/plugins/public_transport/src/public_transport/WaypointsDisableCommand.java
r27886 r29854 2 2 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 5 import java.util.Collection; 6 import java.util.Vector; 4 7 5 8 import org.openstreetmap.josm.Main; … … 7 10 import org.openstreetmap.josm.data.osm.Node; 8 11 import org.openstreetmap.josm.data.osm.OsmPrimitive; 9 10 import java.util.Collection;11 import java.util.Vector;12 12 13 13 public class WaypointsDisableCommand extends Command -
applications/editors/josm/plugins/public_transport/src/public_transport/WaypointsEnableCommand.java
r27886 r29854 2 2 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 5 import java.util.Collection; 6 import java.util.Vector; 4 7 5 8 import org.openstreetmap.josm.Main; … … 7 10 import org.openstreetmap.josm.data.osm.Node; 8 11 import org.openstreetmap.josm.data.osm.OsmPrimitive; 9 10 import java.util.Collection;11 import java.util.Vector;12 12 13 13 public class WaypointsEnableCommand extends Command -
applications/editors/josm/plugins/public_transport/src/public_transport/WaypointsNameCommand.java
r27886 r29854 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 4 5 import org.openstreetmap.josm.Main; 5 import java.util.Collection; 6 6 7 import org.openstreetmap.josm.command.Command; 7 import org.openstreetmap.josm.data.osm.Node;8 8 import org.openstreetmap.josm.data.osm.OsmPrimitive; 9 10 import java.util.Collection;11 import java.util.Vector;12 9 13 10 public class WaypointsNameCommand extends Command -
applications/editors/josm/plugins/reltoolbox/build.xml
r29435 r29854 4 4 <property name="commit.message" value="RelToolbox: make natural sort for relation and find relation lists"/> 5 5 <!-- 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"/> 7 7 8 8 <property name="plugin.author" value="Ilya Zverev"/> -
applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/SplittingMultipolygons.java
r26952 r29854 2 2 3 3 import java.awt.geom.Area; 4 4 5 import static org.openstreetmap.josm.tools.I18n.tr; 6 5 7 import java.util.*; 8 6 9 import org.openstreetmap.josm.Main; 7 10 import org.openstreetmap.josm.command.*; 8 11 import org.openstreetmap.josm.data.coor.EastNorth; 12 import org.openstreetmap.josm.data.coor.LatLon; 9 13 import org.openstreetmap.josm.data.osm.*; 10 14 import org.openstreetmap.josm.gui.DefaultNameFormatter; … … 27 31 return false; 28 32 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; 31 36 } 32 37 if( way.isClosed() ) -
applications/editors/josm/plugins/reverter/build.xml
r29771 r29854 4 4 <property name="commit.message" value="Reverter: Update MultiOsmReader to support null data after redaction"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value="6 082"/>6 <property name="plugin.main.version" value="6162"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/reverter/src/reverter/ReverterPlugin.java
r29771 r29854 1 1 package 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;7 2 8 3 import javax.swing.JMenu; -
applications/editors/josm/plugins/roadsigns/.settings/org.eclipse.jdt.core.prefs
r22016 r29854 1 #Fri Jun 25 21:17:39 CEST 20102 1 eclipse.preferences.version=1 2 org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled 3 org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore 4 org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull 5 org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault 6 org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable 7 org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled 3 8 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 4 9 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 … … 8 13 org.eclipse.jdt.core.compiler.debug.localVariable=generate 9 14 org.eclipse.jdt.core.compiler.debug.sourceFile=generate 15 org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning 10 16 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 17 org.eclipse.jdt.core.compiler.problem.autoboxing=ignore 18 org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning 19 org.eclipse.jdt.core.compiler.problem.deadCode=warning 20 org.eclipse.jdt.core.compiler.problem.deprecation=warning 21 org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled 22 org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled 23 org.eclipse.jdt.core.compiler.problem.discouragedReference=warning 24 org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore 11 25 org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 26 org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore 27 org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore 28 org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled 29 org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore 30 org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning 31 org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning 32 org.eclipse.jdt.core.compiler.problem.forbiddenReference=error 33 org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning 34 org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled 35 org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning 36 org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning 37 org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore 38 org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore 39 org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning 40 org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore 41 org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore 42 org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled 43 org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore 44 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore 45 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled 46 org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore 47 org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore 48 org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning 49 org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning 50 org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore 51 org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning 52 org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error 53 org.eclipse.jdt.core.compiler.problem.nullReference=warning 54 org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error 55 org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning 56 org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning 57 org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore 58 org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore 59 org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore 60 org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore 61 org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning 62 org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning 63 org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore 64 org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore 65 org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore 66 org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore 67 org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore 68 org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled 69 org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning 70 org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled 71 org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled 72 org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled 73 org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore 74 org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning 75 org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled 76 org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning 77 org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning 78 org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore 79 org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning 80 org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore 81 org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore 82 org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore 83 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore 84 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled 85 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled 86 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled 87 org.eclipse.jdt.core.compiler.problem.unusedImport=warning 88 org.eclipse.jdt.core.compiler.problem.unusedLabel=warning 89 org.eclipse.jdt.core.compiler.problem.unusedLocal=warning 90 org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore 91 org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore 92 org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled 93 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled 94 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled 95 org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning 96 org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore 97 org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning 98 org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning 12 99 org.eclipse.jdt.core.compiler.source=1.6 -
applications/editors/josm/plugins/roadsigns/build.xml
r29435 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** Maintaining versions4 ** ====================5 ** see README.template6 **7 ** Usage8 ** =====9 ** To build it run10 **11 ** > ant dist12 **13 ** To install the generated plugin locally (in you default plugin directory) run14 **15 ** > ant install16 **17 ** The generated plugin jar is not automatically available in JOSMs plugin configuration18 ** 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 other21 ** JOSM users:22 ** set the properties commit.message and plugin.main.version23 ** and run24 ** > ant publish25 **26 **27 -->28 2 <project name="RoadSigns" default="dist" basedir="."> 29 3 <!-- enter the SVN commit message --> 30 4 <property name="commit.message" value="preset maintenance (Fahrradstraße)"/> 31 5 <!-- 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"/> 33 7 34 8 <!-- -
applications/editors/josm/plugins/roadsigns/src/org/openstreetmap/josm/plugins/roadsigns/RoadSignInputDialog.java
r29232 r29854 877 877 this.add(selectionBox, GBC.eol().insets(0, 5, 5, 5)); 878 878 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"; 880 880 881 881 rbAll = new JRadioButton(tr("Show all signs")); -
applications/editors/josm/plugins/roadsigns/src/org/openstreetmap/josm/plugins/roadsigns/RoadSignsReader.java
r29230 r29854 51 51 52 52 String characters = ""; 53 List<Sign> folders = new ArrayList<Sign>();53 //List<Sign> folders = new ArrayList<Sign>(); 54 54 Sign curSign; 55 55 Tag curTag; -
applications/editors/josm/plugins/routes/build.xml
r29435 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is the build file for the routes plugin4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in your default plugin directory) run16 **17 ** > ant install18 **19 ** To build against the core in ../../core, create a correct manifest and deploy to20 ** SVN,21 ** set the properties commit.message and plugin.main.version22 ** and run23 ** > ant publish24 **25 **26 -->27 2 <project name="routes" default="dist" basedir="."> 28 3 <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"/> 30 5 <property name="josm" location="../../core/dist/josm-custom.jar"/> 31 6 <property name="plugin.dist.dir" value="../../dist"/> 32 7 <property name="plugin.build.dir" value="build"/> 33 8 <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"/> 35 10 <target name="init"> 36 11 <mkdir dir="${plugin.build.dir}"/> -
applications/editors/josm/plugins/routing/build.xml
r29784 r29854 5 5 <property name="commit.message" value="added one-way support in roundabouts"/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="6 088"/>7 <property name="plugin.main.version" value="6162"/> 8 8 9 9 <!-- -
applications/editors/josm/plugins/sds/build.xml
r29784 r29854 5 5 <property name="commit.message" value=""/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="6 088"/>7 <property name="plugin.main.version" value="6162"/> 8 8 9 9 <!-- -
applications/editors/josm/plugins/sds/src/org/openstreetmap/hot/sds/SdsConnection.java
r28160 r29854 2 2 package org.openstreetmap.hot.sds; 3 3 4 import java.net.Authenticator.RequestorType; 4 5 import java.net.HttpURLConnection; 5 import java.net.Authenticator.RequestorType;6 6 import java.nio.ByteBuffer; 7 7 import java.nio.CharBuffer; -
applications/editors/josm/plugins/sds/src/org/openstreetmap/hot/sds/SdsCredentialAgent.java
r28160 r29854 5 5 6 6 import java.awt.Component; 7 import java.net.Authenticator.RequestorType; 7 8 import java.net.PasswordAuthentication; 8 import java. net.Authenticator.RequestorType;9 import java.util.HashMap; 9 10 import java.util.Map; 10 import java.util.HashMap;11 11 12 12 import javax.swing.text.html.HTMLEditorKit; … … 18 18 import org.openstreetmap.josm.gui.widgets.HtmlPanel; 19 19 import org.openstreetmap.josm.io.auth.AbstractCredentialsAgent; 20 import org.openstreetmap.josm.io.auth.CredentialsAgent; 20 21 import org.openstreetmap.josm.io.auth.CredentialsAgentException; 21 22 import org.openstreetmap.josm.io.auth.CredentialsAgentResponse; -
applications/editors/josm/plugins/sds/src/org/openstreetmap/hot/sds/SdsDiskAccessAction.java
r28160 r29854 10 10 import org.openstreetmap.josm.Main; 11 11 import org.openstreetmap.josm.actions.DiskAccessAction; 12 import org.openstreetmap.josm.actions.ExtensionFileFilter;13 12 import org.openstreetmap.josm.gui.ExtendedDialog; 14 13 import org.openstreetmap.josm.tools.Shortcut; … … 96 95 97 96 File file = fc.getSelectedFile(); 98 String fn = file.getPath();99 97 100 98 if (!confirmOverwrite(file)) -
applications/editors/josm/plugins/sds/src/org/openstreetmap/hot/sds/SdsLoadAction.java
r28160 r29854 5 5 6 6 import java.awt.event.ActionEvent; 7 import java.awt.event.KeyEvent;8 7 import java.io.File; 9 8 import java.io.FileInputStream; … … 16 15 17 16 import javax.swing.JFileChooser; 18 import javax.swing.filechooser.FileFilter;19 17 import javax.xml.parsers.ParserConfigurationException; 20 18 import javax.xml.parsers.SAXParserFactory; 21 19 22 20 import org.openstreetmap.josm.Main; 23 import org.openstreetmap.josm.actions.DiskAccessAction;24 import org.openstreetmap.josm.gui.ExtendedDialog;25 21 import org.openstreetmap.josm.gui.PleaseWaitRunnable; 26 22 import org.openstreetmap.josm.io.OsmTransferException; 27 import org.openstreetmap.josm.tools.Shortcut;28 23 import org.xml.sax.InputSource; 29 24 import org.xml.sax.SAXException; … … 34 29 private SeparateDataStorePlugin plugin; 35 30 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); 40 33 plugin = p; 41 34 } -
applications/editors/josm/plugins/sds/src/org/openstreetmap/hot/sds/SdsMenu.java
r29784 r29854 12 12 13 13 import javax.swing.BorderFactory; 14 import javax.swing.JLabel;15 14 import javax.swing.JMenu; 16 15 import javax.swing.JMenuItem; -
applications/editors/josm/plugins/sds/src/org/openstreetmap/hot/sds/SdsSaveAction.java
r28160 r29854 5 5 6 6 import java.awt.event.ActionEvent; 7 import java.awt.event.KeyEvent;8 7 import java.io.File; 9 8 import java.io.FileInputStream; … … 16 15 import java.io.Writer; 17 16 18 import javax.swing.JFileChooser;19 17 import javax.swing.JOptionPane; 20 import javax.swing.filechooser.FileFilter;21 18 22 19 import org.openstreetmap.josm.Main; 23 import org.openstreetmap.josm.actions.SaveActionBase;24 20 import org.openstreetmap.josm.data.osm.IPrimitive; 25 import org.openstreetmap.josm.gui.ExtendedDialog;26 21 import org.openstreetmap.josm.gui.layer.Layer; 27 22 import org.openstreetmap.josm.gui.layer.OsmDataLayer; 28 import org.openstreetmap.josm.tools.Shortcut;29 23 30 24 @SuppressWarnings("serial") 31 25 public class SdsSaveAction extends SdsDiskAccessAction { 32 26 33 @SuppressWarnings("deprecation") 34 public SdsSaveAction() { 27 public SdsSaveAction() { 35 28 super(tr("Save..."), "sds_save", tr("Save the current separate data store information to a file."), 36 29 null); -
applications/editors/josm/plugins/sds/src/org/openstreetmap/hot/sds/WritePostprocessor.java
r28160 r29854 55 55 } 56 56 57 sdsWriter.close(); 58 57 59 for (IPrimitive p : primitives) { 58 60 plugin.learn(p); -
applications/editors/josm/plugins/simplifyarea/build.xml
r29778 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for a JOSM plugin.4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in you default plugin directory) run16 **17 ** > ant install18 **19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration20 ** 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 other23 ** JOSM users:24 ** set the properties commit.message and plugin.main.version25 ** and run26 ** > ant publish27 **28 **29 -->30 2 <project name="SimplifyArea" default="dist" basedir="."> 31 3 <!-- enter the SVN commit message --> 32 4 <property name="commit.message" value="Initial commit"/> 33 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 34 <property name="plugin.main.version" value="6 082"/>6 <property name="plugin.main.version" value="6162"/> 35 7 36 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/smed/build.xml
r29778 r29854 13 13 <property name="plugin.dist.dir" value="../../dist/"/> 14 14 <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"/> 16 16 <property name="plugin.jar" value="${plugin.dist.dir}${ant.project.name}.jar"/> 17 17 <!-- -
applications/editors/josm/plugins/smed/plugs/harbour/build.xml
r27749 r29854 33 33 <!-- this is the directory where the plugin jar is copied to --> 34 34 <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"/> 36 36 <property name="plugin.jar" value="${plugin.dist.dir}/00_${DSTAMP}_${TSTAMP}_${ant.project.name}.jar"/> 37 37 <!-- -
applications/editors/josm/plugins/smed/plugs/oseam/build.xml
r27749 r29854 33 33 <!-- this is the directory where the plugin jar is copied to --> 34 34 <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"/> 36 36 <property name="plugin.jar" value="${plugin.dist.dir}/00_${DSTAMP}_${TSTAMP}_${ant.project.name}.jar"/> 37 37 <!-- -
applications/editors/josm/plugins/smed/plugs/smed_about/build.xml
r27749 r29854 32 32 <!-- this is the directory where the plugin jar is copied to --> 33 33 <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"/> 35 35 <property name="plugin.jar" value="${plugin.dist.dir}/03_${DSTAMP}_${TSTAMP}_${ant.project.name}.jar"/> 36 36 <!-- -
applications/editors/josm/plugins/smed/plugs/wayarea/build.xml
r27749 r29854 33 33 <!-- this is the directory where the plugin jar is copied to --> 34 34 <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"/> 36 36 <property name="plugin.jar" value="${plugin.dist.dir}/00_${DSTAMP}_${TSTAMP}_${ant.project.name}.jar"/> 37 37 <!-- -
applications/editors/josm/plugins/smed2/build.xml
r29435 r29854 39 39 <!-- this is the directory where the plugin jar is copied to --> 40 40 <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"/> 42 42 <property name="plugin.dist.dir" value="../../dist"/> 43 43 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> -
applications/editors/josm/plugins/surveyor/build.xml
r29841 r29854 7 7 <property name="commit.message" value="Changed the constructor signature of the plugin main class"/> 8 8 <!-- 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"/> 10 10 <property name="livegpsplugin.jar" value="${plugin.dist.dir}/livegps.jar"/> 11 11 -
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/AutoSaveAction.java
r27852 r29854 8 8 9 9 import java.awt.event.ActionEvent; 10 import java.awt.event.KeyEvent; 10 11 import java.text.MessageFormat; 11 12 import java.util.Date; … … 13 14 import java.util.TimerTask; 14 15 15 import javax.swing.AbstractAction;16 16 import javax.swing.AbstractButton; 17 import java.awt.event.KeyEvent;18 17 19 import at.dallermassl.josm.plugin.surveyor.action.SetWaypointAction; 18 import livegps.LiveGpsLayer; 19 20 20 import org.openstreetmap.josm.actions.JosmAction; 21 21 import org.openstreetmap.josm.tools.Shortcut; 22 23 import livegps.LiveGpsLayer;24 22 25 23 /** -
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/AutoSaveGpsLayerTimerTask.java
r19681 r29854 75 75 GpxWriter gpxWriter = new GpxWriter(out); 76 76 gpxWriter.write(gpsLayer.data); 77 gpxWriter.close(); 77 78 tmpFile.renameTo(file); 78 79 } catch (IOException ioExc) { -
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/SetWaypointAction.java
r19681 r29854 14 14 15 15 import org.openstreetmap.josm.Main; 16 import org.openstreetmap.josm.data.coor.LatLon;17 16 import org.openstreetmap.josm.data.gpx.GpxData; 18 17 import org.openstreetmap.josm.data.gpx.WayPoint; … … 53 52 */ 54 53 public void actionPerformed(GpsActionEvent event) { 55 LatLon coordinates = event.getCoordinates();56 54 //System.out.println(getClass().getSimpleName() + " KOORD: " + coordinates.lat() + ", " + coordinates.lon()); 57 55 String markerTitle = getParameters().get(0); -
applications/editors/josm/plugins/surveyor/src/org/dinopolis/util/collection/Tuple.java
r13497 r29854 11 11 * 12 12 * @author cdaller 13 * 13 * @deprecated Should be replaced by {@link org.openstreetmap.josm.tools.Pair} 14 14 */ 15 15 public class Tuple<T1 extends Object, T2 extends Object> implements Map.Entry<T1, T2>{ 16 16 T1 first; 17 17 T2 second; 18 19 /**20 * Default Constructor21 */22 public Tuple() {23 }24 18 25 19 /** … … 102 96 * @see java.lang.Object#equals(java.lang.Object) 103 97 */ 104 @SuppressWarnings("unchecked")105 98 @Override 106 99 public boolean equals(Object obj) { … … 111 104 if (getClass() != obj.getClass()) 112 105 return false; 113 final Tuple other = (Tuple) obj;106 final Tuple<?, ?> other = (Tuple<?, ?>) obj; 114 107 if (this.first == null) { 115 108 if (other.first != null) -
applications/editors/josm/plugins/surveyor2/build.xml
r29435 r29854 43 43 <property name="plugin.dist.dir" value="../../dist"/> 44 44 <!--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"/> 47 47 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 48 48 <!-- -
applications/editors/josm/plugins/tag2link/build.xml
r29461 r29854 5 5 <property name="commit.message" value="Commit message"/> 6 6 <!-- 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"/> 8 8 9 9 <property name="plugin.author" value="Don-vip & FrViPofm"/> -
applications/editors/josm/plugins/tageditor/.settings/org.eclipse.jdt.core.prefs
r14520 r29854 1 #Sun Mar 29 18:09:38 CEST 20092 1 eclipse.preferences.version=1 3 2 org.eclipse.jdt.core.builder.resourceCopyExclusionFilter=*.launch,*.groovy 3 org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled 4 org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore 5 org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull 6 org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault 7 org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable 8 org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled 9 org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning 10 org.eclipse.jdt.core.compiler.problem.autoboxing=ignore 11 org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning 12 org.eclipse.jdt.core.compiler.problem.deadCode=warning 13 org.eclipse.jdt.core.compiler.problem.deprecation=warning 14 org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled 15 org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled 16 org.eclipse.jdt.core.compiler.problem.discouragedReference=warning 17 org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore 18 org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore 19 org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore 20 org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled 21 org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore 22 org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning 23 org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning 24 org.eclipse.jdt.core.compiler.problem.forbiddenReference=error 25 org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning 26 org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled 27 org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning 28 org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning 29 org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore 30 org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore 31 org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning 32 org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore 33 org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore 34 org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled 35 org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore 36 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore 37 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled 38 org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore 39 org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore 40 org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning 41 org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning 42 org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore 43 org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning 44 org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error 45 org.eclipse.jdt.core.compiler.problem.nullReference=warning 46 org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error 47 org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning 48 org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning 49 org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore 50 org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore 51 org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore 52 org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore 53 org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning 54 org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning 55 org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore 56 org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore 57 org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore 58 org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore 59 org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore 60 org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled 61 org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning 62 org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled 63 org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled 64 org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled 65 org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore 66 org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning 67 org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled 68 org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning 69 org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning 70 org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore 71 org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning 72 org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore 73 org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore 74 org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore 75 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore 76 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled 77 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled 78 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled 79 org.eclipse.jdt.core.compiler.problem.unusedImport=warning 80 org.eclipse.jdt.core.compiler.problem.unusedLabel=warning 81 org.eclipse.jdt.core.compiler.problem.unusedLocal=warning 82 org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore 83 org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore 84 org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled 85 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled 86 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled 87 org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning 88 org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore 89 org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning 90 org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning -
applications/editors/josm/plugins/tageditor/build.xml
r29435 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is the build file for the tageditor plugin4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in your default plugin directory) run16 **17 ** > ant install18 **19 ** To build against the core in ../../core, create a correct manifest and deploy to20 ** SVN,21 ** set the properties commit.message and plugin.main.version22 ** and run23 ** > ant publish24 **25 **26 -->27 2 <project name="tageditor" default="dist" basedir="."> 28 3 <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"/> 30 5 <!-- 31 6 ************************************************ … … 37 12 <!-- this is the directory where the plugin jar is copied to --> 38 13 <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"/> 40 15 <property name="plugin.dist.dir" value="../../dist"/> 41 16 <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 14 14 import java.beans.PropertyChangeEvent; 15 15 import java.beans.PropertyChangeListener; 16 import java.util.logging.Logger;17 16 18 17 import javax.swing.AbstractAction; … … 31 30 import org.openstreetmap.josm.data.osm.DataSet; 32 31 import org.openstreetmap.josm.data.osm.OsmPrimitive; 32 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionList; 33 33 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionManager; 34 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionList;35 34 import org.openstreetmap.josm.plugins.tageditor.ac.AutoCompletionListViewer; 36 35 import org.openstreetmap.josm.plugins.tageditor.editor.TagEditor; … … 50 49 @SuppressWarnings("serial") 51 50 public 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()); 53 52 54 53 /** the unique instance */ -
applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/ac/AutoCompletionListViewer.java
r23189 r29854 8 8 import java.awt.event.MouseEvent; 9 9 import java.util.ArrayList; 10 import java.util.logging.Logger;11 10 12 11 import javax.swing.AbstractAction; … … 19 18 import javax.swing.ListSelectionModel; 20 19 import javax.swing.table.DefaultTableModel; 20 21 21 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionList; 22 22 23 23 public class AutoCompletionListViewer extends JPanel { 24 24 25 static private Logger logger = Logger.getLogger(AutoCompletionListViewer.class.getName());25 //static private Logger logger = Logger.getLogger(AutoCompletionListViewer.class.getName()); 26 26 27 27 /** the table showing the auto completion list entries */ -
applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/editor/PresetItemListCellRenderer.java
r23189 r29854 4 4 5 5 import java.awt.Component; 6 import java.util.logging.Logger;7 6 8 7 import javax.swing.JLabel; … … 14 13 15 14 public 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()); 17 16 18 17 public Component getListCellRendererComponent(JList list, Object value, -
applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/editor/PresetManager.java
r23189 r29854 9 9 import java.awt.event.ItemEvent; 10 10 import java.awt.event.ItemListener; 11 import java.util.logging.Logger;12 11 13 12 import javax.swing.JButton; … … 19 18 public class PresetManager extends JPanel { 20 19 21 static private final Logger logger = Logger.getLogger(PresetManager.class.getName());20 //static private final Logger logger = Logger.getLogger(PresetManager.class.getName()); 22 21 23 22 private JComboBox presets; -
applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/editor/TableCellRenderer.java
r23189 r29854 7 7 import java.awt.Component; 8 8 import java.awt.Font; 9 import java.util.logging.Logger;10 9 11 10 import javax.swing.JLabel; … … 27 26 public class TableCellRenderer extends JLabel implements javax.swing.table.TableCellRenderer { 28 27 29 private static Logger logger = Logger.getLogger(TableCellRenderer.class.getName());28 //private static Logger logger = Logger.getLogger(TableCellRenderer.class.getName()); 30 29 public static final Color BG_COLOR_HIGHLIGHTED = new Color(255,255,204); 31 30 -
applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/editor/TagEditorModel.java
r23189 r29854 2 2 package org.openstreetmap.josm.plugins.tageditor.editor; 3 3 4 import static org.openstreetmap.josm.tools.I18n.trn; 5 4 6 import java.util.ArrayList; 5 6 7 import java.util.Collection; 7 import java.util.logging.Logger;8 8 9 9 import javax.swing.DefaultComboBoxModel; … … 18 18 import org.openstreetmap.josm.plugins.tageditor.preset.Tag; 19 19 import org.openstreetmap.josm.plugins.tageditor.tagspec.KeyValuePair; 20 import static org.openstreetmap.josm.tools.I18n.trn;21 20 22 21 /** … … 25 24 @SuppressWarnings("serial") 26 25 public 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()); 28 27 29 28 private DefaultComboBoxModel appliedPresets = null; -
applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/preset/AbstractNameIconProvider.java
r27675 r29854 1 1 package org.openstreetmap.josm.plugins.tageditor.preset; 2 2 3 import java.awt.Image;4 3 import java.io.File; 5 4 import java.util.Collection; -
applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/preset/Group.java
r23189 r29854 3 3 import java.util.ArrayList; 4 4 import java.util.List; 5 import java.util.logging.Logger;6 5 7 6 /** … … 11 10 public class Group extends AbstractNameIconProvider { 12 11 13 static final private Logger logger = Logger.getLogger(Group.class.getName());12 //static final private Logger logger = Logger.getLogger(Group.class.getName()); 14 13 15 14 private List<Item> items = null; -
applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/preset/Item.java
r23189 r29854 3 3 import java.util.ArrayList; 4 4 import java.util.List; 5 import java.util.logging.Logger;6 5 7 6 public class Item extends AbstractNameIconProvider { 8 7 9 private final static Logger logger = Logger.getLogger(Item.class.getName());8 //private final static Logger logger = Logger.getLogger(Item.class.getName()); 10 9 11 10 private String label; -
applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/preset/ui/NameIconCellRenderer.java
r23189 r29854 4 4 import java.awt.Component; 5 5 import java.awt.Font; 6 import java.util.logging.Logger;7 6 8 7 import javax.swing.JLabel; … … 16 15 public class NameIconCellRenderer extends JLabel implements TableCellRenderer { 17 16 18 private static Logger logger = Logger.getLogger(NameIconCellRenderer.class.getName());17 //private static Logger logger = Logger.getLogger(NameIconCellRenderer.class.getName()); 19 18 public static final Color BG_COLOR_SELECTED = new Color(143,170,255); 20 19 -
applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/preset/ui/PresetsTableModel.java
r23189 r29854 2 2 3 3 import java.util.ArrayList; 4 import java.util.logging.Logger;5 4 6 5 import javax.swing.event.TableModelListener; … … 14 13 public class PresetsTableModel extends AbstractTableModel { 15 14 16 private static final Logger logger = Logger.getLogger(PresetsTableModel.class.getName());15 //private static final Logger logger = Logger.getLogger(PresetsTableModel.class.getName()); 17 16 18 17 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 3 3 import java.awt.Component; 4 4 import java.awt.Font; 5 import java.util.logging.Logger;6 5 7 6 import javax.swing.JLabel; … … 12 11 public class KeyValueCellRenderer extends JLabel implements TableCellRenderer { 13 12 14 private static final Logger logger = Logger.getLogger(KeyValueCellRenderer.class.getName());13 //private static final Logger logger = Logger.getLogger(KeyValueCellRenderer.class.getName()); 15 14 16 15 protected void init() { -
applications/editors/josm/plugins/tagging-preset-tester/build.xml
r29762 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is the build file for the tagging-preset-tester plugin4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in your default plugin directory) run16 **17 ** > ant install18 **19 ** To build against the core in ../../core, create a correct manifest and deploy to20 ** SVN,21 ** set the properties commit.message and plugin.main.version22 ** and run23 ** > ant publish24 **25 **26 -->27 2 <project name="tagging-preset-tester" default="dist" basedir="."> 28 3 <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="6 072"/>4 <property name="plugin.main.version" value="6162"/> 30 5 <property name="josm" location="../../core/dist/josm-custom.jar"/> 31 6 <property name="plugin.dist.dir" value="../../dist"/> 32 7 <property name="plugin.build.dir" value="build"/> 33 8 <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"/> 35 10 <target name="init"> 36 11 <mkdir dir="${plugin.build.dir}"/> -
applications/editors/josm/plugins/terracer/build.xml
r29771 r29854 2 2 <project name="terracer" default="dist" basedir="."> 3 3 <property name="commit.message" value="applied #j5760 (patch by robome) - Order of housenumbers not correct"/> 4 <property name="plugin.main.version" value="6 082"/>4 <property name="plugin.main.version" value="6162"/> 5 5 <property name="plugin.author" value="Matt Amos"/> 6 6 <property name="plugin.class" value="terracer.TerracerPlugin"/> -
applications/editors/josm/plugins/tracer/build.xml
r29771 r29854 4 4 <property name="commit.message" value="adapt to latest josm (getNodePairs changed)"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value="6 082"/>6 <property name="plugin.main.version" value="6162"/> 7 7 8 8 <property name="plugin.author" value="Jan Bilak, Petr Dlouhý"/> -
applications/editors/josm/plugins/tracer/src/org/openstreetmap/josm/plugins/tracer/ConnectWays.java
r23191 r29854 124 124 throws IllegalStateException, IndexOutOfBoundsException { 125 125 126 List<Command> cmds = new LinkedList<Command>();127 128 126 LatLon ll = node.getCoor(); 129 127 BBox bbox = new BBox( … … 191 189 System.out.println(way.getNodes().get(i) + "-----" + way.getNodes().get((i + 1) % way.getNodesCount())); 192 190 double minDistanceSq = MIN_DISTANCE_SQ; 193 double maxAngle = MAX_ANGLE;191 //double maxAngle = MAX_ANGLE; 194 192 List<Node> nodes = Main.main.getCurrentDataSet().searchNodes(new BBox( 195 193 Math.min(n1.getX(), n2.getX()) - minDistanceSq, … … 208 206 System.out.println("Angle: " + angle + " distance: " + dist + " Node: " + nod); 209 207 if (!n1.equalsEpsilon(nn) && !n2.equalsEpsilon(nn) && dist < minDistanceSq){ // && Math.abs(angle) < maxAngle) { 210 maxAngle = angle;208 //maxAngle = angle; 211 209 nearestNode = nod; 212 210 } -
applications/editors/josm/plugins/turnlanes/build.xml
r29435 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for a JOSM plugin.4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in you default plugin directory) run16 **17 ** > ant install18 **19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration20 ** 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 other23 ** JOSM users:24 ** set the properties commit.message and plugin.main.version25 ** and run26 ** > ant publish27 **28 **29 -->30 2 <project name="turnlanes" default="dist" basedir="."> 31 3 … … 33 5 <property name="commit.message" value="fix toolbar warnings - toolbar still does not work"/> 34 6 <!-- 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"/> 36 8 37 9 <!-- -
applications/editors/josm/plugins/turnlanes/src/org/openstreetmap/josm/plugins/turnlanes/gui/TurnLanesDialog.java
r28624 r29854 13 13 import java.util.Set; 14 14 15 import javax.swing.Action;16 15 import javax.swing.ButtonGroup; 17 16 import javax.swing.JPanel; -
applications/editors/josm/plugins/turnrestrictions/.settings/org.eclipse.jdt.core.prefs
r29853 r29854 1 1 eclipse.preferences.version=1 2 org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled 3 org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore 4 org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull 5 org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault 6 org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable 7 org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled 2 8 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 9 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 4 10 org.eclipse.jdt.core.compiler.compliance=1.6 11 org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning 5 12 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 13 org.eclipse.jdt.core.compiler.problem.autoboxing=ignore 14 org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning 15 org.eclipse.jdt.core.compiler.problem.deadCode=warning 16 org.eclipse.jdt.core.compiler.problem.deprecation=warning 17 org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled 18 org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled 19 org.eclipse.jdt.core.compiler.problem.discouragedReference=warning 20 org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore 6 21 org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 22 org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore 23 org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore 24 org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled 25 org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore 26 org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning 27 org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning 28 org.eclipse.jdt.core.compiler.problem.forbiddenReference=error 29 org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning 30 org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled 31 org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning 32 org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning 33 org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore 34 org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore 35 org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning 36 org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore 37 org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore 38 org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled 39 org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore 40 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore 41 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled 42 org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore 43 org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore 44 org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning 45 org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning 46 org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore 47 org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning 48 org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error 49 org.eclipse.jdt.core.compiler.problem.nullReference=warning 50 org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error 51 org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning 52 org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning 53 org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore 54 org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore 55 org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore 56 org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore 57 org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning 58 org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning 59 org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore 60 org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore 61 org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore 62 org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore 63 org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore 64 org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled 65 org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning 66 org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled 67 org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled 68 org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled 69 org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore 70 org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning 71 org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled 72 org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning 73 org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning 74 org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore 75 org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning 76 org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore 77 org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore 78 org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore 79 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore 80 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled 81 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled 82 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled 83 org.eclipse.jdt.core.compiler.problem.unusedImport=warning 84 org.eclipse.jdt.core.compiler.problem.unusedLabel=warning 85 org.eclipse.jdt.core.compiler.problem.unusedLocal=warning 86 org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore 87 org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore 88 org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled 89 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled 90 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled 91 org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning 92 org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore 93 org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning 94 org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning 7 95 org.eclipse.jdt.core.compiler.source=1.6 -
applications/editors/josm/plugins/turnrestrictions/build.xml
r29435 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is the build file for the turnrestrictions plugin4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in you default plugin directory) run16 **17 ** > ant install18 **19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration20 ** 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 other23 ** JOSM users:24 ** set the properties commit.message and plugin.main.version25 ** and run26 ** > ant publish27 **28 **29 -->30 2 <project name="turnrestrictions" default="dist" basedir="."> 31 3 <!-- enter the SVN commit message --> 32 4 <property name="commit.message" value="Adapt to JOSM core change (DefaultNameFormatter)"/> 33 5 <!-- 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"/> 35 7 36 8 <property name="test.build.dir" value="test/build"/> -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/CreateOrEditTurnRestrictionAction.java
r27879 r29854 11 11 import org.openstreetmap.josm.data.osm.Relation; 12 12 import org.openstreetmap.josm.gui.layer.OsmDataLayer; 13 import org.openstreetmap.josm.tools.Shortcut;14 13 import org.openstreetmap.josm.plugins.turnrestrictions.editor.TurnRestrictionEditor; 15 14 import org.openstreetmap.josm.plugins.turnrestrictions.editor.TurnRestrictionEditorManager; 16 15 import org.openstreetmap.josm.plugins.turnrestrictions.editor.TurnRestrictionSelectionPopupPanel; 17 import org.openstreetmap.josm. plugins.turnrestrictions.preferences.PreferenceKeys;16 import org.openstreetmap.josm.tools.Shortcut; 18 17 19 18 /** -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/dnd/PrimitiveIdListProvider.java
r23192 r29854 3 3 import java.util.List; 4 4 5 import org.openstreetmap.josm.data.osm.PrimitiveId; ;5 import org.openstreetmap.josm.data.osm.PrimitiveId; 6 6 public interface PrimitiveIdListProvider { 7 7 /** -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/dnd/PrimitiveIdListTransferHandler.java
r23510 r29854 8 8 import javax.swing.TransferHandler; 9 9 10 import org.openstreetmap.josm.data.osm.PrimitiveId; 10 11 import org.openstreetmap.josm.tools.CheckParameterUtil; 11 12 -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/AdvancedEditorPanel.java
r24937 r29854 6 6 import java.awt.event.HierarchyEvent; 7 7 import java.awt.event.HierarchyListener; 8 import java.util.logging.Logger;9 8 10 9 import javax.swing.JPanel; … … 23 22 */ 24 23 public 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()); 26 25 27 26 private TurnRestrictionEditorModel model; -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/BasicEditorPanel.java
r25463 r29854 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 4 5 import java.awt.Component;6 5 import java.awt.Dimension; 7 6 import java.awt.GridBagConstraints; -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/JosmSelectionListModel.java
r26299 r29854 6 6 import java.util.List; 7 7 import java.util.Set; 8 import java.util.logging.Logger;9 8 10 9 import javax.swing.AbstractListModel; … … 36 35 */ 37 36 public 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()); 39 38 40 39 private final List<OsmPrimitive> selection = new ArrayList<OsmPrimitive>(); -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/JosmSelectionPanel.java
r23571 r29854 11 11 import javax.swing.Action; 12 12 import javax.swing.BorderFactory; 13 import javax.swing.DefaultListSelectionModel;14 13 import javax.swing.JComponent; 15 14 import javax.swing.JLabel; -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/MemberRoleCellEditor.java
r21010 r29854 3 3 4 4 import java.awt.Component; 5 import java.util.logging.Logger;6 5 7 6 import javax.swing.AbstractCellEditor; … … 19 18 */ 20 19 public 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()); 22 21 23 22 private AutoCompletingTextField editor = null; -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/RelationMemberEditorModel.java
r23526 r29854 11 11 import java.util.List; 12 12 import java.util.Set; 13 import java.util.logging.Logger;14 13 15 14 import javax.swing.DefaultListSelectionModel; … … 25 24 26 25 public 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()); 28 27 private final ArrayList<RelationMemberModel> members = new ArrayList<RelationMemberModel>(); 29 28 private OsmDataLayer layer; -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/RelationMemberTable.java
r26666 r29854 18 18 import java.io.IOException; 19 19 import java.util.List; 20 import java.util.logging.Logger;21 20 22 21 import javax.swing.AbstractAction; … … 134 133 } 135 134 135 @SuppressWarnings("unchecked") 136 136 public void actionPerformed(ActionEvent evt) { 137 137 // tried to delegate to 'paste' action in the action map of the … … 247 247 } 248 248 249 @SuppressWarnings("unchecked") 249 250 @Override 250 251 public boolean importData(JComponent comp, Transferable t) { … … 323 324 } 324 325 326 @SuppressWarnings("unchecked") 325 327 public synchronized void drop(DropTargetDropEvent dtde) { 326 328 try { -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionComboBox.java
r23510 r29854 4 4 5 5 import org.openstreetmap.josm.data.Preferences; 6 import org.openstreetmap.josm.plugins.turnrestrictions.preferences.PreferenceKeys; 6 7 /** 7 8 * 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 5 5 import java.util.Observable; 6 6 import java.util.Observer; 7 import java.util.logging.Logger;8 7 9 8 import javax.swing.ComboBoxModel; … … 21 20 */ 22 21 public 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()); 24 23 25 24 private TurnRestrictionEditorModel model; -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionEditor.java
r26509 r29854 21 21 import java.util.Observable; 22 22 import java.util.Observer; 23 import java.util.logging.Logger;24 23 25 24 import javax.swing.AbstractAction; … … 46 45 import org.openstreetmap.josm.gui.DefaultNameFormatter; 47 46 import org.openstreetmap.josm.gui.HelpAwareOptionPane; 47 import org.openstreetmap.josm.gui.HelpAwareOptionPane.ButtonSpec; 48 48 import org.openstreetmap.josm.gui.SideButton; 49 import org.openstreetmap.josm.gui.HelpAwareOptionPane.ButtonSpec;50 49 import org.openstreetmap.josm.gui.dialogs.relation.RelationEditor; 51 50 import org.openstreetmap.josm.gui.help.ContextSensitiveHelpAction; … … 58 57 59 58 public 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()); 61 60 62 61 /** the property name for the current turn restriction -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionEditorManager.java
r23510 r29854 10 10 import java.util.Iterator; 11 11 import java.util.Map.Entry; 12 import java.util.logging.Logger;13 12 14 13 import org.openstreetmap.josm.data.osm.PrimitiveId; … … 23 22 */ 24 23 public 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()); 26 25 27 26 /** keeps track of open relation editors */ -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionEditorModel.java
r26299 r29854 5 5 import java.util.Observable; 6 6 import java.util.Set; 7 import java.util.logging.Logger;8 7 9 8 import javax.swing.event.TableModelEvent; … … 21 20 import org.openstreetmap.josm.data.osm.event.DataSetListener; 22 21 import org.openstreetmap.josm.data.osm.event.DatasetEventManager; 22 import org.openstreetmap.josm.data.osm.event.DatasetEventManager.FireMode; 23 23 import org.openstreetmap.josm.data.osm.event.NodeMovedEvent; 24 24 import org.openstreetmap.josm.data.osm.event.PrimitivesAddedEvent; … … 27 27 import org.openstreetmap.josm.data.osm.event.TagsChangedEvent; 28 28 import org.openstreetmap.josm.data.osm.event.WayNodesChangedEvent; 29 import org.openstreetmap.josm.data.osm.event.DatasetEventManager.FireMode;30 29 import org.openstreetmap.josm.gui.layer.OsmDataLayer; 31 30 import org.openstreetmap.josm.gui.tagging.TagEditorModel; … … 40 39 */ 41 40 public 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()); 43 42 44 43 /** -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionLegEditor.java
r23571 r29854 59 59 */ 60 60 public 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()); 62 62 63 63 private JLabel lblOsmObject; -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionSelectionPopupPanel.java
r23510 r29854 17 17 import java.util.Collection; 18 18 import java.util.HashSet; 19 import java.util.logging.Logger;20 19 21 20 import javax.swing.AbstractAction; … … 50 49 */ 51 50 public 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()); 53 52 54 53 /** the parent popup */ -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionTypeRenderer.java
r23510 r29854 1 1 package org.openstreetmap.josm.plugins.turnrestrictions.editor; 2 3 import static org.openstreetmap.josm.tools.I18n.tr; 2 4 3 5 import java.awt.Component; … … 15 17 import org.openstreetmap.josm.plugins.turnrestrictions.preferences.PreferenceKeys; 16 18 import org.openstreetmap.josm.tools.ImageProvider; 17 import static org.openstreetmap.josm.tools.I18n.tr;18 19 19 20 -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/VehicleExceptionEditor.java
r23571 r29854 16 16 import java.util.Observable; 17 17 import java.util.Observer; 18 import java.util.logging.Logger;19 18 20 19 import javax.swing.ButtonGroup; … … 36 35 */ 37 36 public 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()); 39 38 40 39 private TurnRestrictionEditorModel model; -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/ViaList.java
r26345 r29854 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 4 5 import java.awt.Dimension;6 5 import java.awt.Toolkit; 7 6 import java.awt.datatransfer.Clipboard; … … 48 47 public class ViaList extends JList{ 49 48 50 static private final Logger logger = Logger.getLogger(ViaList.class.getName());49 //static private final Logger logger = Logger.getLogger(ViaList.class.getName()); 51 50 52 51 private ViaListModel model; -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/ViaListModel.java
r23192 r29854 1 1 package org.openstreetmap.josm.plugins.turnrestrictions.editor; 2 3 import static org.openstreetmap.josm.tools.I18n.tr; 2 4 3 5 import java.util.ArrayList; … … 6 8 import java.util.Observable; 7 9 import java.util.Observer; 8 import java.util.logging.Logger;9 10 10 11 import javax.swing.AbstractListModel; … … 16 17 import org.openstreetmap.josm.plugins.turnrestrictions.dnd.PrimitiveIdListProvider; 17 18 import org.openstreetmap.josm.tools.CheckParameterUtil; 18 import static org.openstreetmap.josm.tools.I18n.tr;19 19 20 20 /** … … 23 23 */ 24 24 public 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()); 26 26 27 27 private DefaultListSelectionModel selectionModel; -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/list/TurnRestrictionCellRenderer.java
r23510 r29854 2 2 3 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 import static org.openstreetmap.josm.tools.I18n.trc; 4 5 5 6 import java.awt.Color; … … 11 12 import java.util.HashSet; 12 13 import java.util.Set; 13 import java.util.logging.Logger;14 14 15 15 import javax.swing.ImageIcon; … … 31 31 import org.openstreetmap.josm.plugins.turnrestrictions.preferences.PreferenceKeys; 32 32 import org.openstreetmap.josm.tools.ImageProvider; 33 import static org.openstreetmap.josm.tools.I18n.trc;34 33 35 34 /** … … 41 40 */ 42 41 public 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()); 44 43 45 44 /** the names of restriction types */ -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/list/TurnRestrictionsInDatasetListModel.java
r26299 r29854 4 4 import java.util.LinkedList; 5 5 import java.util.List; 6 import java.util.logging.Logger;7 6 8 7 import javax.swing.DefaultListSelectionModel; … … 34 33 */ 35 34 public 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()); 37 36 38 37 public TurnRestrictionsInDatasetListModel( -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/list/TurnRestrictionsInSelectionListModel.java
r23192 r29854 4 4 import java.util.HashSet; 5 5 import java.util.Set; 6 import java.util.logging.Logger;7 6 8 7 import javax.swing.DefaultListSelectionModel; … … 19 18 */ 20 19 public 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()); 22 21 23 22 public TurnRestrictionsInSelectionListModel( -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/list/TurnRestrictionsInSelectionView.java
r23192 r29854 12 12 import org.openstreetmap.josm.data.SelectionChangedListener; 13 13 import org.openstreetmap.josm.data.osm.OsmPrimitive; 14 import org.openstreetmap.josm.data.osm.event.DatasetEventManager.FireMode; 14 15 import org.openstreetmap.josm.data.osm.event.SelectionEventManager; 15 import org.openstreetmap.josm.data.osm.event.DatasetEventManager.FireMode;16 16 import org.openstreetmap.josm.gui.MapView; 17 17 import org.openstreetmap.josm.gui.MapView.EditLayerChangeListener; -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/list/TurnRestrictionsListDialog.java
r27464 r29854 13 13 import java.util.HashSet; 14 14 import java.util.List; 15 import java.util.logging.Logger;16 15 17 16 import javax.swing.AbstractAction; … … 31 30 import org.openstreetmap.josm.data.osm.RelationMember; 32 31 import org.openstreetmap.josm.gui.MapView; 32 import org.openstreetmap.josm.gui.MapView.EditLayerChangeListener; 33 33 import org.openstreetmap.josm.gui.SideButton; 34 import org.openstreetmap.josm.gui.MapView.EditLayerChangeListener;35 34 import org.openstreetmap.josm.gui.dialogs.ToggleDialog; 36 35 import org.openstreetmap.josm.gui.help.HelpUtil; … … 53 52 */ 54 53 public 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()); 56 55 57 56 /** checkbox for switching between the two list views */ -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/preferences/PreferenceKeys.java
r23510 r29854 1 1 package org.openstreetmap.josm.plugins.turnrestrictions.preferences; 2 3 import javax.swing.KeyStroke; 2 4 3 5 -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/preferences/PreferencesPanel.java
r27876 r29854 7 7 import java.awt.GridBagLayout; 8 8 import java.awt.Insets; 9 import java.util.logging.Logger;10 11 9 12 10 import javax.swing.BorderFactory; … … 30 28 */ 31 29 public 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()); 33 31 private JRadioButton rbSetA; 34 32 private JRadioButton rbSetB; -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/qa/IssuesView.java
r24937 r29854 5 5 import java.util.Observable; 6 6 import java.util.Observer; 7 import java.util.logging.Logger;8 7 9 8 import javax.swing.JPanel; … … 17 16 */ 18 17 public 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()); 20 19 21 20 /** the issues model */ -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/qa/MissingTurnRestrictionLegError.java
r23593 r29854 1 1 package org.openstreetmap.josm.plugins.turnrestrictions.qa; 2 3 import static org.openstreetmap.josm.plugins.turnrestrictions.editor.NavigationControler.BasicEditorFokusTargets.FROM; 4 import static org.openstreetmap.josm.plugins.turnrestrictions.editor.NavigationControler.BasicEditorFokusTargets.TO; 5 import static org.openstreetmap.josm.tools.I18n.tr; 2 6 3 7 import java.awt.event.ActionEvent; … … 6 10 7 11 import 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.*;10 12 11 13 /** -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/qa/WrongTurnRestrictionLegTypeError.java
r23593 r29854 10 10 import org.openstreetmap.josm.gui.DefaultNameFormatter; 11 11 import org.openstreetmap.josm.plugins.turnrestrictions.editor.NavigationControler; 12 import org.openstreetmap.josm.plugins.turnrestrictions.editor.NavigationControler.BasicEditorFokusTargets; 12 13 import org.openstreetmap.josm.plugins.turnrestrictions.editor.RelationMemberEditorModel; 13 14 import org.openstreetmap.josm.plugins.turnrestrictions.editor.TurnRestrictionLegRole; 14 import org.openstreetmap.josm.plugins.turnrestrictions.editor.NavigationControler.BasicEditorFokusTargets;15 15 16 16 /** -
applications/editors/josm/plugins/undelete/build.xml
r29474 r29854 4 4 <property name="commit.message" value="adapt to core changes (backwards compatible)"/> 5 5 <!-- 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"/> 7 7 8 8 <property name="plugin.author" value="Nakor"/> -
applications/editors/josm/plugins/utilsplugin2/build.xml
r29771 r29854 5 5 <property name="commit.message" value="[josm_utilsplugin2]: pasting tags is in core long ago. Please update you ancient JOSM :)"/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="6 082"/>7 <property name="plugin.main.version" value="6162"/> 8 8 9 9 <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 1 1 package org.openstreetmap.josm.plugins.utilsplugin2.replacegeometry; 2 2 3 import edu.princeton.cs.algs4.AssignmentProblem; 3 import static org.openstreetmap.josm.tools.I18n.tr; 4 4 5 import java.awt.geom.Area; 5 import java.awt.geom.Point2D; 6 import java.util.*; 6 import java.util.AbstractMap; 7 import java.util.ArrayList; 8 import java.util.Arrays; 9 import java.util.Collection; 10 import java.util.HashMap; 11 import java.util.HashSet; 12 import java.util.LinkedList; 13 import java.util.List; 14 import java.util.Map; 15 import java.util.Set; 16 7 17 import javax.swing.JOptionPane; 18 8 19 import org.openstreetmap.josm.Main; 9 20 import org.openstreetmap.josm.actions.MergeNodesAction; 10 import org.openstreetmap.josm.command.*; 11 import org.openstreetmap.josm.data.osm.*; 21 import org.openstreetmap.josm.command.ChangeNodesCommand; 22 import org.openstreetmap.josm.command.ChangePropertyCommand; 23 import org.openstreetmap.josm.command.Command; 24 import org.openstreetmap.josm.command.DeleteCommand; 25 import org.openstreetmap.josm.command.MoveCommand; 26 import org.openstreetmap.josm.data.coor.LatLon; 27 import org.openstreetmap.josm.data.osm.Node; 28 import org.openstreetmap.josm.data.osm.OsmPrimitive; 29 import org.openstreetmap.josm.data.osm.Relation; 30 import org.openstreetmap.josm.data.osm.RelationMember; 31 import org.openstreetmap.josm.data.osm.RelationToChildReference; 32 import org.openstreetmap.josm.data.osm.TagCollection; 33 import org.openstreetmap.josm.data.osm.Way; 12 34 import org.openstreetmap.josm.gui.DefaultNameFormatter; 13 35 import org.openstreetmap.josm.gui.conflict.tags.CombinePrimitiveResolverDialog; 14 36 import org.openstreetmap.josm.gui.conflict.tags.TagConflictResolutionUtil; 15 import static org.openstreetmap.josm.tools.I18n.tr; 37 38 import edu.princeton.cs.algs4.AssignmentProblem; 16 39 17 40 /** … … 400 423 401 424 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())) { 403 427 return true; 404 428 } … … 481 505 // TODO: use meters instead of degrees, but do it fast 482 506 double distance = Double.parseDouble(Main.pref.get("utilsplugin2.replace-geometry.max-distance", "1")); 483 Point2Dcoor = node.getCoor();507 LatLon coor = node.getCoor(); 484 508 485 509 for( Node n : nodes ) { -
applications/editors/josm/plugins/videomapping/build.xml
r29784 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for a JOSM plugin.4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in you default plugin directory) run16 **17 ** > ant install18 **19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration20 ** 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 other23 ** JOSM users:24 ** set the properties commit.message and plugin.main.version25 ** and run26 ** > ant publish27 **28 **29 -->30 2 <project name="videomapping" default="dist" basedir="."> 31 3 … … 33 5 <property name="commit.message" value="fix after JOSM update"/> 34 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 35 <property name="plugin.main.version" value="6 088"/>7 <property name="plugin.main.version" value="6162"/> 36 8 37 9 <!-- -
applications/editors/josm/plugins/walkingpapers/build.xml
r29805 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for a JOSM plugin.4 **5 ** Maintaining versions6 ** ====================7 ** See README.template8 **9 ** Usage10 ** =====11 ** Call "ant help" to get possible build targets.12 **13 -->14 2 <project name="walkingpapers" default="dist" basedir="."> 15 3 … … 17 5 <property name="commit.message" value="Changed the constructor signature of the plugin main class"/> 18 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 19 <property name="plugin.main.version" value="6 097"/>7 <property name="plugin.main.version" value="6162"/> 20 8 21 9 <property name="plugin.author" value="Frederik Ram"/> -
applications/editors/josm/plugins/walkingpapers/src/org/openstreetmap/josm/plugins/walkingpapers/WalkingPapersAddLayerAction.java
r29778 r29854 33 33 34 34 // 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); 36 36 37 37 if (mungedWpId == null || mungedWpId.equals("")) return; -
applications/editors/josm/plugins/walkingpapers/src/org/openstreetmap/josm/plugins/walkingpapers/WalkingPapersLayer.java
r26299 r29854 55 55 private String walkingPapersId; 56 56 57 @SuppressWarnings("serial")58 57 public WalkingPapersLayer(String id, String tile, Bounds b, int minz, int maxz) { 59 58 super(tr("Walking Papers: {0}", id)); -
applications/editors/josm/plugins/walkingpapers/src/org/openstreetmap/josm/plugins/walkingpapers/WalkingPapersPlugin.java
r29805 r29854 1 1 package org.openstreetmap.josm.plugins.walkingpapers; 2 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;7 8 3 import javax.swing.JMenu; 9 import javax.swing.JMenuItem;10 4 11 5 import org.openstreetmap.josm.Main; -
applications/editors/josm/plugins/waydownloader/build.xml
r29771 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for a JOSM plugin.4 **5 ** Maintaining versions6 ** ====================7 ** See README.template8 **9 ** Usage10 ** =====11 ** Call "ant help" to get possible build targets.12 **13 -->14 2 <project name="waydownloader" default="dist" basedir="."> 15 3 … … 17 5 <property name="commit.message" value="Changed the constructor signature of the plugin main class"/> 18 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 19 <property name="plugin.main.version" value="6 082"/>7 <property name="plugin.main.version" value="6162"/> 20 8 21 9 <property name="plugin.author" value="Harry Wood"/> -
applications/editors/josm/plugins/waypoint_search/.settings/org.eclipse.jdt.core.prefs
r29853 r29854 1 1 eclipse.preferences.version=1 2 org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled 3 org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore 4 org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull 5 org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault 6 org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable 7 org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled 2 8 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 9 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 … … 7 13 org.eclipse.jdt.core.compiler.debug.localVariable=generate 8 14 org.eclipse.jdt.core.compiler.debug.sourceFile=generate 15 org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning 9 16 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 17 org.eclipse.jdt.core.compiler.problem.autoboxing=ignore 18 org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning 19 org.eclipse.jdt.core.compiler.problem.deadCode=warning 20 org.eclipse.jdt.core.compiler.problem.deprecation=warning 21 org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled 22 org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled 23 org.eclipse.jdt.core.compiler.problem.discouragedReference=warning 24 org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore 10 25 org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 26 org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore 27 org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore 28 org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled 29 org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore 30 org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning 31 org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning 32 org.eclipse.jdt.core.compiler.problem.forbiddenReference=error 33 org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning 34 org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled 35 org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning 36 org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning 37 org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore 38 org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore 39 org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning 40 org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore 41 org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore 42 org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled 43 org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore 44 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore 45 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled 46 org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore 47 org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore 48 org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning 49 org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning 50 org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore 51 org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning 52 org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error 53 org.eclipse.jdt.core.compiler.problem.nullReference=warning 54 org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error 55 org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning 56 org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning 57 org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore 58 org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore 59 org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore 60 org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore 61 org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning 62 org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning 63 org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore 64 org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore 65 org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore 66 org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore 67 org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore 68 org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled 69 org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning 70 org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled 71 org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled 72 org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled 73 org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore 74 org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning 75 org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled 76 org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning 77 org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning 78 org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore 79 org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning 80 org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore 81 org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore 82 org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore 83 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore 84 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled 85 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled 86 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled 87 org.eclipse.jdt.core.compiler.problem.unusedImport=warning 88 org.eclipse.jdt.core.compiler.problem.unusedLabel=warning 89 org.eclipse.jdt.core.compiler.problem.unusedLocal=warning 90 org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore 91 org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore 92 org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled 93 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled 94 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled 95 org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning 96 org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore 97 org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning 98 org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning 11 99 org.eclipse.jdt.core.compiler.source=1.6 -
applications/editors/josm/plugins/waypoint_search/build.xml
r29435 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for a JOSM plugin.4 **5 ** Maintaining versions6 ** ====================7 ** See README.template8 **9 ** Usage10 ** =====11 ** Call "ant help" to get possible build targets.12 **13 -->14 2 <project name="waypoint_search" default="dist" basedir="."> 15 3 … … 17 5 <property name="commit.message" value="bugfix of search when layer is added"/> 18 6 <!-- 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"/> 20 8 21 9 <property name="plugin.author" value="Åsmund Realfsen - realfsen at gmx.net"/> -
applications/editors/josm/plugins/wayselector/build.xml
r29771 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for a JOSM plugin.4 **5 ** Maintaining versions6 ** ====================7 ** See README.template8 **9 ** Usage10 ** =====11 ** Call "ant help" to get possible build targets.12 **13 -->14 2 <project name="wayselector" default="dist" basedir="."> 15 3 … … 17 5 <property name="commit.message" value="recompile due to core change"/> 18 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 19 <property name="plugin.main.version" value="6 082"/>7 <property name="plugin.main.version" value="6162"/> 20 8 21 9 <property name="plugin.author" value="Marko Mäkelä"/> -
applications/editors/josm/plugins/wikipedia/build.xml
r29778 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for a JOSM plugin.4 **5 ** Maintaining versions6 ** ====================7 ** See README.template8 **9 ** Usage10 ** =====11 ** Call "ant help" to get possible build targets.12 **13 -->14 2 <project name="wikipedia" default="dist" basedir="."> 15 3 … … 17 5 <property name="commit.message" value="Commit message"/> 18 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 19 <property name="plugin.main.version" value="6 082"/>7 <property name="plugin.main.version" value="6162"/> 20 8 21 9 <property name="plugin.author" value="simon04"/> -
applications/editors/josm/plugins/wikipedia/src/org/wikipedia/WikipediaAddNamesAction.java
r29521 r29854 10 10 import java.util.List; 11 11 import java.util.Locale; 12 12 13 import org.openstreetmap.josm.Main; 13 14 import org.openstreetmap.josm.actions.JosmAction; -
applications/editors/josm/plugins/wikipedia/src/org/wikipedia/WikipediaApp.java
r29621 r29854 19 19 import java.util.regex.Matcher; 20 20 import java.util.regex.Pattern; 21 21 22 import javax.xml.parsers.DocumentBuilderFactory; 22 23 import javax.xml.xpath.XPathConstants; 23 24 import javax.xml.xpath.XPathExpression; 24 25 import javax.xml.xpath.XPathFactory; 26 25 27 import org.openstreetmap.josm.data.coor.LatLon; 26 28 import org.openstreetmap.josm.data.osm.OsmPrimitive; -
applications/editors/josm/plugins/wikipedia/src/org/wikipedia/WikipediaCopyTemplate.java
r29336 r29854 7 7 import java.util.Collection; 8 8 import java.util.List; 9 9 10 import javax.swing.JMenuItem; 11 10 12 import org.openstreetmap.josm.Main; 11 13 import org.openstreetmap.josm.actions.JosmAction; -
applications/editors/josm/plugins/wikipedia/src/org/wikipedia/WikipediaToggleDialog.java
r29523 r29854 12 12 import java.util.List; 13 13 import java.util.Set; 14 14 15 import javax.swing.AbstractAction; 15 16 import javax.swing.DefaultListCellRenderer; … … 19 20 import javax.swing.JOptionPane; 20 21 import javax.swing.SwingWorker; 22 21 23 import org.openstreetmap.josm.Main; 22 24 import org.openstreetmap.josm.actions.search.SearchAction; -
applications/editors/josm/plugins/wms-turbo-challenge2/build.xml
r29435 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for a JOSM plugin.4 **5 ** Maintaining versions6 ** ====================7 ** See README.template8 **9 ** Usage10 ** =====11 ** Call "ant help" to get possible build targets.12 **13 -->14 2 <project name="wms-turbo-challenge2" default="dist" basedir="."> 15 3 … … 17 5 <property name="commit.message" value="Commit message"/> 18 6 <!-- 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"/> 20 8 21 9 <property name="plugin.author" value="Andrzej Zaborowski"/> -
applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/FakeMapView.java
r29210 r29854 25 25 import org.openstreetmap.josm.gui.MapView; 26 26 27 class fake_map_view extends MapView {27 class FakeMapView extends MapView { 28 28 public ProjectionBounds view_bounds; 29 29 public MapView parent; … … 36 36 public double max_east_west; 37 37 38 public fake_map_view(MapView parent, double scale) {38 public FakeMapView(MapView parent, double scale) { 39 39 super(null, null); //TODO MapView constructor contains registering listeners and other code, that probably shouldn't be called in fake map view 40 40 this.parent = parent; -
applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/GameWindow.java
r26299 r29854 62 62 63 63 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); 65 65 66 66 /* Retrieve start position */ … … 474 474 } 475 475 476 protected class sprite_pos implements Comparable {476 protected class sprite_pos implements Comparable<sprite_pos> { 477 477 double dist; 478 478 … … 483 483 } 484 484 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); 488 487 } 489 488 } … … 700 699 } 701 700 } 702 protected fake_map_view ground_view;701 protected FakeMapView ground_view; 703 702 } -
applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/WMSRacer.java
r26174 r29854 9 9 10 10 import org.openstreetmap.josm.gui.layer.Layer; 11 import org.openstreetmap.josm.gui.MapView; 11 12 import org.openstreetmap.josm.gui.MapView.LayerChangeListener; 12 13 import org.openstreetmap.josm.gui.MapFrame; … … 95 96 public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) { 96 97 if (oldFrame != null) 97 oldFrame.mapView.removeLayerChangeListener(this);98 MapView.removeLayerChangeListener(this); 98 99 99 100 driveAction.frame = newFrame; … … 101 102 102 103 if (newFrame != null) 103 newFrame.mapView.addLayerChangeListener(this);104 MapView.addLayerChangeListener(this); 104 105 } 105 106
Note:
See TracChangeset
for help on using the changeset viewer.