Skip to content

Commit

Permalink
Fixed spotbug issue, update pom.xml
Browse files Browse the repository at this point in the history
Signed-off-by: Hrushi20 <[email protected]>
  • Loading branch information
Hrushi20 committed Oct 28, 2023
1 parent 674ade4 commit 448e126
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
21 changes: 0 additions & 21 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>git-client</artifactId>
<version>3.12.0</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
Expand Down Expand Up @@ -153,26 +152,6 @@
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
<!--<<<<<<< HEAD-->
<!--=======-->
<!-- <exclusions>-->
<!-- &lt;!&ndash; prevent upper bounds dependency error &ndash;&gt;-->
<!-- <exclusion>-->
<!-- <groupId>javax.annotation</groupId>-->
<!-- <artifactId>javax.annotation-api</artifactId>-->
<!-- </exclusion>-->
<!-- <exclusion>-->
<!-- <groupId>com.google.errorprone</groupId>-->
<!-- <artifactId>error_prone_annotations</artifactId>-->
<!-- </exclusion>-->
<!-- </exclusions>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.hamcrest</groupId>-->
<!-- <artifactId>hamcrest</artifactId>-->
<!-- <version>2.2</version>-->
<!-- <scope>test</scope>-->
<!--&gt;>>>>>> 742fd4cf (Init git maintenance)-->
</dependency>
<dependency>
<groupId>junit</groupId>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/jenkins/plugins/git/maintenance/Cron.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class Cron extends PeriodicWork {

@Override
public long getInitialDelay(){
return MIN - (Calendar.getInstance().get(Calendar.SECOND) * 1000);
return MIN - (Calendar.getInstance().get(Calendar.SECOND) * 1000L);
}

@Override
Expand Down

0 comments on commit 448e126

Please sign in to comment.