geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r796859 - /geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/PersistenceProviderResolverHolder.java
Date Wed, 22 Jul 2009 20:01:03 GMT
Author: dwoods
Date: Wed Jul 22 20:01:03 2009
New Revision: 796859

URL: http://svn.apache.org/viewvc?rev=796859&view=rev
Log:
GERONIMO-4410 - cleanup comments and set InputStream to UTF-8

Modified:
    geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/PersistenceProviderResolverHolder.java

Modified: geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/PersistenceProviderResolverHolder.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/PersistenceProviderResolverHolder.java?rev=796859&r1=796858&r2=796859&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/PersistenceProviderResolverHolder.java
(original)
+++ geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/PersistenceProviderResolverHolder.java
Wed Jul 22 20:01:03 2009
@@ -58,9 +58,10 @@
     }
     
     /*
-     * (non-Javadoc) Geronimo implementation specific code.
-     * Default implementation of a PersistenceProviderResolver
+     * (non-Javadoc) Default implementation of a PersistenceProviderResolver
      * to use when none are provided.
+     * 
+     * Geronimo implementation specific code.
      */
     private static class DefaultPersistenceProviderResolver implements PersistenceProviderResolver
{
  
@@ -100,7 +101,7 @@
                         try {
                             is = url.openStream();
                             BufferedReader br = new BufferedReader(
-                                new InputStreamReader(is), 256);
+                                new InputStreamReader(is, "UTF-8"), 256);
                             String line = br.readLine();
                             // files may contain multiple providers and/or comments
                             while (line != null) {



Mime
View raw message