Skip to content

Commit

Permalink
Removing a couple of deprecated usages
Browse files Browse the repository at this point in the history
  • Loading branch information
diemol committed Oct 20, 2023
1 parent 296f655 commit 2c4ca14
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<organization>
<name>Sauce Labs</name>
<url>http://www.saucelabs.com/</url>
<url>https://www.saucelabs.com/</url>
</organization>
<developers>
<developer>
Expand Down Expand Up @@ -74,8 +74,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>${java.level}</source>
<target>${java.level}</target>
</configuration>
</plugin>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private void closeSauceConnectProcess(PrintStream printStream, final Process sau
new Runnable() {
public void run() {
try {
IOUtils.copy(sauceConnect.getInputStream(), NullOutputStream.NULL_OUTPUT_STREAM);
IOUtils.copy(sauceConnect.getInputStream(), NullOutputStream.INSTANCE);
} catch (IOException e) {
// ignore
}
Expand All @@ -134,7 +134,7 @@ public void run() {
new Runnable() {
public void run() {
try {
IOUtils.copy(sauceConnect.getErrorStream(), NullOutputStream.NULL_OUTPUT_STREAM);
IOUtils.copy(sauceConnect.getErrorStream(), NullOutputStream.INSTANCE);
} catch (IOException e) {
// ignore
}
Expand Down

0 comments on commit 2c4ca14

Please sign in to comment.