Author: julien(a)jboss.com
Date: 2007-05-03 12:49:07 -0400 (Thu, 03 May 2007)
New Revision: 7185
Modified:
trunk/core/src/main/org/jboss/portal/core/controller/ajax/AjaxResponseHandler.java
Log:
minor variable renaming
Modified:
trunk/core/src/main/org/jboss/portal/core/controller/ajax/AjaxResponseHandler.java
===================================================================
---
trunk/core/src/main/org/jboss/portal/core/controller/ajax/AjaxResponseHandler.java 2007-05-03
16:04:19 UTC (rev 7184)
+++
trunk/core/src/main/org/jboss/portal/core/controller/ajax/AjaxResponseHandler.java 2007-05-03
16:49:07 UTC (rev 7185)
@@ -193,7 +193,7 @@
Set dirtyWindowIds = new HashSet();
// Whether we need a full refresh or not
- boolean refresh = false;
+ boolean fullRefresh = false;
//
for (Iterator i = ctx.getChanges();i.hasNext();)
@@ -203,7 +203,7 @@
// A change that modifies potentially the page structure
if (!(change instanceof NavigationalStateObjectChange))
{
- refresh = true;
+ fullRefresh = true;
break;
}
NavigationalStateObjectChange update =
(NavigationalStateObjectChange)change;
@@ -211,7 +211,7 @@
// A change that modifies potentially the page structure
if (update.getType() != NavigationalStateObjectChange.UPDATE)
{
- refresh = true;
+ fullRefresh = true;
break;
}
@@ -234,13 +234,13 @@
{
if (!WindowState.MAXIMIZED.equals(newWindowState))
{
- refresh = true;
+ fullRefresh = true;
break;
}
}
else if (WindowState.MAXIMIZED.equals(newWindowState))
{
- refresh = true;
+ fullRefresh = true;
break;
}
@@ -253,7 +253,7 @@
ctx.applyChanges();
//
- if (refresh)
+ if (fullRefresh)
{
ViewPageCommand rpc = new ViewPageCommand(page.getId());
String url = controllerContext.renderURL(rpc, null, null);