qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ritch...@apache.org
Subject svn commit: r682309 - /incubator/qpid/trunk/qpid/java/tools/src/main/java/org/apache/qpid/tools/JNDICheck.java
Date Mon, 04 Aug 2008 09:52:26 GMT
Author: ritchiem
Date: Mon Aug  4 02:52:25 2008
New Revision: 682309

URL: http://svn.apache.org/viewvc?rev=682309&view=rev
Log:
QPID-1215 : Replaced use of FileReader with FileInputStream

Modified:
    incubator/qpid/trunk/qpid/java/tools/src/main/java/org/apache/qpid/tools/JNDICheck.java

Modified: incubator/qpid/trunk/qpid/java/tools/src/main/java/org/apache/qpid/tools/JNDICheck.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/tools/src/main/java/org/apache/qpid/tools/JNDICheck.java?rev=682309&r1=682308&r2=682309&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/tools/src/main/java/org/apache/qpid/tools/JNDICheck.java
(original)
+++ incubator/qpid/trunk/qpid/java/tools/src/main/java/org/apache/qpid/tools/JNDICheck.java
Mon Aug  4 02:52:25 2008
@@ -35,7 +35,7 @@
 import java.util.LinkedList;
 import java.io.IOException;
 import java.io.File;
-import java.io.FileReader;
+import java.io.FileInputStream;
 
 public class JNDICheck
 {
@@ -81,7 +81,7 @@
 
         try
         {
-            properties.load(new FileReader(new File(propertyFile)));
+            properties.load(new FileInputStream(new File(propertyFile)));
         }
         catch (IOException e)
         {



Mime
View raw message