-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Format code and pom with spotless * Describe formatting in CONTRIBUTING
- Loading branch information
1 parent
5356a89
commit f39ec8b
Showing
10 changed files
with
143 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 4 additions & 7 deletions
11
.../java/org/jenkinsci/plugins/schedulebuild/ScheduleBuildTransientProjectActionFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,22 @@ | ||
package org.jenkinsci.plugins.schedulebuild; | ||
|
||
import java.util.Collection; | ||
import java.util.Collections; | ||
|
||
import hudson.Extension; | ||
import hudson.model.Action; | ||
import hudson.model.Job; | ||
import java.util.Collection; | ||
import java.util.Collections; | ||
import jenkins.model.TransientActionFactory; | ||
|
||
@Extension | ||
public final class ScheduleBuildTransientProjectActionFactory extends TransientActionFactory<Job> { | ||
|
||
@Override | ||
public Class<Job> type() | ||
{ | ||
public Class<Job> type() { | ||
return Job.class; | ||
} | ||
|
||
@Override | ||
public Collection<? extends Action> createFor(Job target) | ||
{ | ||
public Collection<? extends Action> createFor(Job target) { | ||
return Collections.singleton(new ScheduleBuildAction(target)); | ||
} | ||
} |
11 changes: 6 additions & 5 deletions
11
src/test/java/org/jenkinsci/plugins/schedulebuild/JCasCGlobalAllFields.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.