Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "BUG-2475: Do not issue garbage collection on when pushing configurations"
[controller.git]
/
opendaylight
/
adsal
/
northbound
/
statistics
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
statistics
/
northbound
/
StatisticsNorthbound.java
diff --git
a/opendaylight/adsal/northbound/statistics/src/main/java/org/opendaylight/controller/statistics/northbound/StatisticsNorthbound.java
b/opendaylight/adsal/northbound/statistics/src/main/java/org/opendaylight/controller/statistics/northbound/StatisticsNorthbound.java
index 4175f1e3c49984c7d90ac03b2207df946c9f7e3a..ad9d1269e50d26dde72dd579d4eaa51d00447d4b 100644
(file)
--- a/
opendaylight/adsal/northbound/statistics/src/main/java/org/opendaylight/controller/statistics/northbound/StatisticsNorthbound.java
+++ b/
opendaylight/adsal/northbound/statistics/src/main/java/org/opendaylight/controller/statistics/northbound/StatisticsNorthbound.java
@@
-70,7
+70,9
@@
public class StatisticsNorthbound {
}
@Context
public void setSecurityContext(SecurityContext context) {
}
@Context
public void setSecurityContext(SecurityContext context) {
- if (context != null && context.getUserPrincipal() != null) username = context.getUserPrincipal().getName();
+ if (context != null && context.getUserPrincipal() != null) {
+ username = context.getUserPrincipal().getName();
+ }
}
protected String getUserName() {
}
protected String getUserName() {