Permalink
Browse files

feat(build): jTomtom compile and build with Maven

... need to have assembly now
  • Loading branch information...
1 parent 0f34725 commit 94407726c3056b68972a1a535e0e80e5600ff874 @Marthym committed Jun 11, 2015
Showing with 817 additions and 1,068 deletions.
  1. +0 −11 .classpath
  2. +2 −0 .gitignore
  3. +0 −24 .project
  4. +0 −12 .settings/org.eclipse.jdt.core.prefs
  5. +8 −0 README.md
  6. +17 −0 jcablib/pom.xml
  7. 0 {src → jcablib/src/main/java}/net/sf/jcablib/CabConstants.java
  8. 0 {src → jcablib/src/main/java}/net/sf/jcablib/CabEntry.java
  9. 0 {src → jcablib/src/main/java}/net/sf/jcablib/CabException.java
  10. 0 {src → jcablib/src/main/java}/net/sf/jcablib/CabFile.java
  11. 0 {src → jcablib/src/main/java}/net/sf/jcablib/CabFileInputStream.java
  12. 0 {src → jcablib/src/main/java}/net/sf/jcablib/CabFolder.java
  13. 0 {src → jcablib/src/main/java}/net/sf/jcablib/MSZipInputStream.java
  14. +0 −217 jtomtom.iml
  15. +40 −0 jtomtom/pom.xml
  16. 0 {src → jtomtom/src/main/java}/org/jtomtom/Application.java
  17. 0 {src → jtomtom/src/main/java}/org/jtomtom/Constant.java
  18. 0 {src → jtomtom/src/main/java}/org/jtomtom/InitialErrorRun.java
  19. 0 {src → jtomtom/src/main/java}/org/jtomtom/JTomtom.java
  20. 0 {src → jtomtom/src/main/java}/org/jtomtom/JTomtomException.java
  21. 0 {src → jtomtom/src/main/java}/org/jtomtom/JTomtomProperties.java
  22. 0 {src → jtomtom/src/main/java}/org/jtomtom/connector/POIsDbInfos.java
  23. 0 {src → jtomtom/src/main/java}/org/jtomtom/connector/RadarsConnector.java
  24. 0 {src → jtomtom/src/main/java}/org/jtomtom/connector/radars/DummyRadarsConnector.java
  25. 0 {src → jtomtom/src/main/java}/org/jtomtom/connector/radars/RobserEs.java
  26. 0 {src → jtomtom/src/main/java}/org/jtomtom/connector/radars/Tomtomax.java
  27. +1 −1 {src → jtomtom/src/main/java}/org/jtomtom/device/Chipset.java
  28. 0 {src → jtomtom/src/main/java}/org/jtomtom/device/ChipsetNotFoundException.java
  29. 0 {src → jtomtom/src/main/java}/org/jtomtom/device/TomtomDevice.java
  30. 0 {src → jtomtom/src/main/java}/org/jtomtom/device/TomtomDeviceFinder.java
  31. 0 {src → jtomtom/src/main/java}/org/jtomtom/device/TomtomMap.java
  32. 0 {src → jtomtom/src/main/java}/org/jtomtom/device/providers/CarminatFilesProvider.java
  33. 0 {src → jtomtom/src/main/java}/org/jtomtom/device/providers/FilesProviderFactory.java
  34. +0 −1 {src → jtomtom/src/main/java}/org/jtomtom/device/providers/TomtomFilesProvider.java
  35. +0 −1 {src → jtomtom/src/main/java}/org/jtomtom/gui/ChooseChipsetDialog.java
  36. 0 {src → jtomtom/src/main/java}/org/jtomtom/gui/JTomtomFenetre.java
  37. 0 {src → jtomtom/src/main/java}/org/jtomtom/gui/TabAbout.java
  38. 0 {src → jtomtom/src/main/java}/org/jtomtom/gui/TabBackupDevice.java
  39. 0 {src → jtomtom/src/main/java}/org/jtomtom/gui/TabGeneral.java
  40. +0 −2 {src → jtomtom/src/main/java}/org/jtomtom/gui/TabQuickFix.java
  41. +0 −1 {src → jtomtom/src/main/java}/org/jtomtom/gui/TabRadars.java
  42. +0 −1 {src → jtomtom/src/main/java}/org/jtomtom/gui/TabSettings.java
  43. 0 {src → jtomtom/src/main/java}/org/jtomtom/gui/WaitingDialog.java
  44. 0 {src → jtomtom/src/main/java}/org/jtomtom/gui/action/ActionResult.java
  45. 0 {src → jtomtom/src/main/java}/org/jtomtom/gui/action/CheckUpdateAction.java
  46. +276 −0 jtomtom/src/main/java/org/jtomtom/gui/action/IsoBackupAction.java
  47. 0 {src → jtomtom/src/main/java}/org/jtomtom/gui/action/LoadInformationsWorker.java
  48. 0 {src → jtomtom/src/main/java}/org/jtomtom/gui/action/QuitterAction.java
  49. 0 {src → jtomtom/src/main/java}/org/jtomtom/gui/action/SendUserInformationsAction.java
  50. +284 −0 jtomtom/src/main/java/org/jtomtom/gui/action/UpdateQuickFixAction.java
  51. 0 {src → jtomtom/src/main/java}/org/jtomtom/gui/action/UpdateRadarsAction.java
  52. 0 {src → jtomtom/src/main/java}/org/jtomtom/gui/utilities/GUITools.java
  53. 0 {src → jtomtom/src/main/java}/org/jtomtom/gui/utilities/HeaderTitleBorder.java
  54. 0 {src → jtomtom/src/main/java}/org/jtomtom/gui/utilities/JPasswordTableRenderer.java
  55. 0 {src → jtomtom/src/main/java}/org/jtomtom/gui/utilities/JTTabPanel.java
  56. 0 {src → jtomtom/src/main/java}/org/jtomtom/gui/utilities/SpringUtilities.java
  57. 0 {src → jtomtom/src/main/java}/org/jtomtom/tools/BoyerMoore.java
  58. 0 {src → jtomtom/src/main/java}/org/jtomtom/tools/HttpUtils.java
  59. 0 {src → jtomtom/src/main/java}/org/jtomtom/tools/JTomTomUtils.java
  60. 0 {src → jtomtom/src/main/java}/org/jtomtom/tools/JarUtils.java
  61. 0 {src → jtomtom/src/main/java}/org/jtomtom/tools/NetworkTester.java
  62. 0 {src → jtomtom/src/main/resources}/org/jtomtom/conf/jtomtom.properties
  63. 0 {src → jtomtom/src/main/resources}/org/jtomtom/conf/logger.properties
  64. BIN {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/apropos.png
  65. BIN {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/general.png
  66. BIN {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/icon.png
  67. 0 {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/lang/jTomtom-errors.properties
  68. 0 {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/lang/jTomtom-errors_ca_ES.properties
  69. 0 {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/lang/jTomtom-errors_de_DE.properties
  70. 0 {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/lang/jTomtom-errors_es_ES.properties
  71. 0 {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/lang/jTomtom-errors_fr_FR.properties
  72. 0 {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/lang/jTomtom-errors_nl_NL.properties
  73. 0 {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/lang/jTomtom-errors_us_UK.properties
  74. 0 {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/lang/jTomtom-main.properties
  75. 0 {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/lang/jTomtom-main_ca_ES.properties
  76. 0 {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/lang/jTomtom-main_de_DE.properties
  77. 0 {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/lang/jTomtom-main_es_ES.properties
  78. 0 {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/lang/jTomtom-main_fr_FR.properties
  79. 0 {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/lang/jTomtom-main_nl_NL.properties
  80. 0 {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/lang/jTomtom-main_us_UK.properties
  81. 0 {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/lang/jTomtom-tab.properties
  82. 0 {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/lang/jTomtom-tab_ca_ES.properties
  83. 0 {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/lang/jTomtom-tab_de_DE.properties
  84. 0 {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/lang/jTomtom-tab_es_ES.properties
  85. 0 {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/lang/jTomtom-tab_fr_FR.properties
  86. 0 {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/lang/jTomtom-tab_nl_NL.properties
  87. 0 {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/lang/jTomtom-tab_us_UK.properties
  88. BIN {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/parametres.png
  89. BIN {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/quickfix.png
  90. BIN {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/radars.png
  91. BIN {src → jtomtom/src/main/resources}/org/jtomtom/gui/resources/sauvegarde.png
  92. +3 −3 {src/org/jtomtom/junit → jtomtom/src/test/java/org/jtomtom}/TestActions.java
  93. +1 −1 {src/org/jtomtom/junit → jtomtom/src/test/java/org/jtomtom}/TestApplication.java
  94. +3 −2 {src/org/jtomtom/junit → jtomtom/src/test/java/org/jtomtom}/TestCarminatFilesProvider.java
  95. +1 −1 {src/org/jtomtom/junit → jtomtom/src/test/java/org/jtomtom}/TestCheckNavcoreUpdateActions.java
  96. +1 −1 {src/org/jtomtom/junit → jtomtom/src/test/java/org/jtomtom}/TestJTTUtils.java
  97. +1 −2 {src/org/jtomtom/junit → jtomtom/src/test/java/org/jtomtom}/TestJTomtomException.java
  98. +3 −4 {src/org/jtomtom/junit → jtomtom/src/test/java/org/jtomtom}/TestJTomtomProperties.java
  99. +1 −1 {src/org/jtomtom/junit → jtomtom/src/test/java/org/jtomtom}/TestJarUtils.java
  100. +83 −0 jtomtom/src/test/java/org/jtomtom/TestNetworkTester.java
  101. +1 −1 {src/org/jtomtom/junit → jtomtom/src/test/java/org/jtomtom}/TestRadarsConnector.java
  102. +3 −2 {src/org/jtomtom/junit → jtomtom/src/test/java/org/jtomtom}/TestRobserDotEs.java
  103. +3 −2 {src/org/jtomtom/junit → jtomtom/src/test/java/org/jtomtom}/TestTomtomDevice.java
  104. +3 −2 {src/org/jtomtom/junit → jtomtom/src/test/java/org/jtomtom}/TestTomtomDeviceFinder.java
  105. +3 −2 {src/org/jtomtom/junit → jtomtom/src/test/java/org/jtomtom}/TestTomtomFilesProvider.java
  106. +3 −2 {src/org/jtomtom/junit → jtomtom/src/test/java/org/jtomtom}/TestTomtomMap.java
  107. +3 −2 {src/org/jtomtom/junit → jtomtom/src/test/java/org/jtomtom}/TestTomtomax.java
  108. +24 −0 jtomtom/src/test/resources/jtomtom.properties
  109. +6 −0 jtomtom/src/test/resources/logger.properties
  110. BIN lib/iso9660.jar
  111. BIN lib/json-1.0.jar
  112. BIN lib/log4j-1.2.16.jar
  113. BIN lib/sabre.jar
  114. +43 −0 pom.xml
  115. +0 −283 src/org/jtomtom/gui/action/IsoBackupAction.java
  116. +0 −277 src/org/jtomtom/gui/action/UpdateQuickFixAction.java
  117. +0 −37 src/org/jtomtom/junit/AllCarminatTests.java
  118. +0 −39 src/org/jtomtom/junit/AllConnectorsTests.java
  119. +0 −49 src/org/jtomtom/junit/AllTests.java
  120. +0 −84 src/org/jtomtom/junit/TestNetworkTester.java
View
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
- <classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
- <classpathentry kind="lib" path="lib/iso9660.jar"/>
- <classpathentry kind="lib" path="lib/log4j-1.2.16.jar"/>
- <classpathentry kind="lib" path="lib/sabre.jar"/>
- <classpathentry kind="lib" path="lib/json-1.0.jar"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
View
@@ -0,0 +1,2 @@
+**/*.iml
+**/target
View
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>jTomTom</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
- <linkedResources>
- <link>
- <name>user.jtomtom.properties</name>
- <type>1</type>
- <locationURI>PARENT-1-WORKSPACE_LOC/.jtomtom.properties</locationURI>
- </link>
- </linkedResources>
-</projectDescription>
@@ -1,12 +0,0 @@
-#Thu May 06 19:20:32 CEST 2010
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.6
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.6
View
@@ -98,3 +98,11 @@ I just move source from Sourceforge to Github and change build from ant to Maven
* Fix: Some translations were no longer needed
* Fix: Java Exception when proxy was set to HTTP or SOCKS without server and port
* Fix: Inconsistent text in the tab "Radars" when no POIs are installed
+
+## TODO
+ * Fix charset of translation files
+ * Refactor Tests to allow testing without GPS Device connected ...
+ * Switch to SLF4J
+ * Use TypeSafe as configuration
+ * Use Guice as dependency injection
+ * ...
View
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <parent>
+ <artifactId>jtomtom-parent</artifactId>
+ <groupId>org.jtomtom</groupId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+
+ <artifactId>jcablib</artifactId>
+
+ <dependencies>
+
+ </dependencies>
+</project>
View
@@ -1,217 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module type="JAVA_MODULE" version="4">
- <component name="NewModuleRootManager" inherit-compiler-output="true">
- <exclude-output />
- <content url="file://$MODULE_DIR$">
- <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
- </content>
- <orderEntry type="inheritedJdk" />
- <orderEntry type="sourceFolder" forTests="false" />
- <orderEntry type="library" name="lib" level="project" />
- </component>
- <component name="org.twodividedbyzero.idea.findbugs">
- <option name="_basePreferences">
- <map>
- <entry key="property.analysisEffortLevel" value="default" />
- <entry key="property.analyzeAfterAutoMake" value="false" />
- <entry key="property.analyzeAfterCompile" value="false" />
- <entry key="property.annotationGutterIconEnabled" value="true" />
- <entry key="property.annotationSuppressWarningsClass" value="edu.umd.cs.findbugs.annotations.SuppressFBWarnings" />
- <entry key="property.annotationTextRangeMarkupEnabled" value="true" />
- <entry key="property.exportAsHtml" value="true" />
- <entry key="property.exportAsXml" value="true" />
- <entry key="property.exportBaseDir" value="" />
- <entry key="property.exportCreateArchiveDir" value="false" />
- <entry key="property.exportOpenBrowser" value="true" />
- <entry key="property.minPriorityToReport" value="Medium" />
- <entry key="property.runAnalysisInBackground" value="false" />
- <entry key="property.showHiddenDetectors" value="false" />
- <entry key="property.toolWindowToFront" value="true" />
- </map>
- </option>
- <option name="_detectors">
- <map>
- <entry key="AppendingToAnObjectOutputStream" value="true" />
- <entry key="AtomicityProblem" value="true" />
- <entry key="BadAppletConstructor" value="false" />
- <entry key="BadResultSetAccess" value="true" />
- <entry key="BadSyntaxForRegularExpression" value="true" />
- <entry key="BadUseOfReturnValue" value="true" />
- <entry key="BadlyOverriddenAdapter" value="true" />
- <entry key="BooleanReturnNull" value="true" />
- <entry key="BuildInterproceduralCallGraph" value="false" />
- <entry key="BuildObligationPolicyDatabase" value="true" />
- <entry key="BuildStringPassthruGraph" value="true" />
- <entry key="CallToUnsupportedMethod" value="false" />
- <entry key="CalledMethods" value="true" />
- <entry key="CheckCalls" value="false" />
- <entry key="CheckExpectedWarnings" value="false" />
- <entry key="CheckImmutableAnnotation" value="true" />
- <entry key="CheckRelaxingNullnessAnnotation" value="true" />
- <entry key="CheckTypeQualifiers" value="true" />
- <entry key="CloneIdiom" value="true" />
- <entry key="ComparatorIdiom" value="true" />
- <entry key="ConfusedInheritance" value="true" />
- <entry key="ConfusionBetweenInheritedAndOuterMethod" value="true" />
- <entry key="CovariantArrayAssignment" value="false" />
- <entry key="CrossSiteScripting" value="true" />
- <entry key="DefaultEncodingDetector" value="true" />
- <entry key="DoInsideDoPrivileged" value="true" />
- <entry key="DontCatchIllegalMonitorStateException" value="true" />
- <entry key="DontIgnoreResultOfPutIfAbsent" value="true" />
- <entry key="DontUseEnum" value="true" />
- <entry key="DroppedException" value="true" />
- <entry key="DumbMethodInvocations" value="true" />
- <entry key="DumbMethods" value="true" />
- <entry key="DuplicateBranches" value="true" />
- <entry key="EmptyZipFileEntry" value="false" />
- <entry key="EqualsOperandShouldHaveClassCompatibleWithThis" value="true" />
- <entry key="ExplicitSerialization" value="true" />
- <entry key="FieldItemSummary" value="true" />
- <entry key="FinalizerNullsFields" value="true" />
- <entry key="FindBadCast2" value="true" />
- <entry key="FindBadForLoop" value="true" />
- <entry key="FindBugsSummaryStats" value="true" />
- <entry key="FindCircularDependencies" value="false" />
- <entry key="FindComparatorProblems" value="true" />
- <entry key="FindDeadLocalStores" value="true" />
- <entry key="FindDoubleCheck" value="true" />
- <entry key="FindEmptySynchronizedBlock" value="true" />
- <entry key="FindFieldSelfAssignment" value="true" />
- <entry key="FindFinalizeInvocations" value="true" />
- <entry key="FindFloatEquality" value="true" />
- <entry key="FindFloatMath" value="false" />
- <entry key="FindHEmismatch" value="true" />
- <entry key="FindInconsistentSync2" value="true" />
- <entry key="FindJSR166LockMonitorenter" value="true" />
- <entry key="FindLocalSelfAssignment2" value="true" />
- <entry key="FindMaskedFields" value="true" />
- <entry key="FindMismatchedWaitOrNotify" value="true" />
- <entry key="FindNakedNotify" value="true" />
- <entry key="FindNoSideEffectMethods" value="true" />
- <entry key="FindNonSerializableStoreIntoSession" value="false" />
- <entry key="FindNonSerializableValuePassedToWriteObject" value="false" />
- <entry key="FindNonShortCircuit" value="true" />
- <entry key="FindNullDeref" value="true" />
- <entry key="FindNullDerefsInvolvingNonShortCircuitEvaluation" value="true" />
- <entry key="FindOpenStream" value="true" />
- <entry key="FindPuzzlers" value="true" />
- <entry key="FindRefComparison" value="true" />
- <entry key="FindReturnRef" value="true" />
- <entry key="FindRoughConstants" value="true" />
- <entry key="FindRunInvocations" value="true" />
- <entry key="FindSelfComparison" value="true" />
- <entry key="FindSelfComparison2" value="true" />
- <entry key="FindSleepWithLockHeld" value="true" />
- <entry key="FindSpinLoop" value="true" />
- <entry key="FindSqlInjection" value="true" />
- <entry key="FindTwoLockWait" value="true" />
- <entry key="FindUncalledPrivateMethods" value="true" />
- <entry key="FindUnconditionalWait" value="true" />
- <entry key="FindUninitializedGet" value="true" />
- <entry key="FindUnrelatedTypesInGenericContainer" value="true" />
- <entry key="FindUnreleasedLock" value="true" />
- <entry key="FindUnsatisfiedObligation" value="true" />
- <entry key="FindUnsyncGet" value="true" />
- <entry key="FindUseOfNonSerializableValue" value="true" />
- <entry key="FindUselessControlFlow" value="true" />
- <entry key="FindUselessObjects" value="true" />
- <entry key="FormatStringChecker" value="true" />
- <entry key="FunctionsThatMightBeMistakenForProcedures" value="true" />
- <entry key="HugeSharedStringConstants" value="true" />
- <entry key="IDivResultCastToDouble" value="true" />
- <entry key="IncompatMask" value="true" />
- <entry key="InconsistentAnnotations" value="true" />
- <entry key="InefficientIndexOf" value="false" />
- <entry key="InefficientInitializationInsideLoop" value="false" />
- <entry key="InefficientMemberAccess" value="false" />
- <entry key="InefficientToArray" value="false" />
- <entry key="InfiniteLoop" value="true" />
- <entry key="InfiniteRecursiveLoop" value="true" />
- <entry key="InheritanceUnsafeGetResource" value="true" />
- <entry key="InitializationChain" value="true" />
- <entry key="InitializeNonnullFieldsInConstructor" value="true" />
- <entry key="InstantiateStaticClass" value="true" />
- <entry key="IntCast2LongAsInstant" value="true" />
- <entry key="InvalidJUnitTest" value="true" />
- <entry key="IteratorIdioms" value="true" />
- <entry key="LazyInit" value="true" />
- <entry key="LoadOfKnownNullValue" value="true" />
- <entry key="LostLoggerDueToWeakReference" value="true" />
- <entry key="MethodReturnCheck" value="true" />
- <entry key="Methods" value="true" />
- <entry key="MultithreadedInstanceAccess" value="true" />
- <entry key="MutableEnum" value="true" />
- <entry key="MutableLock" value="true" />
- <entry key="MutableStaticFields" value="true" />
- <entry key="Naming" value="true" />
- <entry key="Noise" value="false" />
- <entry key="NoiseNullDeref" value="false" />
- <entry key="NoteAnnotationRetention" value="true" />
- <entry key="NoteCheckReturnValueAnnotations" value="true" />
- <entry key="NoteDirectlyRelevantTypeQualifiers" value="true" />
- <entry key="NoteJCIPAnnotation" value="true" />
- <entry key="NoteNonNullAnnotations" value="false" />
- <entry key="NoteNonnullReturnValues" value="false" />
- <entry key="NoteSuppressedWarnings" value="true" />
- <entry key="NoteUnconditionalParamDerefs" value="true" />
- <entry key="NumberConstructor" value="true" />
- <entry key="OptionalReturnNull" value="true" />
- <entry key="OverridingEqualsNotSymmetrical" value="true" />
- <entry key="PreferZeroLengthArrays" value="true" />
- <entry key="PublicSemaphores" value="false" />
- <entry key="QuestionableBooleanAssignment" value="true" />
- <entry key="ReadOfInstanceFieldInMethodInvokedByConstructorInSuperclass" value="true" />
- <entry key="ReadReturnShouldBeChecked" value="true" />
- <entry key="RedundantConditions" value="true" />
- <entry key="RedundantInterfaces" value="true" />
- <entry key="ReflectiveClasses" value="true" />
- <entry key="RepeatedConditionals" value="true" />
- <entry key="ResolveAllReferences" value="false" />
- <entry key="RuntimeExceptionCapture" value="true" />
- <entry key="SerializableIdiom" value="true" />
- <entry key="StartInConstructor" value="true" />
- <entry key="StaticCalendarDetector" value="true" />
- <entry key="StringConcatenation" value="true" />
- <entry key="SuperfluousInstanceOf" value="true" />
- <entry key="SuspiciousThreadInterrupted" value="true" />
- <entry key="SwitchFallthrough" value="true" />
- <entry key="SynchronizationOnSharedBuiltinConstant" value="true" />
- <entry key="SynchronizeAndNullCheckField" value="true" />
- <entry key="SynchronizeOnClassLiteralNotGetClass" value="true" />
- <entry key="SynchronizingOnContentsOfFieldToProtectField" value="true" />
- <entry key="TestASM" value="false" />
- <entry key="TestDataflowAnalysis" value="false" />
- <entry key="TestingGround" value="false" />
- <entry key="TestingGround2" value="false" />
- <entry key="TrainFieldStoreTypes" value="true" />
- <entry key="TrainLongInstantfParams" value="true" />
- <entry key="TrainNonNullAnnotations" value="true" />
- <entry key="TrainUnconditionalDerefParams" value="true" />
- <entry key="URLProblems" value="true" />
- <entry key="UncallableMethodOfAnonymousClass" value="true" />
- <entry key="UnnecessaryMath" value="true" />
- <entry key="UnreadFields" value="true" />
- <entry key="UselessSubclassMethod" value="false" />
- <entry key="VarArgsProblems" value="true" />
- <entry key="VolatileUsage" value="true" />
- <entry key="WaitInLoop" value="true" />
- <entry key="WrongMapIterator" value="true" />
- <entry key="XMLFactoryBypass" value="true" />
- </map>
- </option>
- <option name="_reportCategories">
- <map>
- <entry key="BAD_PRACTICE" value="true" />
- <entry key="CORRECTNESS" value="true" />
- <entry key="EXPERIMENTAL" value="true" />
- <entry key="I18N" value="true" />
- <entry key="MALICIOUS_CODE" value="true" />
- <entry key="MT_CORRECTNESS" value="true" />
- <entry key="PERFORMANCE" value="true" />
- <entry key="SECURITY" value="true" />
- <entry key="STYLE" value="true" />
- </map>
- </option>
- </component>
-</module>
View
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <parent>
+ <artifactId>jtomtom-parent</artifactId>
+ <groupId>org.jtomtom</groupId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+
+ <artifactId>jtomtom</artifactId>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.jtomtom</groupId>
+ <artifactId>jcablib</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.json</groupId>
+ <artifactId>json</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.github.stephenc.java-iso-tools</groupId>
+ <artifactId>iso9660-writer</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+</project>
@@ -28,7 +28,7 @@
import javax.xml.ws.http.HTTPException;
import org.apache.log4j.Logger;
-import org.json.me.JSONObject;
+import org.json.JSONObject;
import org.jtomtom.Application;
import org.jtomtom.JTomtomException;
import org.jtomtom.tools.NetworkTester;
@@ -127,7 +127,6 @@ public File getTomtomInformations() throws FileNotFoundException {
private static final FilenameFilter createExtensionFilter(final String ext) {
return new FilenameFilter() {
- @Override
public boolean accept(File dir, String name) {
return name.endsWith("."+ext.toLowerCase()) || name.endsWith("."+ext.toUpperCase());
}
@@ -109,7 +109,6 @@ private JPanel buildContentPane() {
return panel;
}
- @Override
public void actionPerformed(ActionEvent p_event) {
if (p_event.getSource() == selectButton) {
selectedChipset = (Chipset)availableChipset.getSelectedItem();
@@ -154,7 +154,6 @@ private Chipset askForChipset() {
private void checkChipset() {
Thread chipThread = new Thread(new Runnable() {
- @Override
public void run() {
if (precoChipset == null)
precoChipset = Chipset.getPreconizedChipset(theDevice.getDeviceSerialNumber());
@@ -169,7 +168,6 @@ public void run() {
chipThread.start();
}
- @Override
public void actionPerformed(ActionEvent event) {
if (event.getSource() == resetQuickFix) {
theDevice.resetQuickfixData();
@@ -205,7 +205,6 @@ public void disableRefreshButton() {
refreshButton.setEnabled(false);
}
- @Override
public void actionPerformed(ActionEvent e) {
if (e.getSource() == refreshButton) {
refreshButton.setEnabled(false);
Oops, something went wrong.

0 comments on commit 9440772

Please sign in to comment.