cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/portal/java/org/apache/cocoon/portal/coplet CopletInstanceData.java
Date Tue, 17 Jun 2003 20:10:42 GMT
cziegeler    2003/06/17 13:10:39

  Modified:    src/blocks/portal/java/org/apache/cocoon/portal/layout/renderer/aspect/impl
                        WindowAspect.java
               src/blocks/portal/java/org/apache/cocoon/portal/coplet
                        CopletInstanceData.java
  Log:
  Removing unused
  
  Revision  Changes    Path
  1.4       +1 -3      cocoon-2.1/src/blocks/portal/java/org/apache/cocoon/portal/layout/renderer/aspect/impl/WindowAspect.java
  
  Index: WindowAspect.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/portal/java/org/apache/cocoon/portal/layout/renderer/aspect/impl/WindowAspect.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- WindowAspect.java	15 Jun 2003 16:56:08 -0000	1.3
  +++ WindowAspect.java	17 Jun 2003 20:10:39 -0000	1.4
  @@ -93,9 +93,7 @@
   			attributes.addCDATAAttribute((String)entry.getKey(), (String)entry.getValue());
   		}
           XMLUtils.startElement(contenthandler, config.tagName, attributes);
  -        int status = copletInstanceData.getStatus();
           XMLUtils.createElement(contenthandler, "title", copletInstanceData.getCopletData().getTitle());
  -        XMLUtils.createElement(contenthandler, "status", "" + status);
   
           context.invokeNext( layout, service, contenthandler );
   
  
  
  
  1.7       +2 -23     cocoon-2.1/src/blocks/portal/java/org/apache/cocoon/portal/coplet/CopletInstanceData.java
  
  Index: CopletInstanceData.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/portal/java/org/apache/cocoon/portal/coplet/CopletInstanceData.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- CopletInstanceData.java	13 Jun 2003 14:15:04 -0000	1.6
  +++ CopletInstanceData.java	17 Jun 2003 20:10:39 -0000	1.7
  @@ -67,12 +67,7 @@
   public final class CopletInstanceData 
       extends AbstractProducible {
   
  -	public final static int STATUS_MINIMIZED = 0;
  -	public final static int STATUS_MAXIMIZED = 1;
  -
  -	private CopletData copletData;
  -
  -	protected int status = STATUS_MAXIMIZED;
  +	protected CopletData copletData;
   
       protected Map attributes = new HashMap();
   
  @@ -95,22 +90,6 @@
   	 */
   	public void setCopletData(CopletData copletData) {
   		this.copletData = copletData;
  -	}
  -
  -	/**
  -	 * Returns the status.
  -	 * @return int
  -	 */
  -	public int getStatus() {
  -		return status;
  -	}
  -
  -	/**
  -	 * Sets the status.
  -	 * @param status The status to set
  -	 */
  -	public void setStatus(int status) {
  -		this.status = status;
   	}
   
       public Object getAttribute(String key) {
  
  
  

Mime
View raw message