ImportStatement is now immutable

This commit is contained in:
Manindra Moharana
2013-07-13 00:36:49 +05:30
parent f912ed35a7
commit 1676dbdbcb
4 changed files with 47 additions and 18 deletions

View File

@@ -128,7 +128,7 @@ public class XQPreprocessor {
public String prepareImports() {
imports = new ArrayList<String>();
for (int i = 0; i < extraImports.size(); i++) {
imports.add(new String(extraImports.get(i).importName));
imports.add(new String(extraImports.get(i).getImportName()));
}
imports.add(new String("// Default Imports"));
for (int i = 0; i < coreImports.length; i++) {