db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r723893 - /db/jdo/trunk/api2/test/java/javax/jdo/JDOHelperTest.java
Date Fri, 05 Dec 2008 22:09:21 GMT
Author: clr
Date: Fri Dec  5 14:09:21 2008
New Revision: 723893

URL: http://svn.apache.org/viewvc?rev=723893&view=rev
Log:
Java 5 parameterized type fix

Modified:
    db/jdo/trunk/api2/test/java/javax/jdo/JDOHelperTest.java   (contents, props changed)

Modified: db/jdo/trunk/api2/test/java/javax/jdo/JDOHelperTest.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2/test/java/javax/jdo/JDOHelperTest.java?rev=723893&r1=723892&r2=723893&view=diff
==============================================================================
--- db/jdo/trunk/api2/test/java/javax/jdo/JDOHelperTest.java (original)
+++ db/jdo/trunk/api2/test/java/javax/jdo/JDOHelperTest.java Fri Dec  5 14:09:21 2008
@@ -475,7 +475,7 @@
      */
     public void testBadPMFNoGetPMFMapMethod() {
         PersistenceManagerFactory pmf = null;
-        Map props = new HashMap();
+        Map<String,String> props = new HashMap<String,String>();
         props.put("javax.jdo.PersistenceManagerFactoryClass", 
                 "javax.jdo.JDOHelperTest$BadPMFNoGetPMFMethod");
         try {

Propchange: db/jdo/trunk/api2/test/java/javax/jdo/JDOHelperTest.java
------------------------------------------------------------------------------
    svn:eol-style = LF



Mime
View raw message