harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndbe...@apache.org
Subject svn commit: r451826 - /incubator/harmony/enhanced/classlib/trunk/modules/auth/src/test/java/common/javax/security/auth/SubjectTest.java
Date Sun, 01 Oct 2006 22:17:38 GMT
Author: ndbeyer
Date: Sun Oct  1 15:17:37 2006
New Revision: 451826

URL: http://svn.apache.org/viewvc?view=rev&rev=451826
Log:
Fix for linux build failure.

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/auth/src/test/java/common/javax/security/auth/SubjectTest.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/auth/src/test/java/common/javax/security/auth/SubjectTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/auth/src/test/java/common/javax/security/auth/SubjectTest.java?view=diff&rev=451826&r1=451825&r2=451826
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/auth/src/test/java/common/javax/security/auth/SubjectTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/auth/src/test/java/common/javax/security/auth/SubjectTest.java
Sun Oct  1 15:17:37 2006
@@ -218,12 +218,12 @@
      */
     @SuppressWarnings("unchecked")
     public final void testSubject_3Set_InvalidSet() {
-        HashSet<Object> hash = new HashSet<Object>();
+        HashSet hash = new HashSet();
 
         hash.add(null);
 
         try {
-            new Subject(false, (Set<? extends Principal>)hash, new HashSet<Object>(),
new HashSet<Object>());
+            new Subject(false, hash, new HashSet(), new HashSet());
 
             if (!testing) {
                 // possible to add 'null' principal via constructor
@@ -253,7 +253,7 @@
         hash.clear();
         hash.add(new Object());
         try {
-            new Subject(false, (Set<? extends Principal>)hash, new HashSet(), new HashSet());
+            new Subject(false, hash, new HashSet(), new HashSet());
 
             if (!testing) {
                 // possible to add 'null' principal via constructor



Mime
View raw message