commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject commons-compress git commit: COMPRESS-387 tweak
Date Wed, 19 Apr 2017 13:15:31 GMT
Repository: commons-compress
Updated Branches:
  refs/heads/master 674886f56 -> 13a039029


COMPRESS-387 tweak


Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/13a03902
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/13a03902
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/13a03902

Branch: refs/heads/master
Commit: 13a039029ca7d7fca9862cfb792f7148c555f05f
Parents: 674886f
Author: Stefan Bodewig <bodewig@apache.org>
Authored: Wed Apr 19 15:15:20 2017 +0200
Committer: Stefan Bodewig <bodewig@apache.org>
Committed: Wed Apr 19 15:15:20 2017 +0200

----------------------------------------------------------------------
 src/test/java/org/apache/commons/compress/ArchiveReadTest.java     | 2 +-
 .../java/org/apache/commons/compress/archivers/LongPathTest.java   | 2 +-
 .../org/apache/commons/compress/archivers/LongSymLinkTest.java     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/13a03902/src/test/java/org/apache/commons/compress/ArchiveReadTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/ArchiveReadTest.java b/src/test/java/org/apache/commons/compress/ArchiveReadTest.java
index 5012243..e217035 100644
--- a/src/test/java/org/apache/commons/compress/ArchiveReadTest.java
+++ b/src/test/java/org/apache/commons/compress/ArchiveReadTest.java
@@ -54,7 +54,7 @@ public class ArchiveReadTest extends AbstractTestCase {
 
     static {
         try {
-            ARCDIR = new File(CLASSLOADER.getResource("archives").toURI().getPath());
+            ARCDIR = new File(CLASSLOADER.getResource("archives").toURI());
         } catch (URISyntaxException e) {
             throw new RuntimeException(e);
         }

http://git-wip-us.apache.org/repos/asf/commons-compress/blob/13a03902/src/test/java/org/apache/commons/compress/archivers/LongPathTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/archivers/LongPathTest.java b/src/test/java/org/apache/commons/compress/archivers/LongPathTest.java
index 45125f3..2573583 100644
--- a/src/test/java/org/apache/commons/compress/archivers/LongPathTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/LongPathTest.java
@@ -59,7 +59,7 @@ public class LongPathTest extends AbstractTestCase {
 
     static {
         try {
-            ARCDIR = new File(CLASSLOADER.getResource("longpath").toURI().getPath());
+            ARCDIR = new File(CLASSLOADER.getResource("longpath").toURI());
         } catch (URISyntaxException e) {
             throw new RuntimeException(e);
         }

http://git-wip-us.apache.org/repos/asf/commons-compress/blob/13a03902/src/test/java/org/apache/commons/compress/archivers/LongSymLinkTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/archivers/LongSymLinkTest.java b/src/test/java/org/apache/commons/compress/archivers/LongSymLinkTest.java
index d8ed7f7..7279de1 100644
--- a/src/test/java/org/apache/commons/compress/archivers/LongSymLinkTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/LongSymLinkTest.java
@@ -59,7 +59,7 @@ public class LongSymLinkTest extends AbstractTestCase {
 
     static {
         try {
-            ARCDIR = new File(CLASSLOADER.getResource("longsymlink").toURI().getPath());
+            ARCDIR = new File(CLASSLOADER.getResource("longsymlink").toURI());
         } catch (URISyntaxException e) {
             throw new RuntimeException(e);
         }


Mime
View raw message