From add718d75c1f4a281b5eac33d76b38e688cfdb10 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Mon, 16 Feb 2015 18:10:37 +0100 Subject: [PATCH] Polish EnumerablePropertySource --- .../springframework/core/env/EnumerablePropertySource.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/spring-core/src/main/java/org/springframework/core/env/EnumerablePropertySource.java b/spring-core/src/main/java/org/springframework/core/env/EnumerablePropertySource.java index 79541483a7..00274a692e 100644 --- a/spring-core/src/main/java/org/springframework/core/env/EnumerablePropertySource.java +++ b/spring-core/src/main/java/org/springframework/core/env/EnumerablePropertySource.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2014 the original author or authors. + * Copyright 2002-2015 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. @@ -30,7 +30,7 @@ import org.springframework.util.ObjectUtils; * consider caching the result of {@link #getPropertyNames()} to fully exploit this * performance opportunity. * - * Most framework-provided {@code PropertySource} implementations are enumerable; + *

Most framework-provided {@code PropertySource} implementations are enumerable; * a counter-example would be {@code JndiPropertySource} where, due to the * nature of JNDI it is not possible to determine all possible property names at * any given time; rather it is only possible to try to access a property @@ -47,7 +47,6 @@ public abstract class EnumerablePropertySource extends PropertySource { super(name, source); } - @SuppressWarnings("unchecked") protected EnumerablePropertySource(String name) { super(name); }