From 1106c582a72f63f819c6b943de8fcd346b42072c Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 30 Jan 2018 15:28:28 +0100 Subject: [PATCH] Remove error-level metadata for Spring Mobile While Spring Mobile support has been removed from Spring Boot, the auto-configuration has been relocated to a separate module that uses the same keys. Flagging those keys as deprecated means that the IDE will be confused when the extra jar is present on the classpath as it advertizes, as it should, support fo them. Closes gh-11844 --- ...itional-spring-configuration-metadata.json | 90 ------------------- 1 file changed, 90 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 6103fa51567..28e91bec224 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -1256,96 +1256,6 @@ "level": "error" } }, - { - "name": "spring.mobile.devicedelegatingviewresolver.enabled", - "type": "java.lang.Boolean", - "description": "Enable device view resolver.", - "defaultValue": false, - "deprecation": { - "reason": "Spring Mobile support is no longer available.", - "level": "error" - } - }, - { - "name": "spring.mobile.devicedelegatingviewresolver.enable-fallback", - "type": "java.lang.Boolean", - "description": "Enable support for fallback resolution.", - "defaultValue": false, - "deprecation": { - "reason": "Spring Mobile support is no longer available.", - "level": "error" - } - }, - { - "name": "spring.mobile.devicedelegatingviewresolver.mobile-prefix", - "type": "java.lang.String", - "description": "Prefix that gets prepended to view names for mobile devices.", - "defaultValue": "mobile/", - "deprecation": { - "reason": "Spring Mobile support is no longer available.", - "level": "error" - } - }, - { - "name": "spring.mobile.devicedelegatingviewresolver.mobile-suffix", - "type": "java.lang.String", - "description": "Suffix that gets appended to view names for mobile devices.", - "defaultValue": "", - "deprecation": { - "reason": "Spring Mobile support is no longer available.", - "level": "error" - } - }, - { - "name": "spring.mobile.devicedelegatingviewresolver.normal-prefix", - "type": "java.lang.String", - "description": "Prefix that gets prepended to view names for normal devices.", - "defaultValue": "", - "deprecation": { - "reason": "Spring Mobile support is no longer available.", - "level": "error" - } - }, - { - "name": "spring.mobile.devicedelegatingviewresolver.normal-suffix", - "type": "java.lang.String", - "description": "Suffix that gets appended to view names for normal devices.", - "defaultValue": "", - "deprecation": { - "reason": "Spring Mobile support is no longer available.", - "level": "error" - } - }, - { - "name": "spring.mobile.devicedelegatingviewresolver.tablet-prefix", - "type": "java.lang.String", - "description": "Prefix that gets prepended to view names for tablet devices.", - "defaultValue": "tablet/", - "deprecation": { - "reason": "Spring Mobile support is no longer available.", - "level": "error" - } - }, - { - "name": "spring.mobile.devicedelegatingviewresolver.tablet-suffix", - "type": "java.lang.String", - "description": "Suffix that gets appended to view names for tablet devices.", - "defaultValue": "", - "deprecation": { - "reason": "Spring Mobile support is no longer available.", - "level": "error" - } - }, - { - "name": "spring.mobile.sitepreference.enabled", - "type": "java.lang.Boolean", - "description": "Enable SitePreferenceHandler.", - "defaultValue": true, - "deprecation": { - "reason": "Spring Mobile support is no longer available.", - "level": "error" - } - }, { "name": "spring.redis.pool.max-active", "type": "java.lang.Integer",