Polishing
This commit is contained in:
parent
f95bf96ec9
commit
53a506f6bb
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2002-2020 the original author or authors.
|
||||
* Copyright 2002-2022 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
@ -50,7 +50,7 @@ public abstract class AbstractResource implements Resource {
|
|||
/**
|
||||
* This implementation checks whether a File can be opened,
|
||||
* falling back to whether an InputStream can be opened.
|
||||
* This will cover both directories and content resources.
|
||||
* <p>This will cover both directories and content resources.
|
||||
*/
|
||||
@Override
|
||||
public boolean exists() {
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ public interface Resource extends InputStreamSource {
|
|||
|
||||
/**
|
||||
* Determine whether this resource represents a file in a file system.
|
||||
* A value of {@code true} strongly suggests (but does not guarantee)
|
||||
* <p>A value of {@code true} strongly suggests (but does not guarantee)
|
||||
* that a {@link #getFile()} call will succeed.
|
||||
* <p>This is conservatively {@code false} by default.
|
||||
* @since 5.0
|
||||
|
|
|
|||
Loading…
Reference in New Issue