Skip to content

Commit

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

/*
* (non-Javadoc)
*
*
* @see java.lang.Comparable#compareTo(java.lang.Object)
*/
public int compareTo(Script o) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,16 @@ public final class ScriptlerConfiguration extends ScriptSet implements Saveable

private boolean disbableRemoteCatalog = false;

// keep to avoid loading issues with older version
/**
* /!\ keep to avoid loading issues with older version
* The regular permission required is Scriptler/RunScripts now
* @deprecated no need to replace them, Script Security is used now
*/
@Deprecated
private boolean allowRunScriptPermission = false;

// keep to avoid loading issues with older version
/**
* /!\ keep to avoid loading issues with older version
* The regular permission required is Scriptler/Configure now
* @deprecated no need to replace them, Script Security is used now
*/
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
slaves/nodes... no need for copy paste Groovy code anymore. Beside
administer your scripts, Scriptler also provides a way to share scripts
between users via hosted script catalogs on the internet.
</div>
</div>
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
package org.jenkinsci.plugins.scriptler.restapi;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;

//import com.gargoylesoftware.htmlunit.HttpMethod;
//import com.gargoylesoftware.htmlunit.WebRequest;
import com.gargoylesoftware.htmlunit.html.*;
//import com.gargoylesoftware.htmlunit.javascript.host.URL;
import hudson.model.FileParameterValue.FileItemImpl;

import java.io.File;
import java.io.IOException;
import java.net.URLEncoder;

import org.apache.commons.fileupload.FileItem;
import org.apache.commons.io.FileUtils;
Expand All @@ -30,10 +24,10 @@ public class ScriptlerRestApiTest {
private static final String SCRIPT_ID = "dummy.groovy";

@Rule
public static JenkinsRule j = new JenkinsRule();
public JenkinsRule j = new JenkinsRule();

@ClassRule
public BuildWatcher bw = new BuildWatcher();
public static BuildWatcher bw = new BuildWatcher();

@Before
public void setup() throws Exception {
Expand Down

0 comments on commit 88d6753

Please sign in to comment.