Author: julien(a)jboss.com
Date: 2008-02-26 18:53:20 -0500 (Tue, 26 Feb 2008)
New Revision: 10126
Modified:
modules/portlet/trunk/portlet/src/main/java/org/jboss/portal/portlet/impl/jsr168/api/PortletContextImpl.java
modules/portlet/trunk/portlet/src/test/java/org/jboss/portal/unit/TestContants.java
Log:
update major version returned by PortletContext and update test case accordingly
Modified:
modules/portlet/trunk/portlet/src/main/java/org/jboss/portal/portlet/impl/jsr168/api/PortletContextImpl.java
===================================================================
---
modules/portlet/trunk/portlet/src/main/java/org/jboss/portal/portlet/impl/jsr168/api/PortletContextImpl.java 2008-02-26
23:46:38 UTC (rev 10125)
+++
modules/portlet/trunk/portlet/src/main/java/org/jboss/portal/portlet/impl/jsr168/api/PortletContextImpl.java 2008-02-26
23:53:20 UTC (rev 10126)
@@ -106,7 +106,7 @@
public int getMajorVersion()
{
- return 1;
+ return 2;
}
public int getMinorVersion()
Modified:
modules/portlet/trunk/portlet/src/test/java/org/jboss/portal/unit/TestContants.java
===================================================================
---
modules/portlet/trunk/portlet/src/test/java/org/jboss/portal/unit/TestContants.java 2008-02-26
23:46:38 UTC (rev 10125)
+++
modules/portlet/trunk/portlet/src/test/java/org/jboss/portal/unit/TestContants.java 2008-02-26
23:53:20 UTC (rev 10126)
@@ -38,6 +38,6 @@
public static final int MINOR_VERSION = 0;
/** int for <code>PortletContext.getMajorVersion()</code/>. */
- public static final int MAJOR_VERSION = 1;
+ public static final int MAJOR_VERSION = 2;
}
Show replies by date