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:
committed by
Juergen Hoeller
parent
2be4985b8f
commit
d5b0df8c3f
@@ -70,6 +70,9 @@ import org.springframework.util.xml.StaxUtils;
|
|||||||
*/
|
*/
|
||||||
public abstract class AbstractMarshaller implements Marshaller, Unmarshaller {
|
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 */
|
/** Logger available to subclasses */
|
||||||
protected final Log logger = LogFactory.getLog(getClass());
|
protected final Log logger = LogFactory.getLog(getClass());
|
||||||
|
|
||||||
@@ -604,8 +607,4 @@ public abstract class AbstractMarshaller implements Marshaller, Unmarshaller {
|
|||||||
protected abstract Object unmarshalReader(Reader reader)
|
protected abstract Object unmarshalReader(Reader reader)
|
||||||
throws XmlMappingException, IOException;
|
throws XmlMappingException, IOException;
|
||||||
|
|
||||||
|
|
||||||
private static final EntityResolver NO_OP_ENTITY_RESOLVER =
|
|
||||||
(publicId, systemId) -> new InputSource(new StringReader(""));
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user