Polishing (backported from 5.2.x)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2018 the original author or authors.
|
||||
* Copyright 2002-2020 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.
|
||||
@@ -52,7 +52,7 @@ public class FileUrlResource extends UrlResource implements WritableResource {
|
||||
/**
|
||||
* Create a new {@code FileUrlResource} based on the given URL object.
|
||||
* <p>Note that this does not enforce "file" as URL protocol. If a protocol
|
||||
* is known to be resolvable to a file,
|
||||
* is known to be resolvable to a file, it is acceptable for this purpose.
|
||||
* @param url a URL
|
||||
* @see ResourceUtils#isFileURL(URL)
|
||||
* @see #getFile()
|
||||
|
||||
Reference in New Issue
Block a user