File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
xml/src/main/java/org/springframework/xml/xsd/commons Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright 2005-2010 the original author or authors.
2+ * Copyright 2005-2012 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
66 * You may obtain a copy of the License at
77 *
8- * http://www.apache.org/licenses/LICENSE-2.0
8+ * http://www.apache.org/licenses/LICENSE-2.0
99 *
1010 * Unless required by applicable law or agreed to in writing, software
1111 * distributed under the License is distributed on an "AS IS" BASIS,
@@ -95,8 +95,7 @@ public QName[] getElementNames() {
9595 public Source getSource () {
9696 // try to use the the package-friendly XmlSchemaSerializer first, fall back to slower stream-based version
9797 try {
98- XmlSchemaSerializer serializer = (XmlSchemaSerializer ) BeanUtils .instantiateClass (XmlSchemaSerializer .class )
99- ;
98+ XmlSchemaSerializer serializer = BeanUtils .instantiateClass (XmlSchemaSerializer .class );
10099 if (collection != null ) {
101100 serializer .setExtReg (collection .getExtReg ());
102101 }
You can’t perform that action at this time.
0 commit comments