cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rica...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/processor/xsp/library XSPCookieLibrary.java
Date Sun, 09 Jan 2000 02:47:04 GMT
ricardo     00/01/08 18:47:04

  Modified:    src/org/apache/cocoon/processor/xsp/library
                        XSPCookieLibrary.java
  Log:
  Made all methods static
  
  Revision  Changes    Path
  1.3       +8 -8      xml-cocoon/src/org/apache/cocoon/processor/xsp/library/XSPCookieLibrary.java
  
  Index: XSPCookieLibrary.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/library/XSPCookieLibrary.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- XSPCookieLibrary.java	2000/01/05 19:37:48	1.2
  +++ XSPCookieLibrary.java	2000/01/09 02:47:03	1.3
  @@ -100,49 +100,49 @@
       return element;
     }
   
  -  public Element getComment(Cookie cookie, Document document) {
  +  public static Element getComment(Cookie cookie, Document document) {
       Element element = document.createElement("cookie:comment");
       element.appendChild(document.createTextNode(cookie.getComment()));
       return element;
     }
   
  -  public Element getDomain(Cookie cookie, Document document) {
  +  public static Element getDomain(Cookie cookie, Document document) {
       Element element = document.createElement("cookie:domain");
       element.appendChild(document.createTextNode(cookie.getDomain()));
       return element;
     }
   
  -  public Element getMaxAge(Cookie cookie, Document document) {
  +  public static Element getMaxAge(Cookie cookie, Document document) {
       Element element = document.createElement("cookie:max-age");
       element.appendChild(document.createTextNode(String.valueOf(cookie.getMaxAge())));
       return element;
     }
   
  -  public Element getName(Cookie cookie, Document document) {
  +  public static Element getName(Cookie cookie, Document document) {
       Element element = document.createElement("cookie:name");
       element.appendChild(document.createTextNode(cookie.getName()));
       return element;
     }
   
  -  public Element getPath(Cookie cookie, Document document) {
  +  public static Element getPath(Cookie cookie, Document document) {
       Element element = document.createElement("cookie:path");
       element.appendChild(document.createTextNode(cookie.getPath()));
       return element;
     }
   
  -  public Element getSecure(Cookie cookie, Document document) {
  +  public static Element getSecure(Cookie cookie, Document document) {
       Element element = document.createElement("cookie:secure");
       element.appendChild(document.createTextNode(String.valueOf(cookie.getSecure())));
       return element;
     }
   
  -  public Element getValue(Cookie cookie, Document document) {
  +  public static Element getValue(Cookie cookie, Document document) {
       Element element = document.createElement("cookie:secure");
       element.appendChild(document.createTextNode(cookie.getValue()));
       return element;
     }
   
  -  public Element getVersion(Cookie cookie, Document document) {
  +  public static Element getVersion(Cookie cookie, Document document) {
       Element element = document.createElement("cookie:version");
       element.appendChild(document.createTextNode(String.valueOf(cookie.getVersion())));
       return element;
  
  
  

Mime
View raw message