Skip to content

Commit e266d16

Browse files
committed
Fixed spotbug issue, update pom.xml
Signed-off-by: Hrushi20 <[email protected]>
1 parent 026aa92 commit e266d16

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@
102102
<dependency>
103103
<groupId>org.jenkins-ci.plugins</groupId>
104104
<artifactId>git-client</artifactId>
105-
<version>3.12.0</version>
106105
</dependency>
107106
<dependency>
108107
<groupId>org.jenkins-ci.plugins</groupId>

src/main/java/jenkins/plugins/git/maintenance/Cron.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class Cron extends PeriodicWork {
1313

1414
@Override
1515
public long getInitialDelay(){
16-
return MIN - (Calendar.getInstance().get(Calendar.SECOND) * 1000);
16+
return MIN - (Calendar.getInstance().get(Calendar.SECOND) * 1000L);
1717
}
1818

1919
@Override

0 commit comments

Comments
 (0)