Polishing
This commit is contained in:
parent
45b2f5bac4
commit
7b1010cf61
|
@ -37,20 +37,20 @@ import java.net.URL;
|
|||
* @see #getFile()
|
||||
* @see WritableResource
|
||||
* @see ContextResource
|
||||
* @see FileSystemResource
|
||||
* @see ClassPathResource
|
||||
* @see UrlResource
|
||||
* @see ClassPathResource
|
||||
* @see FileSystemResource
|
||||
* @see PathResource
|
||||
* @see ByteArrayResource
|
||||
* @see InputStreamResource
|
||||
* @see PathResource
|
||||
*/
|
||||
public interface Resource extends InputStreamSource {
|
||||
|
||||
/**
|
||||
* Determine whether this resource actually exists in physical form.
|
||||
* <p>This method performs a definitive existence check, whereas the
|
||||
* existence of a {@code Resource} handle only guarantees a
|
||||
* valid descriptor handle.
|
||||
* existence of a {@code Resource} handle only guarantees a valid
|
||||
* descriptor handle.
|
||||
*/
|
||||
boolean exists();
|
||||
|
||||
|
|
|
@ -326,7 +326,8 @@ public enum HttpStatus {
|
|||
/**
|
||||
* {@code 451 Unavailable For Legal Reasons}.
|
||||
* @see <a href="https://tools.ietf.org/html/draft-ietf-httpbis-legally-restricted-status-04">
|
||||
* An HTTP Status Code to Report Legal Obstacles</a>
|
||||
* An HTTP Status Code to Report Legal Obstacles</a>
|
||||
* @since 4.3
|
||||
*/
|
||||
UNAVAILABLE_FOR_LEGAL_REASONS(451, "Unavailable For Legal Reasons"),
|
||||
|
||||
|
|
|
@ -98,7 +98,6 @@ public class XsltView extends AbstractUrlBasedView {
|
|||
* to build the TransformerFactory for this view.
|
||||
*/
|
||||
public void setTransformerFactoryClass(Class<? extends TransformerFactory> transformerFactoryClass) {
|
||||
Assert.isAssignable(TransformerFactory.class, transformerFactoryClass);
|
||||
this.transformerFactoryClass = transformerFactoryClass;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue