Fix Javadoc errors
See gh-27480
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2018 the original author or authors.
|
||||
* Copyright 2002-2021 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.
|
||||
@@ -110,7 +110,7 @@ import org.springframework.util.StringUtils;
|
||||
* evaluate true:
|
||||
*
|
||||
* <pre class="code">
|
||||
* CommandLinePropertySource<?> ps = ...
|
||||
* CommandLinePropertySource<?> ps = ...
|
||||
* assert ps.containsProperty("o1") == true;
|
||||
* assert ps.containsProperty("o2") == true;
|
||||
* assert ps.containsProperty("o3") == false;
|
||||
@@ -149,7 +149,7 @@ import org.springframework.util.StringUtils;
|
||||
* will evaluate true:
|
||||
*
|
||||
* <pre class="code">
|
||||
* CommandLinePropertySource<?> ps = ...
|
||||
* CommandLinePropertySource<?> ps = ...
|
||||
* assert ps.containsProperty("o1") == true;
|
||||
* assert ps.containsProperty("o2") == true;
|
||||
* assert ps.containsProperty("nonOptionArgs") == true;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2018 the original author or authors.
|
||||
* Copyright 2002-2021 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.
|
||||
@@ -42,7 +42,7 @@ import org.springframework.util.StringUtils;
|
||||
* parser.accepts("option1");
|
||||
* parser.accepts("option2").withRequiredArg();
|
||||
* OptionSet options = parser.parse(args);
|
||||
* PropertySource<?> ps = new JOptCommandLinePropertySource(options);
|
||||
* PropertySource<?> ps = new JOptCommandLinePropertySource(options);
|
||||
* // ...
|
||||
* }</pre>
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2020 the original author or authors.
|
||||
* Copyright 2002-2021 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.
|
||||
@@ -66,7 +66,7 @@ import org.springframework.util.StringUtils;
|
||||
* <h3>Typical usage</h3>
|
||||
* <pre class="code">
|
||||
* public static void main(String[] args) {
|
||||
* PropertySource<?> ps = new SimpleCommandLinePropertySource(args);
|
||||
* PropertySource<?> ps = new SimpleCommandLinePropertySource(args);
|
||||
* // ...
|
||||
* }</pre>
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user