Commit 3d619da5 authored by Phillip Webb's avatar Phillip Webb

Polish

parent 71601c3b
...@@ -304,7 +304,11 @@ public class SpringBootPluginExtension { ...@@ -304,7 +304,11 @@ public class SpringBootPluginExtension {
DIR(new Layouts.Expanded()), 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()); NONE(new Layouts.None());
......
...@@ -158,7 +158,7 @@ public final class Layouts { ...@@ -158,7 +158,7 @@ public final class Layouts {
/** /**
* Module layout (designed to be used as a "plug-in"). * 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 @Deprecated
public static class Module implements Layout { public static class Module implements Layout {
......
...@@ -348,7 +348,7 @@ public class RepackageMojo extends AbstractDependencyFilterMojo { ...@@ -348,7 +348,7 @@ public class RepackageMojo extends AbstractDependencyFilterMojo {
/** /**
* Module Layout. * 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()), @Deprecated MODULE(new Layouts.Module()),
......
/*
* 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 {
}
/*
* 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);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment