Issue #3584: Deprecate 'url' property of ImportControlCheck

This commit is contained in:
Jochen Van de Velde 2016-11-29 19:29:04 +01:00 committed by Roman Ivanov
parent 266b409f9c
commit a0b86b845b
2 changed files with 4 additions and 0 deletions

View File

@ -187,7 +187,9 @@ public class ImportControlCheck extends AbstractCheck implements ExternalResourc
* configuration. It will cause the url to be loaded.
* @param url the url of the file to load.
* @throws ConversionException on error loading the file.
* @deprecated use {@link #setFile(String name)} to load URLs instead
*/
@Deprecated
public void setUrl(final String url) {
// Handle empty param
if (!CommonUtils.isBlank(url)) {

View File

@ -717,6 +717,8 @@ import android.*;
<td>url</td>
<td>
URL of the file containing the import control configuration.
This property is deprecated. Please use the file property to load configurations
from URLs.
</td>
<td><a href="property_types.html#string">string</a></td>
<td><code>null</code></td>