antoine     2003/07/24 14:32:14

  Modified:    src/java/org/apache/tools/ant/gui/xml NamedDOMNodeMap.java
  Log:
  copyright date
  
  Revision  Changes    Path
  1.4       +12 -12    
ant-antidote/src/java/org/apache/tools/ant/gui/xml/NamedDOMNodeMap.java
  
  Index: NamedDOMNodeMap.java
  ===================================================================
  RCS file: 
/home/cvs/ant-antidote/src/java/org/apache/tools/ant/gui/xml/NamedDOMNodeMap.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- NamedDOMNodeMap.java      24 Jul 2003 20:29:10 -0000      1.3
  +++ NamedDOMNodeMap.java      24 Jul 2003 21:32:13 -0000      1.4
  @@ -1,7 +1,7 @@
   /*
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999, 2000 The Apache Software Foundation.  All rights
  + * Copyright (c) 1999, 2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -73,10 +73,10 @@
   
       private NamedNodeMap _impl;
       private DOMNodeFactory _factory;
  -    
  +
       /**
        * Creates an <code>NamedDOMNodeMap</code> from the input NamedNodeMap.
  -     * 
  +     *
        * @param impl the <code>NamedNodeMap</code>
        * @param factory the factory to use to create the DOMNodes.
        */
  @@ -96,10 +96,10 @@
           if (_impl == null) {
               return attrs;
           }
  -        
  +
           for (int i = 0; i < getLength(); i++) {
               Node n = _impl.item(i);
  -        
  +
               String uri = (n.getNamespaceURI() == null) ? "" :
                   n.getNamespaceURI();
   
  @@ -111,31 +111,31 @@
   
               String value = (n.getNodeValue() == null) ? "" :
                   n.getNodeValue();
  -            
  +
               attrs.addAttribute (uri, localname, prefix, "CDATA", value);
           }
           return attrs;
       }
  -    
  +
       public DOMNode setNamedItem(DOMNode node) throws DOMException {
           Node temp = _impl.setNamedItem(node.getImpl());
           return _factory.createDOMNode(temp);
       }
  -    
  +
       public DOMNode getNamedItem(String name) {
           Node node = _impl.getNamedItem(name);
           return _factory.createDOMNode(node);
       }
  -    
  +
       public int getLength() {
           return _impl.getLength();
       }
  -    
  +
       public DOMNode item(int index) {
           Node node = _impl.item(index);
           return _factory.createDOMNode(node);
       }
  -    
  +
       public DOMNode removeNamedItem(String name) throws DOMException {
           Node node = _impl.removeNamedItem(name);
           return _factory.createDOMNode(node);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to