Skip to content

Commit

Permalink
Polish contribution
Browse files Browse the repository at this point in the history
Closes gh-7914
  • Loading branch information
snicoll committed Jan 15, 2017
1 parent a6756c9 commit f21c767
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Expand Up @@ -72,7 +72,8 @@ public Object set(@PathVariable String name,
return getDisabledResponse();
}
String level = configuration.get("configuredLevel");
this.delegate.setLogLevel(name, level == null ? null : LogLevel.valueOf(level.toUpperCase()));
LogLevel logLevel = level == null ? null : LogLevel.valueOf(level.toUpperCase());
this.delegate.setLogLevel(name, logLevel);
return HttpEntity.EMPTY;
}

Expand Down
@@ -1,6 +1,5 @@
/*
* Copyright 2012-2017 the original author or authors.
* Copyright 2016-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.
Expand Down Expand Up @@ -63,7 +62,6 @@
*
* @author Ben Hale
* @author Phillip Webb
* @author Kazuki Shimizu
*/
@RunWith(SpringRunner.class)
@SpringBootTest
Expand Down

0 comments on commit f21c767

Please sign in to comment.