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-2470: add trace of failed modification"
[controller.git]
/
opendaylight
/
adsal
/
northbound
/
hosttracker
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
hosttracker
/
northbound
/
HostTrackerNorthbound.java
diff --git
a/opendaylight/adsal/northbound/hosttracker/src/main/java/org/opendaylight/controller/hosttracker/northbound/HostTrackerNorthbound.java
b/opendaylight/adsal/northbound/hosttracker/src/main/java/org/opendaylight/controller/hosttracker/northbound/HostTrackerNorthbound.java
index d7579c82e10bdd378dd603bfee9c4fde1d0ad414..3769cc7818e8e2268dc0f1a11f07cad8f5103ff8 100644
(file)
--- a/
opendaylight/adsal/northbound/hosttracker/src/main/java/org/opendaylight/controller/hosttracker/northbound/HostTrackerNorthbound.java
+++ b/
opendaylight/adsal/northbound/hosttracker/src/main/java/org/opendaylight/controller/hosttracker/northbound/HostTrackerNorthbound.java
@@
-83,7
+83,9
@@
public class HostTrackerNorthbound {
@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() {