Polish codacy warning: fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.
This commit is contained in:
parent
2be4985b8f
commit
d5b0df8c3f
|
|
@ -70,6 +70,9 @@ import org.springframework.util.xml.StaxUtils;
|
|||
*/
|
||||
public abstract class AbstractMarshaller implements Marshaller, Unmarshaller {
|
||||
|
||||
private static final EntityResolver NO_OP_ENTITY_RESOLVER =
|
||||
(publicId, systemId) -> new InputSource(new StringReader(""));
|
||||
|
||||
/** Logger available to subclasses */
|
||||
protected final Log logger = LogFactory.getLog(getClass());
|
||||
|
||||
|
|
@ -604,8 +607,4 @@ public abstract class AbstractMarshaller implements Marshaller, Unmarshaller {
|
|||
protected abstract Object unmarshalReader(Reader reader)
|
||||
throws XmlMappingException, IOException;
|
||||
|
||||
|
||||
private static final EntityResolver NO_OP_ENTITY_RESOLVER =
|
||||
(publicId, systemId) -> new InputSource(new StringReader(""));
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue