Skip to content

Commit

Permalink
- remove free whitespace (part 3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wadeck committed Jan 11, 2018
1 parent 88d6753 commit f0969f6
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public void checkAtLeastOneScriptlerPermission(){

/*
* (non-Javadoc)
*
*
* @see hudson.model.ManagementLink#getIconFileName()
*/
@Override
Expand All @@ -101,7 +101,7 @@ public String getIconFileName() {

/*
* (non-Javadoc)
*
*
* @see hudson.model.ManagementLink#getUrlName()
*/
@Override
Expand All @@ -115,7 +115,7 @@ public boolean disableRemoteCatalog() {

/*
* (non-Javadoc)
*
*
* @see hudson.model.Action#getDisplayName()
*/
public String getDisplayName() {
Expand All @@ -142,7 +142,7 @@ public String getPluginResourcePath() {

/**
* save the scriptler 'global' settings (on settings screen, not global Jenkins config)
*
*
* @param res
* @param rsp
* @param disableRemoteCatalog
Expand All @@ -162,7 +162,7 @@ public HttpResponse doScriptlerSettings(StaplerRequest res, StaplerResponse rsp,

/**
* Downloads a script from a catalog and imports it to the local system.
*
*
* @param req
* request
* @param rsp
Expand Down Expand Up @@ -207,7 +207,7 @@ public HttpResponse doDownloadScript(StaplerRequest req, StaplerResponse rsp, @Q

/**
* Saves a script snipplet as file to the system.
*
*
* @param req
* response
* @param rsp
Expand Down Expand Up @@ -246,7 +246,7 @@ public HttpResponse doScriptAdd(StaplerRequest req, StaplerResponse rsp, @QueryP

/**
* Save the script details and return the forward to index
*
*
* @return the final name of the saved script - which is also the id of the script!
* @throws IOException
*/
Expand Down Expand Up @@ -287,7 +287,7 @@ private String saveScriptAndForward(String id, String name, String comment, Stri

/**
* adds/commits the given file to the local git repo - file must be written to scripts directory!
*
*
* @param finalFileName
* @throws IOException
*/
Expand Down Expand Up @@ -316,7 +316,7 @@ public HttpResponse doHardResetGit() throws IOException {

/**
* Removes a script from the config and filesystem.
*
*
* @param res
* response
* @param rsp
Expand Down Expand Up @@ -353,7 +353,7 @@ public HttpResponse doRemoveScript(StaplerRequest res, StaplerResponse rsp, @Que

/**
* Uploads a script and stores it with the given filename to the configuration. It will be stored on the filessytem.
*
*
* @param req
* request
* @return forward to index page.
Expand Down Expand Up @@ -410,7 +410,7 @@ public HttpResponse doUploadScript(StaplerRequest req) throws IOException, Servl

/**
* Display the screen to trigger a script. The source of the script get loaded from the filesystem and placed in the request to display it on the page before execution.
*
*
* @param req
* request
* @param rsp
Expand Down Expand Up @@ -447,7 +447,7 @@ public void doRunScript(StaplerRequest req, StaplerResponse rsp, @QueryParameter
* Trigger/run/execute the script on a slave and show the result/output. The request then gets forward to <code>runScript.jelly</code> (This is usually also where the request came from). The
* script passed to this method gets restored in the request again (and not loaded from the system). This way one is able to modify the script before execution and reuse the modified version for
* further executions.
*
*
* @param req
* request
* @param rsp
Expand Down Expand Up @@ -507,7 +507,7 @@ public void doTriggerScript(StaplerRequest req, StaplerResponse rsp, @QueryParam

/**
* Trigger/run/execute the script on a slave and directly forward the result/output to the response.
*
*
* @param req
* request
* @param rsp
Expand Down Expand Up @@ -606,7 +606,7 @@ private String[] resolveSlaveNames(String nameAlias) {

/**
* Loads the script by its name and forwards the request to "show.jelly".
*
*
* @param req
* request
* @param rsp
Expand All @@ -625,7 +625,7 @@ public void doShowScript(StaplerRequest req, StaplerResponse rsp, @QueryParamete

/**
* Loads the script by its name and forwards the request to "edit.jelly".
*
*
* @param req
* request
* @param rsp
Expand All @@ -645,7 +645,7 @@ public void doEditScript(StaplerRequest req, StaplerResponse rsp, @QueryParamete

/**
* Gets the names of all configured slaves, regardless whether they are online, including alias of ALL and ALL_SLAVES
*
*
* @return list with all slave names
*/
public List<String> getSlaveAlias(Script script) {
Expand Down Expand Up @@ -683,7 +683,7 @@ private List<String> getSlaveNames() {

/**
* Gets the remote catalogs containing the available scripts for download.
*
*
* @return the catalog
*/
public List<ScriptInfoCatalog> getCatalogs() {
Expand Down Expand Up @@ -716,7 +716,7 @@ public CatalogInfo getCatalogInfoByName(String catalogName) {

/**
* returns the directory where the script files get stored
*
*
* @return the script directory
*/
public static File getScriptDirectory() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ private void synchronizeConfig() throws IOException {

cfg.save();
}

@Override
public void postInitialize() throws Exception {
for (Script script : ScriptlerConfiguration.getConfiguration().getScripts()) {
Expand All @@ -105,7 +105,7 @@ public void postInitialize() throws Exception {
ScriptHelper.putScriptInApprovalQueueIfRequired(scriptSource);
}
}

/**
* search into the declared backup directory for backup archives
*/
Expand Down

0 comments on commit f0969f6

Please sign in to comment.