You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2019/06/07 06:48:16 UTC

[maven-shared-utils] 03/05: Cleanup

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

rfscholte pushed a commit to branch MSHARED-826
in repository https://gitbox.apache.org/repos/asf/maven-shared-utils.git

commit 7e6415337ab36d940c90f1dab6549563ae1e3a34
Author: Maarten Mulders <m....@xs4all.nl>
AuthorDate: Thu Jun 6 14:08:10 2019 +0200

    Cleanup
---
 src/test/java/org/apache/maven/shared/utils/OsTest.java | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/test/java/org/apache/maven/shared/utils/OsTest.java b/src/test/java/org/apache/maven/shared/utils/OsTest.java
index 7c2fd1f..d5ea683 100644
--- a/src/test/java/org/apache/maven/shared/utils/OsTest.java
+++ b/src/test/java/org/apache/maven/shared/utils/OsTest.java
@@ -24,8 +24,6 @@ import org.junit.Before;
 import org.junit.After;
 import org.junit.Assert;
 
-import java.lang.reflect.Field;
-import java.lang.reflect.Modifier;
 import java.util.Set;
 
 import static org.hamcrest.CoreMatchers.*;
@@ -40,7 +38,6 @@ public class OsTest
     extends Assert
 {
     private String origOsName;
-    private String origOsFamily;
     private String origOsArch;
     private String origOsVersion;
 
@@ -56,8 +53,6 @@ public class OsTest
         System.setProperty( "os.name"   , "os/2" );
         System.setProperty( "os.arch"   , "i386" );
         System.setProperty( "os.version", "2.1.32" );
-
-        origOsFamily = Os.OS_FAMILY;
     }
 
     @After