harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r578094 - in /harmony/enhanced/classlib/trunk/modules: auth/src/test/java/common/org/apache/harmony/auth/tests/module/KeyStoreLoginModuleTest.java sound/src/test/java/org/apache/harmony/sound/tests/javax/sound/sampled/PortInfoTest.java
Date Fri, 21 Sep 2007 13:07:15 GMT
Author: tellison
Date: Fri Sep 21 06:07:14 2007
New Revision: 578094

URL: http://svn.apache.org/viewvc?rev=578094&view=rev
Log:
Fix minor compiler warnings.

Modified:
    harmony/enhanced/classlib/trunk/modules/auth/src/test/java/common/org/apache/harmony/auth/tests/module/KeyStoreLoginModuleTest.java
    harmony/enhanced/classlib/trunk/modules/sound/src/test/java/org/apache/harmony/sound/tests/javax/sound/sampled/PortInfoTest.java

Modified: harmony/enhanced/classlib/trunk/modules/auth/src/test/java/common/org/apache/harmony/auth/tests/module/KeyStoreLoginModuleTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/auth/src/test/java/common/org/apache/harmony/auth/tests/module/KeyStoreLoginModuleTest.java?rev=578094&r1=578093&r2=578094&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/auth/src/test/java/common/org/apache/harmony/auth/tests/module/KeyStoreLoginModuleTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/auth/src/test/java/common/org/apache/harmony/auth/tests/module/KeyStoreLoginModuleTest.java
Fri Sep 21 06:07:14 2007
@@ -96,10 +96,10 @@
         }
         Set<Principal> principals = subject.getPrincipals();
         assertFalse("Should get at least one principal", principals.isEmpty());
-        Set subjects = subject.getPrivateCredentials();
+        Set<Object> subjects = subject.getPrivateCredentials();
         assertFalse("Should get at least one private credential", subjects
                 .isEmpty());
-        Set subjects2 = subject.getPublicCredentials();
+        Set<Object> subjects2 = subject.getPublicCredentials();
         assertFalse("Should get at least one public credential", subjects2
                 .isEmpty());
         subject = new Subject();
@@ -164,10 +164,10 @@
         }
         Set<Principal> principals = subject.getPrincipals();
         assertFalse("Should get at least one principal", principals.isEmpty());
-        Set subjects = subject.getPrivateCredentials();
+        Set<Object> subjects = subject.getPrivateCredentials();
         assertFalse("Should get at least one private credential", subjects
                 .isEmpty());
-        Set subjects2 = subject.getPublicCredentials();
+        Set<Object> subjects2 = subject.getPublicCredentials();
         assertFalse("Should get at least one public credential", subjects2
                 .isEmpty());
         try {

Modified: harmony/enhanced/classlib/trunk/modules/sound/src/test/java/org/apache/harmony/sound/tests/javax/sound/sampled/PortInfoTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/sound/src/test/java/org/apache/harmony/sound/tests/javax/sound/sampled/PortInfoTest.java?rev=578094&r1=578093&r2=578094&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/sound/src/test/java/org/apache/harmony/sound/tests/javax/sound/sampled/PortInfoTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/sound/src/test/java/org/apache/harmony/sound/tests/javax/sound/sampled/PortInfoTest.java
Fri Sep 21 06:07:14 2007
@@ -27,7 +27,7 @@
         assertEquals("COMPACT_DISC source port", Port.Info.COMPACT_DISC.toString());
         assertEquals("LINE_OUT target port", Port.Info.LINE_OUT.toString());
 
-        Class cl = Port.class;
+        Class<Port> cl = Port.class;
         String name = "name";
         Port.Info pi1 = new Port.Info(cl, name, true);
         assertEquals(name, pi1.getName());



Mime
View raw message