Revision: 7783
Author: victormote
Date: 2006-07-15 15:29:14 -0700 (Sat, 15 Jul 2006)
ViewCVS: http://svn.sourceforge.net/foray/?rev=7783&view=rev
Log Message:
-----------
Minor refactoring and cleanup.
Modified Paths:
--------------
trunk/foray/foray-app/src/java/org/foray/app/Options.java
Modified: trunk/foray/foray-app/src/java/org/foray/app/Options.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/app/Options.java 2006-07-15 22:29:05 UTC (rev 7782)
+++ trunk/foray/foray-app/src/java/org/foray/app/Options.java 2006-07-15 22:29:14 UTC (rev 7783)
@@ -26,7 +26,6 @@
import org.foray.core.ConfigurationParser;
import org.foray.core.FOrayException;
-import org.foray.core.InputHandler;
import org.foray.core.SessionConfig;
import org.foray.output.OutputConfig;
@@ -94,7 +93,9 @@
return;
}
try {
- loadUserconfiguration(InputHandler.urlInputSource(userConfigFile));
+ InputSource inputSource = new InputSource(
+ userConfigFile.openStream());
+ loadUserconfiguration(inputSource);
} catch (IOException e) {
throw new FOrayException(e);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|