You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by fm...@apache.org on 2011/05/30 16:47:46 UTC
svn commit: r1129202 -
/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/ClientHelper.java
Author: fmui
Date: Mon May 30 14:47:45 2011
New Revision: 1129202
URL: http://svn.apache.org/viewvc?rev=1129202&view=rev
Log:
fixed "missing" login templates and scripts in CMIS Workbench webstart
Modified:
chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/ClientHelper.java
Modified: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/ClientHelper.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/ClientHelper.java?rev=1129202&r1=1129201&r2=1129202&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/ClientHelper.java (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/ClientHelper.java Mon May 30 14:47:45 2011
@@ -343,7 +343,7 @@ public class ClientHelper {
return "";
}
- InputStream stream = file.getClass().getResourceAsStream(file);
+ InputStream stream = ClientHelper.class.getResourceAsStream(file);
if (stream == null) {
return "";
} else {
@@ -383,7 +383,7 @@ public class ClientHelper {
}
public static List<FileEntry> readFileProperties(String propertiesFile, String path) {
- InputStream stream = propertiesFile.getClass().getResourceAsStream(propertiesFile);
+ InputStream stream = ClientHelper.class.getResourceAsStream(propertiesFile);
if (stream == null) {
return null;
}