Often useful in testing scenarios when creating - * anonymous implementations that never query an actual source, but rather return - * hard-coded values. + *
Often useful in testing scenarios when creating anonymous implementations that
+ * never query an actual source but rather return hard-coded values.
*/
@SuppressWarnings("unchecked")
public PropertySource(String name) {
@@ -103,9 +102,9 @@ public abstract class PropertySource This implementation simply checks for a null return value
- * from {@link #getProperty(String)}. Subclasses may wish to
- * implement a more efficient algorithm if possible.
+ * This implementation simply checks for a {@code null} return value
+ * from {@link #getProperty(String)}. Subclasses may wish to implement
+ * a more efficient algorithm if possible.
* @param name the property name to find
*/
public boolean containsProperty(String name) {
@@ -146,7 +145,7 @@ public abstract class PropertySource This variable verbosity is useful as a property source such as system properties
* or environment variables may contain an arbitrary number of property pairs,
@@ -221,8 +220,7 @@ public abstract class PropertySource