diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/resource/FileResource.java b/jetty-util/src/main/java/org/eclipse/jetty/util/resource/FileResource.java index 0a90b4e2073..10804ddae72 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/resource/FileResource.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/resource/FileResource.java @@ -46,7 +46,9 @@ import org.eclipse.jetty.util.log.Logger; * insensitivity). By default this is turned on, or it can be controlled * by calling the static method @see FileResource#setCheckAliases(boolean) * + * @deprecated Use {@link PathResource} */ +@Deprecated public class FileResource extends Resource { private static final Logger LOG = Log.getLogger(FileResource.class);