Changeset 2183 for trunk/java-client/org


Ignore:
Timestamp:
2001-03-15T13:58:53+13:00 (23 years ago)
Author:
say1
Message:

fixed code after previous commit ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/java-client/org/nzdl/gsdl/util/NzdlServiceFactory.java

    r2182 r2183  
    153153      }
    154154    }
    155     String[] strings = new Strings[vec]
    156       return null;
    157    
    158   }
    159 
     155    String[] strings = new String[vec.size()];
     156    Enumeration e = vec.elements();
     157    int i = 0;
     158    while (e.hasMoreElements()) {
     159       strings[i++] = (String) e.nextElement();
     160    }
     161    return strings;
     162   
     163  }
     164 
    160165  /**
    161166   * Check that the class has been correctly initialised
Note: See TracChangeset for help on using the changeset viewer.