vgritsenko    2003/12/12 16:22:34

  Modified:    java/src/org/apache/xindice/util Configuration.java
  Log:
  Rename EmptySet -> EMPTY
  
  Revision  Changes    Path
  1.15      +7 -7      
xml-xindice/java/src/org/apache/xindice/util/Configuration.java
  
  Index: Configuration.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xindice/java/src/org/apache/xindice/util/Configuration.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- Configuration.java        12 Aug 2003 02:57:30 -0000      1.14
  +++ Configuration.java        13 Dec 2003 00:22:34 -0000      1.15
  @@ -85,7 +85,7 @@
   
       private static final Log log = LogFactory.getLog(Configuration.class);
   
  -    private static final Configuration[] EmptySet = new Configuration[0];
  +    private static final Configuration[] EMPTY = new Configuration[0];
   
       // commented out 2002-07-16: not used
       //private static final Map Modified = Collections.synchronizedMap(new 
HashMap()); // Temporary HACK
  @@ -638,7 +638,7 @@
       public Configuration[] getChildren() {
           NodeList list = config.getChildNodes();
           if (list == null) {
  -            return EmptySet;
  +            return EMPTY;
           }
   
           List tmp = new ArrayList();
  @@ -648,7 +648,7 @@
                   tmp.add(new Configuration((Element) list.item(i), readOnly));
               }
           }
  -        return (Configuration[]) tmp.toArray(EmptySet);
  +        return (Configuration[]) tmp.toArray(EMPTY);
       }
   
       /**
  @@ -803,11 +803,11 @@
           if (readOnly) {
               throw new ReadOnlyException();
           }
  -        
  +
           if (config.getParentNode() != null) {
               config.getParentNode().removeChild(config);
           }
  -        
  +
           //setDirty();
       }
   
  
  
  

Reply via email to