Skip to content

Commit

Permalink
follow naming convention and ignore eclipse warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Edvard Fonsell committed Aug 29, 2014
1 parent 9f237b9 commit 1a2ef9b
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
import org.springframework.core.io.support.ResourcePropertySource;

public class NflowStandardEnvironment extends StandardEnvironment {
private static final Logger log = getLogger(NflowStandardEnvironment.class);
@SuppressWarnings("hiding")
private static final Logger logger = getLogger(NflowStandardEnvironment.class);

public NflowStandardEnvironment(Map<String, Object> overrideProperties) {
getPropertySources().addLast(new MapPropertySource("override", overrideProperties));
Expand Down Expand Up @@ -49,7 +50,7 @@ private void addPropertyResource(String name) {
try {
getPropertySources().addLast(new ResourcePropertySource(name, getClass().getClassLoader()));
} catch (IOException e) {
log.info("Failed to initialize environment-specific properties from resource {}", name);
logger.info("Failed to initialize environment-specific properties from resource {}", name);
}
}
}

0 comments on commit 1a2ef9b

Please sign in to comment.