1.1 --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/AbstractDocument.java Thu Apr 04 19:05:24 2013 -0700 1.2 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/framework/AbstractDocument.java Tue Apr 09 14:51:13 2013 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -34,8 +34,6 @@ 1.11 import javax.xml.namespace.QName; 1.12 import java.util.*; 1.13 1.14 -import org.xml.sax.helpers.LocatorImpl; 1.15 - 1.16 /** 1.17 * An abstract class for documents containing entities. 1.18 * 1.19 @@ -163,10 +161,11 @@ 1.20 private final Set includedDocuments; 1.21 private final List includedEntities; 1.22 1.23 - private class LocallyValidatingAction implements EntityAction { 1.24 + private static class LocallyValidatingAction implements EntityAction { 1.25 public LocallyValidatingAction() { 1.26 } 1.27 1.28 + @Override 1.29 public void perform(Entity entity) { 1.30 try { 1.31 entity.validateThis();