From: <fg...@us...> - 2011-11-19 17:15:05
|
Revision: 3695 http://openutils.svn.sourceforge.net/openutils/?rev=3695&view=rev Author: fgiust Date: 2011-11-19 17:14:59 +0000 (Sat, 19 Nov 2011) Log Message: ----------- move initialization code to an init() method Modified Paths: -------------- trunk/openutils-mgnlmobile/src/main/java/net/sourceforge/openutils/mgnlmobile/filters/DefaultMobileWURFLManager.java Modified: trunk/openutils-mgnlmobile/src/main/java/net/sourceforge/openutils/mgnlmobile/filters/DefaultMobileWURFLManager.java =================================================================== --- trunk/openutils-mgnlmobile/src/main/java/net/sourceforge/openutils/mgnlmobile/filters/DefaultMobileWURFLManager.java 2011-11-19 17:13:22 UTC (rev 3694) +++ trunk/openutils-mgnlmobile/src/main/java/net/sourceforge/openutils/mgnlmobile/filters/DefaultMobileWURFLManager.java 2011-11-19 17:14:59 UTC (rev 3695) @@ -55,6 +55,15 @@ public DefaultMobileWURFLManager() { + init(); + } + + /** + * + */ + private void init() + { + String mainPath = "/mgnl-resources/mgnlmobile/wurfl-2.0.18.xml.gz"; File fileMain = getResource(mainPath, "wurfl", ".xml.gz"); if (fileMain != null) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |