diff --git a/pom.xml b/pom.xml
index 840ff33..2f40dc6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -46,7 +46,7 @@
MIT License
- http://opensource.org/licenses/MIT
+ https://opensource.org/licenses/MIT
@@ -68,21 +68,21 @@
repo.jenkins-ci.org
- http://repo.jenkins-ci.org/public/
+ https://repo.jenkins-ci.org/public/
repo.jenkins-ci.org
- http://repo.jenkins-ci.org/public/
+ https://repo.jenkins-ci.org/public/
repo.jenkins-ci.org
- http://repo.jenkins-ci.org/releases
+ https://repo.jenkins-ci.org/releases
diff --git a/src/main/java/org/jenkinsci/plugins/environmentdashboard/DashboardBuilder.java b/src/main/java/org/jenkinsci/plugins/environmentdashboard/DashboardBuilder.java
index 691d6f7..e79710b 100644
--- a/src/main/java/org/jenkinsci/plugins/environmentdashboard/DashboardBuilder.java
+++ b/src/main/java/org/jenkinsci/plugins/environmentdashboard/DashboardBuilder.java
@@ -101,7 +101,7 @@ public List getData() {
@Override
public void setUp(SimpleBuildWrapper.Context context, Run, ?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars initialEnvironment) throws IOException, InterruptedException {
// PreBuild
- final Integer numberOfDays = ((getDescriptor().getNumberOfDays() == null) ? 30
+ final Integer numberOfDays = ((getDescriptor().getNumberOfDays() == null) ? Integer.valueOf(30)
: getDescriptor().getNumberOfDays());
String passedBuildNumber = build.getEnvironment(listener).expand(buildNumber);
String passedEnvName = build.getEnvironment(listener).expand(nameOfEnv);