owenb 2002/06/14 05:27:46
Modified: java/src/org/apache/wsif/util WSIFUtils.java
Log:
Changed getSimpleTypesMap method so that it checks the value of
the simpleTypesMapCreated field rather than the size of the Map
Revision Changes Path
1.5 +1 -1 xml-axis-wsif/java/src/org/apache/wsif/util/WSIFUtils.java
Index: WSIFUtils.java
===================================================================
RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/util/WSIFUtils.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- WSIFUtils.java 14 Jun 2002 12:17:37 -0000 1.4
+++ WSIFUtils.java 14 Jun 2002 12:27:46 -0000 1.5
@@ -797,7 +797,7 @@
* @return The map of simple types
*/
public static Map getSimpleTypesMap() {
- if (simpleTypesMap.size() == 0) {
+ if (!simpleTypesMapCreated.booleanValue()) {
createSimpleTypesMap();
}
return simpleTypesMap;