andyc       2002/09/25 05:08:54

  Modified:    java/src/org/apache/xerces/impl XMLDocumentScannerImpl.java
  Log:
  Fixed typo bug introduced with XMLComponent changes.
  
  Revision  Changes    Path
  1.26      +3 -3      
xml-xerces/java/src/org/apache/xerces/impl/XMLDocumentScannerImpl.java
  
  Index: XMLDocumentScannerImpl.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xerces/java/src/org/apache/xerces/impl/XMLDocumentScannerImpl.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- XMLDocumentScannerImpl.java       24 Sep 2002 23:05:17 -0000      1.25
  +++ XMLDocumentScannerImpl.java       25 Sep 2002 12:08:54 -0000      1.26
  @@ -334,7 +334,7 @@
           String[] featureIds = super.getRecognizedFeatures();
           int length = featureIds != null ? featureIds.length : 0;
           String[] combinedFeatureIds = new String[length + 
RECOGNIZED_FEATURES.length];
  -        if (featureIds == null) {
  +        if (featureIds != null) {
               System.arraycopy(featureIds, 0, combinedFeatureIds, 0, 
featureIds.length);
           }
           System.arraycopy(RECOGNIZED_FEATURES, 0, combinedFeatureIds, length, 
RECOGNIZED_FEATURES.length);
  @@ -381,7 +381,7 @@
           String[] propertyIds = super.getRecognizedProperties();
           int length = propertyIds != null ? propertyIds.length : 0;
           String[] combinedPropertyIds = new String[length + 
RECOGNIZED_PROPERTIES.length];
  -        if (propertyIds == null) {
  +        if (propertyIds != null) {
               System.arraycopy(propertyIds, 0, combinedPropertyIds, 0, 
propertyIds.length);
           }
           System.arraycopy(RECOGNIZED_PROPERTIES, 0, combinedPropertyIds, length, 
RECOGNIZED_PROPERTIES.length);
  
  
  

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

Reply via email to