Author: julien_viet
Date: 2009-12-09 12:58:31 -0500 (Wed, 09 Dec 2009)
New Revision: 983
Modified:
portal/trunk/component/web/src/main/java/org/exoplatform/web/application/javascript/JavascriptConfigService.java
Log:
minor
Modified:
portal/trunk/component/web/src/main/java/org/exoplatform/web/application/javascript/JavascriptConfigService.java
===================================================================
---
portal/trunk/component/web/src/main/java/org/exoplatform/web/application/javascript/JavascriptConfigService.java 2009-12-09
17:56:51 UTC (rev 982)
+++
portal/trunk/component/web/src/main/java/org/exoplatform/web/application/javascript/JavascriptConfigService.java 2009-12-09
17:58:31 UTC (rev 983)
@@ -19,6 +19,7 @@
package org.exoplatform.web.application.javascript;
+import org.exoplatform.commons.utils.Safe;
import org.exoplatform.container.ExoContainerContext;
import org.gatein.wci.impl.DefaultServletContainerFactory;
import org.picocontainer.Startable;
@@ -127,13 +128,7 @@
}
finally
{
- try
- {
- reader.close();
- }
- catch (Exception ex)
- {
- }
+ Safe.close(reader);
}
}
catch (Exception e)
Show replies by date