Author: chris.laprun(a)jboss.com
Date: 2008-08-06 18:23:49 -0400 (Wed, 06 Aug 2008)
New Revision: 11673
Modified:
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/controller/coordination/CoordinationConfigurator.java
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/controller/coordination/ParameterBindingInfo.java
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/controller/coordination/WindowBindingInfo.java
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/model/portal/DefaultPortalCommandFactory.java
Log:
- Minor.
Modified:
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/controller/coordination/CoordinationConfigurator.java
===================================================================
---
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/controller/coordination/CoordinationConfigurator.java 2008-08-06
22:20:16 UTC (rev 11672)
+++
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/controller/coordination/CoordinationConfigurator.java 2008-08-06
22:23:49 UTC (rev 11673)
@@ -22,13 +22,13 @@
package org.jboss.portal.core.controller.coordination;
-import org.jboss.portal.core.model.portal.Window;
import org.jboss.portal.core.model.portal.Page;
import org.jboss.portal.core.model.portal.PageContainer;
+import org.jboss.portal.core.model.portal.Window;
import javax.xml.namespace.QName;
+import java.util.Collection;
import java.util.Map;
-import java.util.Collection;
import java.util.Set;
/**
@@ -40,7 +40,7 @@
// Management
/**
- * Defines a wiring for a given even QName between multiply source and destination
windows
+ * Defines a wiring for a given even QName between multiple source and destination
windows
*
* @param sources
* @param targets
Modified:
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/controller/coordination/ParameterBindingInfo.java
===================================================================
---
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/controller/coordination/ParameterBindingInfo.java 2008-08-06
22:20:16 UTC (rev 11672)
+++
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/controller/coordination/ParameterBindingInfo.java 2008-08-06
22:23:49 UTC (rev 11673)
@@ -22,11 +22,6 @@
package org.jboss.portal.core.controller.coordination;
-import org.jboss.portal.core.model.portal.Window;
-
-import javax.xml.namespace.QName;
-import java.util.Map;
-
/**
* @author <a href="mailto:boleslaw dot dawidowicz at redhat anotherdot
com">Boleslaw Dawidowicz</a>
* @author <a href="mailto:julien@jboss-portal.org">Julien
Viet</a>
@@ -35,7 +30,4 @@
public interface ParameterBindingInfo
{
String getId();
-
-
-
}
Modified:
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/controller/coordination/WindowBindingInfo.java
===================================================================
---
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/controller/coordination/WindowBindingInfo.java 2008-08-06
22:20:16 UTC (rev 11672)
+++
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/controller/coordination/WindowBindingInfo.java 2008-08-06
22:23:49 UTC (rev 11673)
@@ -34,6 +34,5 @@
*/
public interface WindowBindingInfo extends ParameterBindingInfo
{
-
Map<Window, QName> getWindows();
}
Modified:
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/model/portal/DefaultPortalCommandFactory.java
===================================================================
---
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/model/portal/DefaultPortalCommandFactory.java 2008-08-06
22:20:16 UTC (rev 11672)
+++
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/model/portal/DefaultPortalCommandFactory.java 2008-08-06
22:23:49 UTC (rev 11673)
@@ -74,7 +74,7 @@
{
throw new IllegalStateException("Context does not exist");
}
- Portal portal = (Portal)context.getDefaultPortal();
+ Portal portal = context.getDefaultPortal();
if (portal == null)
{
throw new IllegalStateException("Default portal does not exist");