[jboss-cvs] jboss-portal/portlet/src/main/org/jboss/portal/portlet/result ...
Julien Viet
julien at jboss.com
Tue Aug 1 09:57:44 EDT 2006
User: julien
Date: 06/08/01 09:57:44
Modified: portlet/src/main/org/jboss/portal/portlet/result
FragmentResult.java
Log:
- cms fixes
- correct handling of -1 caching
Revision Changes Path
1.7 +8 -8 jboss-portal/portlet/src/main/org/jboss/portal/portlet/result/FragmentResult.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: FragmentResult.java
===================================================================
RCS file: /cvsroot/jboss/jboss-portal/portlet/src/main/org/jboss/portal/portlet/result/FragmentResult.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- FragmentResult.java 31 Jul 2006 00:39:30 -0000 1.6
+++ FragmentResult.java 1 Aug 2006 13:57:44 -0000 1.7
@@ -33,7 +33,7 @@
* Data produced.
*
* @author <a href="mailto:julien at jboss.org">Julien Viet</a>
- * @version $Revision: 1.6 $
+ * @version $Revision: 1.7 $
*/
public class FragmentResult extends Result
{
@@ -63,8 +63,8 @@
/** The response properties. */
protected Properties properties;
- /** Number of milliseconds this result remains valid, a value of -1 indicates that it never expires. */
- protected int expirationMillis;
+ /** Number of seconds this result remains valid, a value of -1 indicates that it never expires. */
+ protected int expirationSecs;
public FragmentResult()
{
@@ -75,7 +75,7 @@
this.contentType = null;
this.title = null;
this.properties = new Properties();
- this.expirationMillis = 0;
+ this.expirationSecs = 0;
}
public String getHeader()
@@ -238,13 +238,13 @@
}
- public int getExpirationMillis()
+ public int getExpirationSecs()
{
- return expirationMillis;
+ return expirationSecs;
}
- public void setExpirationMillis(int expirationMillis)
+ public void setExpirationSecs(int expirationSecs)
{
- this.expirationMillis = expirationMillis;
+ this.expirationSecs = expirationSecs;
}
}
More information about the jboss-cvs-commits
mailing list