You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by sc...@apache.org on 2011/09/01 11:39:59 UTC
svn commit: r1163971 -
/incubator/wookie/trunk/src/org/apache/wookie/controller/WidgetInstancesController.java
Author: scottbw
Date: Thu Sep 1 09:39:59 2011
New Revision: 1163971
URL: http://svn.apache.org/viewvc?rev=1163971&view=rev
Log:
fixed indentation
Modified:
incubator/wookie/trunk/src/org/apache/wookie/controller/WidgetInstancesController.java
Modified: incubator/wookie/trunk/src/org/apache/wookie/controller/WidgetInstancesController.java
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/src/org/apache/wookie/controller/WidgetInstancesController.java?rev=1163971&r1=1163970&r2=1163971&view=diff
==============================================================================
--- incubator/wookie/trunk/src/org/apache/wookie/controller/WidgetInstancesController.java (original)
+++ incubator/wookie/trunk/src/org/apache/wookie/controller/WidgetInstancesController.java Thu Sep 1 09:39:59 2011
@@ -329,9 +329,9 @@ public class WidgetInstancesController e
IStartFile[] startFiles = instance.getWidget().getStartFiles().toArray(new IStartFile[instance.getWidget().getStartFiles().size()]);
IStartFile sf = (IStartFile) LocalizationUtils.getLocalizedElement(startFiles, new String[]{instance.getLang()}, instance.getWidget().getDefaultLocale());
- //
- // Try default locale if no appropriate localization found
- //
+ //
+ // Try default locale if no appropriate localization found
+ //
if (sf == null) sf = (IStartFile) LocalizationUtils.getLocalizedElement(startFiles, null, instance.getWidget().getDefaultLocale());
//
@@ -342,7 +342,7 @@ public class WidgetInstancesController e
//
// Get a URL for the start file on this Wookie server
//
- String path = sf.getUrl();
+ String path = sf.getUrl();
URL urlWidget = getWookieServerURL(request, path);
//