You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by Eric Chow <ec...@macaucabletv.com> on 2003/10/14 06:49:30 UTC
PortalImpl problem !
Hello,
I saw some code in
org.apache.pluto.portalImpl.aggregation.PortletFragment.java.
----------------------------------------------------------------------------
---------------------------
if (e.isPermanent()) {
servletDefinitionCtrl.setAvailable(Long.MAX_VALUE);
} else {
int unavailableSeconds = e.getUnavailableSeconds();
if (unavailableSeconds <= 0) {
unavailableSeconds = 60; // arbitrary default
}
servletDefinitionCtrl.setAvailable(System.currentTimeMillis() +
unavailableSeconds * 1000);
}
----------------------------------------------------------------------------
------------------------------
What will be caused if ignore the above statements ???
Eric
==========================
If you know what you are doing,
it is not called RESEARCH!
==========================