Skip to content

Commit

Permalink
Switch to commons-lang3
Browse files Browse the repository at this point in the history
  • Loading branch information
NotMyFault committed Sep 27, 2022
1 parent 49a8ef1 commit 00a2081
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import com.browserup.bup.BrowserUpProxy;
import com.browserup.bup.client.ClientUtil;
import org.apache.commons.exec.OS;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang3.StringUtils;
import org.eclipse.aether.RepositorySystem;
import org.eclipse.aether.RepositorySystemSession;
import org.eclipse.aether.artifact.DefaultArtifact;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import java.util.logging.Logger;

import org.apache.commons.io.FileUtils;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang3.StringUtils;
import org.jenkinsci.test.acceptance.utils.IOUtil;
import org.jenkinsci.utils.process.CommandBuilder;
import org.jenkinsci.utils.process.ProcessInputStream;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.jenkinsci.test.acceptance.junit;

import org.apache.commons.lang.SystemUtils;
import org.apache.commons.lang3.SystemUtils;
import org.jenkinsci.utils.process.CommandBuilder;
import org.junit.AssumptionViolatedException;
import org.junit.rules.TestRule;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import java.lang.annotation.Target;
import java.util.Arrays;

import org.apache.commons.lang.SystemUtils;
import org.apache.commons.lang3.SystemUtils;
import org.jenkinsci.test.acceptance.controller.JenkinsController;
import org.jenkinsci.test.acceptance.controller.LocalController;
import org.junit.AssumptionViolatedException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package org.jenkinsci.test.acceptance.plugins.job_dsl;

import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang3.StringUtils;
import org.jenkinsci.test.acceptance.po.*;
import org.jenkinsci.test.acceptance.selenium.Scroller;
import org.openqa.selenium.By;

/**
* Encapsulates the PageArea of the Job DSL plugin.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
package org.jenkinsci.test.acceptance.plugins.mstestrunner;


import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang3.StringUtils;
import org.jenkinsci.test.acceptance.po.AbstractStep;
import org.jenkinsci.test.acceptance.po.BuildStep;
import org.jenkinsci.test.acceptance.po.Control;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import java.io.File;
import java.io.IOException;

import org.apache.commons.lang.SystemUtils;
import org.apache.commons.lang3.SystemUtils;
import org.jenkinsci.test.acceptance.slave.SlaveController;
import org.jenkinsci.test.acceptance.update_center.PluginSpec;
import org.jenkinsci.utils.process.CommandBuilder;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/jenkinsci/test/acceptance/po/Job.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import java.util.zip.GZIPOutputStream;

import org.apache.commons.io.IOUtils;
import org.apache.commons.lang.SystemUtils;
import org.apache.commons.lang3.SystemUtils;
import org.codehaus.plexus.util.Base64;
import org.jenkinsci.test.acceptance.controller.JenkinsController;
import org.jenkinsci.test.acceptance.controller.LocalController;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@

import hudson.util.VersionNumber;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang.SystemUtils;
import org.jenkinsci.test.acceptance.Matchers;
import org.apache.commons.lang3.SystemUtils;
import org.jenkinsci.utils.process.CommandBuilder;
import org.openqa.selenium.NoSuchElementException;

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/core/ArtifactsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import com.google.inject.Inject;

import org.apache.commons.lang.SystemUtils;
import org.apache.commons.lang3.SystemUtils;
import org.jenkinsci.test.acceptance.junit.AbstractJUnitTest;
import org.jenkinsci.test.acceptance.junit.WithPlugins;
import org.jenkinsci.test.acceptance.po.*;
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/core/PublisherOrderTest.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package core;

import org.apache.commons.lang.SystemUtils;
import org.apache.commons.lang3.SystemUtils;
import org.jenkinsci.test.acceptance.junit.AbstractJUnitTest;
import org.jenkinsci.test.acceptance.junit.WithPlugins;
import org.jenkinsci.test.acceptance.po.AggregateDownstreamTestResults;
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/plugins/CompressArtifactsPluginTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

import java.util.List;

import org.apache.commons.lang.SystemUtils;
import org.apache.commons.lang3.SystemUtils;
import org.jenkinsci.test.acceptance.Matcher;
import org.jenkinsci.test.acceptance.junit.AbstractJUnitTest;
import org.jvnet.hudson.test.Issue;
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/plugins/DeployPluginTest.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package plugins;

import org.apache.commons.io.IOUtils;
import org.apache.commons.lang.SystemUtils;
import org.apache.commons.lang3.SystemUtils;
import org.jenkinsci.test.acceptance.docker.DockerContainerHolder;
import org.jenkinsci.test.acceptance.docker.fixtures.Tomcat7Container;
import org.jenkinsci.test.acceptance.junit.*;
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/plugins/NodeLabelParameterPluginTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import com.google.inject.Inject;

import org.apache.commons.lang.SystemUtils;
import org.apache.commons.lang3.SystemUtils;
import org.jenkinsci.test.acceptance.Matcher;
import org.jenkinsci.test.acceptance.Matchers;
import org.jenkinsci.test.acceptance.junit.AbstractJUnitTest;
Expand Down

0 comments on commit 00a2081

Please sign in to comment.