Skip to content

Remove unused structs dependency #89

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,6 @@
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-job</artifactId>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>structs</artifactId>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-cps</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ public class Cron extends PeriodicWork {

@Override
public long getRecurrencePeriod() {
long period = TimeUnit.MINUTES.toMillis(1);
LOGGER.log(Level.FINEST, "period set to {0}", period);
return period;
return TimeUnit.MINUTES.toMillis(1);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void run() {

/**
* this method started out as hudson.model.AbstractProject.getDefaultParametersValues()
* @param parameterValues
* @param parameterValues A map of parameters and their values
* @return the ParameterValues as set from the crontab row or their defaults
*/
private List<ParameterValue> configurePropertyValues(Map<String, String> parameterValues) {
Expand Down