You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/05/04 11:56:16 UTC

[commons-compress] 02/03: Remove unused

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git

commit 0ac5c49b0818a14f1b4413ec54b25009c9c8c287
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Apr 19 13:26:16 2023 -0400

    Remove unused
---
 .../org/apache/commons/compress/archivers/tar/SparseFilesTest.java     | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/commons/compress/archivers/tar/SparseFilesTest.java b/src/test/java/org/apache/commons/compress/archivers/tar/SparseFilesTest.java
index 639bff37..066bd7f2 100644
--- a/src/test/java/org/apache/commons/compress/archivers/tar/SparseFilesTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/tar/SparseFilesTest.java
@@ -35,6 +35,7 @@ import java.util.Locale;
 
 import org.apache.commons.compress.AbstractTestCase;
 import org.apache.commons.compress.utils.IOUtils;
+import org.apache.commons.lang3.SystemUtils;
 import org.junit.jupiter.api.Test;
 import org.junit.jupiter.api.condition.DisabledOnOs;
 import org.junit.jupiter.api.condition.EnabledOnOs;
@@ -42,8 +43,6 @@ import org.junit.jupiter.api.condition.OS;
 
 public class SparseFilesTest extends AbstractTestCase {
 
-    private final boolean isOnWindows = System.getProperty("os.name").toLowerCase(Locale.ENGLISH).contains("windows");
-
     private void assertPaxGNUEntry(final TarArchiveEntry entry, final String suffix) {
         assertEquals("sparsefile-" + suffix, entry.getName());
         assertEquals(TarConstants.LF_NORMAL, entry.getLinkFlag());