Changeset 30759 in osm
- Timestamp:
- 2014-10-21T02:58:34+02:00 (10 years ago)
- Location:
- applications/viewer/jmapviewer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/.settings/org.eclipse.jdt.core.prefs
r30425 r30759 10 10 org.eclipse.jdt.core.codeComplete.staticFinalFieldPrefixes= 11 11 org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes= 12 org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled 13 org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore 14 org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull 15 org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault 16 org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable 17 org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled 12 18 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 13 19 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 … … 17 23 org.eclipse.jdt.core.compiler.debug.localVariable=generate 18 24 org.eclipse.jdt.core.compiler.debug.sourceFile=generate 25 org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning 19 26 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 27 org.eclipse.jdt.core.compiler.problem.autoboxing=ignore 28 org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning 29 org.eclipse.jdt.core.compiler.problem.deadCode=warning 30 org.eclipse.jdt.core.compiler.problem.deprecation=warning 31 org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled 32 org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled 33 org.eclipse.jdt.core.compiler.problem.discouragedReference=warning 34 org.eclipse.jdt.core.compiler.problem.emptyStatement=warning 20 35 org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 36 org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=warning 37 org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore 38 org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled 39 org.eclipse.jdt.core.compiler.problem.fieldHiding=warning 40 org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning 41 org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning 42 org.eclipse.jdt.core.compiler.problem.forbiddenReference=error 43 org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning 44 org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled 45 org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning 46 org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning 47 org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore 48 org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore 49 org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning 50 org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore 51 org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore 52 org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled 53 org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore 54 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore 55 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled 56 org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore 57 org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore 58 org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning 59 org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning 60 org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore 61 org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning 62 org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error 63 org.eclipse.jdt.core.compiler.problem.nullReference=warning 64 org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error 65 org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning 66 org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning 67 org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore 68 org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore 69 org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore 70 org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore 71 org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning 72 org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning 73 org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore 74 org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=warning 75 org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore 76 org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore 77 org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore 78 org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled 79 org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning 80 org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled 81 org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled 82 org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled 83 org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore 84 org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning 85 org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled 86 org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning 87 org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning 88 org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore 89 org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning 90 org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore 91 org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore 92 org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore 93 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore 94 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled 95 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled 96 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled 97 org.eclipse.jdt.core.compiler.problem.unusedImport=warning 98 org.eclipse.jdt.core.compiler.problem.unusedLabel=warning 99 org.eclipse.jdt.core.compiler.problem.unusedLocal=warning 100 org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning 101 org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore 102 org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled 103 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled 104 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled 105 org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning 106 org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore 107 org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning 108 org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning 21 109 org.eclipse.jdt.core.compiler.source=1.7 22 110 org.eclipse.jdt.core.formatter.align_type_members_on_columns=false -
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/JMapViewer.java
r30628 r30759 43 43 public class JMapViewer extends JPanel implements TileLoaderListener { 44 44 45 private static final long serialVersionUID = 1L;46 47 45 public static boolean debug = false; 48 46 … … 100 98 * retrieving the tiles. 101 99 */ 100 @SuppressWarnings("unused") 102 101 public JMapViewer() { 103 102 this(new MemoryTileCache(), 8); … … 1066 1065 } 1067 1066 1068 protected EventListenerList listenerList = new EventListenerList();1067 protected EventListenerList evtListenerList = new EventListenerList(); 1069 1068 1070 1069 /** … … 1072 1071 */ 1073 1072 public void addJMVListener(JMapViewerEventListener listener) { 1074 listenerList.add(JMapViewerEventListener.class, listener);1073 evtListenerList.add(JMapViewerEventListener.class, listener); 1075 1074 } 1076 1075 … … 1079 1078 */ 1080 1079 public void removeJMVListener(JMapViewerEventListener listener) { 1081 listenerList.remove(JMapViewerEventListener.class, listener);1080 evtListenerList.remove(JMapViewerEventListener.class, listener); 1082 1081 } 1083 1082 … … 1088 1087 */ 1089 1088 void fireJMVEvent(JMVCommandEvent evt) { 1090 Object[] listeners = listenerList.getListenerList();1089 Object[] listeners = evtListenerList.getListenerList(); 1091 1090 for (int i=0; i<listeners.length; i+=2) { 1092 1091 if (listeners[i]==JMapViewerEventListener.class) {
Note:
See TracChangeset
for help on using the changeset viewer.