mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
fixed PMD and some Checkstyle warnings
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36168 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
b9b433b1f2
commit
41e511e187
2 files changed
+9
-9
No files matched your search
@@ -230,10 +230,8 @@ public class MavenModuleSetBuild extends AbstractMavenBuild<MavenModuleSet,Maven
|
||||
for (List<MavenBuild> builds : moduleBuilds.values()) {
|
||||
if (!builds.isEmpty()) {
|
||||
MavenBuild build = builds.get(0);
|
||||
if (build.getResult() != Result.NOT_BUILT) {
|
||||
if (build.getEstimatedDuration() != -1) {
|
||||
result += build.getEstimatedDuration();
|
||||
}
|
||||
if (build.getResult() != Result.NOT_BUILT && build.getEstimatedDuration() != -1) {
|
||||
result += build.getEstimatedDuration();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user