cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r267180 - /cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/pluto/PortletURLProviderImpl.java
Date Fri, 02 Sep 2005 10:33:11 GMT
Author: cziegeler
Date: Fri Sep  2 03:33:05 2005
New Revision: 267180

URL: http://svn.apache.org/viewcvs?rev=267180&view=rev
Log:
Cleanup

Modified:
    cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/pluto/PortletURLProviderImpl.java

Modified: cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/pluto/PortletURLProviderImpl.java
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/pluto/PortletURLProviderImpl.java?rev=267180&r1=267179&r2=267180&view=diff
==============================================================================
--- cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/pluto/PortletURLProviderImpl.java
(original)
+++ cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/pluto/PortletURLProviderImpl.java
Fri Sep  2 03:33:05 2005
@@ -1,12 +1,12 @@
 /*
- * Copyright 2004,2004 The Apache Software Foundation.
- * 
+ * Copyright 2004-2005 The Apache Software Foundation.
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -42,10 +42,10 @@
 import org.apache.pluto.services.information.PortletURLProvider;
 
 /**
- * Creste the URL for a portlet
+ * Create the URL for a portlet.
  *
  * @author <a href="mailto:cziegeler@apache.org">Carsten Ziegeler</a>
- * 
+ *
  * @version CVS $Id$
  */
 public class PortletURLProviderImpl 
@@ -64,7 +64,7 @@
     protected boolean action;
     
     /** Secure link? */
-    protected Boolean secure = null;
+    protected Boolean secure;
     
     /** Clear parameters */
     protected boolean clearParameters;
@@ -139,7 +139,7 @@
         return this.portletWindow;
     }
     
-    /* (non-Javadoc)
+    /**
      * @see org.apache.pluto.services.information.PortletURLProvider#setPortletMode(javax.portlet.PortletMode)
      */
     public void setPortletMode(PortletMode mode) {
@@ -153,7 +153,7 @@
         return this.mode;
     }
     
-    /* (non-Javadoc)
+    /**
      * @see org.apache.pluto.services.information.PortletURLProvider#setWindowState(javax.portlet.WindowState)
      */
     public void setWindowState(WindowState state) {
@@ -167,7 +167,7 @@
         return this.state;
     }
 
-    /* (non-Javadoc)
+    /**
      * @see org.apache.pluto.services.information.PortletURLProvider#setAction()
      */
     public void setAction() {
@@ -181,21 +181,21 @@
         return this.action;
     }
         
-    /* (non-Javadoc)
+    /**
      * @see org.apache.pluto.services.information.PortletURLProvider#setSecure()
      */
     public void setSecure() {
         this.secure =  new Boolean(true);
     }
 
-    /* (non-Javadoc)
+    /**
      * @see org.apache.pluto.services.information.PortletURLProvider#clearParameters()
      */
     public void clearParameters() {
         this.clearParameters = true;
     }
 
-    /* (non-Javadoc)
+    /**
      * @see org.apache.pluto.services.information.PortletURLProvider#setParameters(java.util.Map)
      */
     public void setParameters(Map parameters) {
@@ -212,11 +212,14 @@
         return this.parameters;
     }
 
+    /**
+     * @see java.lang.Object#toString()
+     */
     public String toString() {
         return new PortletURLProviderImpl(this).getURL();
     }
 
-    /* (non-Javadoc)
+    /**
      * @see java.lang.Object#toString()
      */
     private String getURL() {
@@ -255,7 +258,7 @@
         return linkService.encodeURL(this.generatedURL);
     }
 
-    /* (non-Javadoc)
+    /**
      * @see org.apache.cocoon.portal.event.ActionEvent#getTarget()
      */
     public Object getTarget() {        



Mime
View raw message