mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Polish
This commit is contained in:
parent
71601c3b96
commit
3d619da553
@ -304,7 +304,11 @@ public class SpringBootPluginExtension {
|
||||
|
||||
DIR(new Layouts.Expanded()),
|
||||
|
||||
@SuppressWarnings("deprecation") MODULE(new Layouts.Module()),
|
||||
/**
|
||||
* Module Layout.
|
||||
* @deprecated as of 1.5 in favor of a custom {@link LayoutFactory}
|
||||
*/
|
||||
@Deprecated MODULE(new Layouts.Module()),
|
||||
|
||||
NONE(new Layouts.None());
|
||||
|
||||
|
@ -158,7 +158,7 @@ public final class Layouts {
|
||||
|
||||
/**
|
||||
* Module layout (designed to be used as a "plug-in").
|
||||
* @deprecated since 1.5 in favour of a custom {@link LayoutFactory}
|
||||
* @deprecated as of 1.5 in favor of a custom {@link LayoutFactory}
|
||||
*/
|
||||
@Deprecated
|
||||
public static class Module implements Layout {
|
||||
|
@ -348,7 +348,7 @@ public class RepackageMojo extends AbstractDependencyFilterMojo {
|
||||
|
||||
/**
|
||||
* Module Layout.
|
||||
* @deprecated since 1.5 in favour of a custom {@link LayoutFactory}
|
||||
* @deprecated as of 1.5 in favor of a custom {@link LayoutFactory}
|
||||
*/
|
||||
@Deprecated MODULE(new Layouts.Module()),
|
||||
|
||||
|
23
spring-boot/src/main/java/org/springframework/boot/env/DunnoEnumerablePropertySource.java
vendored
Normal file
23
spring-boot/src/main/java/org/springframework/boot/env/DunnoEnumerablePropertySource.java
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Copyright 2012-2017 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.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.env;
|
||||
/**
|
||||
* @author pwebb
|
||||
*/
|
||||
public interface DunnoEnumerablePropertySource {
|
||||
|
||||
}
|
28
spring-boot/src/main/java/org/springframework/boot/env/DunnoPropertySource.java
vendored
Normal file
28
spring-boot/src/main/java/org/springframework/boot/env/DunnoPropertySource.java
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
/*
|
||||
* Copyright 2012-2017 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.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.boot.env;
|
||||
|
||||
/**
|
||||
* @author pwebb
|
||||
*/
|
||||
public interface DunnoPropertySource {
|
||||
|
||||
boolean containsProperty(String name);
|
||||
|
||||
Object getProperty(String name);
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user