-
Improvement
-
Resolution: Fixed
-
Minor
Currently the plugin shows some Java warnings in the source code of the plugin. It would be nice to have those removed or at least reduced.
Background: I was patching the source code of the plugin to add an feature. Therefore I also reduced (one is still missing) the Java warnings in the source code.
Those are of the type: Unused imports, unused variable, deprecated Hudson.getInstance(), missing UUID, missing option in switch.
As I wanted to share the work I will add an pull-request for this issue.
Code changed in jenkins
User: Michael Musenbrock
Path:
src/main/java/hudson/plugins/android_emulator/AndroidEmulator.java
src/main/java/hudson/plugins/android_emulator/TaskDispatcher.java
src/main/java/hudson/plugins/android_emulator/builder/AbstractBuilder.java
src/main/java/hudson/plugins/android_emulator/builder/UpdateProjectBuilder.java
src/main/java/hudson/plugins/android_emulator/monkey/MonkeyRecorder.java
src/main/java/hudson/plugins/android_emulator/snapshot/SnapshotLoadBuilder.java
src/main/java/hudson/plugins/android_emulator/snapshot/SnapshotSaveBuilder.java
src/main/java/hudson/plugins/android_emulator/util/Utils.java
src/main/java/hudson/plugins/android_emulator/util/ValidationResult.java
http://jenkins-ci.org/commit/android-emulator-plugin/8224c8a6d8cc35062c3b9889c5c3262c8995fdfa
Log:
[FIXED JENKINS-45456] Reduce Java warnings of the plugin and remove use of deprecated Hudson.getInstance()