Permalink
Browse files

noticed formatting was off, should be better now

  • Loading branch information...
1 parent 1560f8f commit 2a8281c2d62e05fcfb5551adce8959678b9b7a75 @jiwalker-usgs jiwalker-usgs committed Feb 27, 2014
Showing with 15 additions and 15 deletions.
  1. +15 −15 gdp-process-wps/src/main/java/org/geotools/xml/impl/ParserHandler.java
@@ -778,22 +778,22 @@ public Object getValue() {
* lifetime.
*/
public void cleanup() {
- for (int i = 0; i < schemas.length; i++) {
+ for (int i = 0; i < schemas.length; i++) {
if (schemas[i] != null) {
- XSDSchema schema = schemas[i];
-
- EList<XSDElementDeclaration> declarations = schema.getElementDeclarations();
-
- for(int j = 0; j < declarations.size(); j++) {
- XSDElementDeclaration declaration = declarations.get(j);
-
- EList<XSDElementDeclaration> substitutionGroups = declaration.getSubstitutionGroup();
- substitutionGroups.clear();
- }
- declarations.clear();
-
- schema = null;
- schemas[i] = null;
+ XSDSchema schema = schemas[i];
+
+ EList<XSDElementDeclaration> declarations = schema.getElementDeclarations();
+
+ for (int j = 0; j < declarations.size(); j++) {
+ XSDElementDeclaration declaration = declarations.get(j);
+
+ EList<XSDElementDeclaration> substitutionGroups = declaration.getSubstitutionGroup();
+ substitutionGroups.clear();
+ }
+ declarations.clear();
+
+ schema = null;
+ schemas[i] = null;
}
}
}

0 comments on commit 2a8281c

Please sign in to comment.