Author: pwang
Date: 2013-02-22 16:54:12 -0800 (Fri, 22 Feb 2013)
New Revision: 31138

Modified:
   
csplugins/trunk/ucsd/kono/bingo-impl/src/main/java/bingo/internal/BingoParameters.java
Log:
Bug fix

Modified: 
csplugins/trunk/ucsd/kono/bingo-impl/src/main/java/bingo/internal/BingoParameters.java
===================================================================
--- 
csplugins/trunk/ucsd/kono/bingo-impl/src/main/java/bingo/internal/BingoParameters.java
      2013-02-22 21:56:11 UTC (rev 31137)
+++ 
csplugins/trunk/ucsd/kono/bingo-impl/src/main/java/bingo/internal/BingoParameters.java
      2013-02-23 00:54:12 UTC (rev 31138)
@@ -120,10 +120,13 @@
        }
 
        public InputStream JarReader(String name) throws IOException {
-               URL url = getClass().getResource("/" + name);
-               JarURLConnection juc = (JarURLConnection) url.openConnection();
-               JarFile jarFile = juc.getJarFile();
-               InputStream is = 
jarFile.getInputStream(jarFile.getJarEntry(name));
+//             URL url = getClass().getResource("/props/" + name);
+//             JarURLConnection juc = (JarURLConnection) url.openConnection();
+//             JarFile jarFile = juc.getJarFile();
+//             InputStream is = 
jarFile.getInputStream(jarFile.getJarEntry(name));
+               
+               InputStream is = getClass().getResourceAsStream("/props/" + 
name);
+               
                return is;
        }
 

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cytoscape-cvs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to