import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.StringReader;
-import java.util.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
protected Document doc = null;
protected String apiVersion = null;
protected SchemaVersions schemaVersions;
- protected Map combinedJavaTypes;
+ protected Map<String, Integer> combinedJavaTypes;
protected String apiVersionFmt = null;
protected List<String> topLevelPaths = new ArrayList<String>();
protected HashMap<String, String> generatedJavaType = new HashMap<String, String>();
return null;
}
- public Map getCombinedJavaTypes() {
+ public Map<String, Integer> getCombinedJavaTypes() {
return combinedJavaTypes;
}
- public void setCombinedJavaTypes(Map combinedJavaTypes) {
+ public void setCombinedJavaTypes(Map<String, Integer> combinedJavaTypes) {
this.combinedJavaTypes = combinedJavaTypes;
}
int useElement = -1;
if (combinedJavaTypes.containsKey(javaTypeName)) {
- return combineElementList.get((int) combinedJavaTypes.get(javaTypeName));
+ return combineElementList.get(combinedJavaTypes.get(javaTypeName));
}
for (int i = 0; i < combineElementList.size(); ++i) {
javaTypeElement = combineElementList.get(i);