Skip to content

Commit

Permalink
Fix silly class dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anders Hessellund Jensen committed Jun 15, 2011
1 parent 83c1fc3 commit e97509e
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -26,8 +26,6 @@
import org.xml.sax.ErrorHandler;
import org.xml.sax.SAXException;

import com.trifork.stamdata.lookup.rest.PersonResource;

public class PersonValidator {
private static final String PERSON_XSD = "/ns20.xsd";

Expand Down Expand Up @@ -148,7 +146,7 @@ public String getBaseURI() {
private void initSchemaMap() throws Exception {
for(int i= 1; ; ++i) {
String schemaLocation = "/ns" + i + ".xsd";
InputStream input = PersonResource.class.getResourceAsStream(schemaLocation);
InputStream input = PersonValidator.class.getResourceAsStream(schemaLocation);
if(input == null) {
break;
}
Expand Down

0 comments on commit e97509e

Please sign in to comment.