Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
config-manager-facade-xml: final parameters
[controller.git]
/
opendaylight
/
config
/
config-manager-facade-xml
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
config
/
facade
/
xml
/
mapping
/
attributes
/
mapping
/
ObjectNameAttributeMappingStrategy.java
diff --git
a/opendaylight/config/config-manager-facade-xml/src/main/java/org/opendaylight/controller/config/facade/xml/mapping/attributes/mapping/ObjectNameAttributeMappingStrategy.java
b/opendaylight/config/config-manager-facade-xml/src/main/java/org/opendaylight/controller/config/facade/xml/mapping/attributes/mapping/ObjectNameAttributeMappingStrategy.java
index 73c8f47b5861a92de64467c55888bad23951a60a..3874c3a64118f8a389e831864bc00bdca5a579d2 100644
(file)
--- a/
opendaylight/config/config-manager-facade-xml/src/main/java/org/opendaylight/controller/config/facade/xml/mapping/attributes/mapping/ObjectNameAttributeMappingStrategy.java
+++ b/
opendaylight/config/config-manager-facade-xml/src/main/java/org/opendaylight/controller/config/facade/xml/mapping/attributes/mapping/ObjectNameAttributeMappingStrategy.java
@@
-21,13
+21,13
@@
public class ObjectNameAttributeMappingStrategy extends
private final String namespace;
private final String namespace;
- public ObjectNameAttributeMappingStrategy(
SimpleType<?> openType,
String namespace) {
+ public ObjectNameAttributeMappingStrategy(
final SimpleType<?> openType, final
String namespace) {
super(openType);
this.namespace = namespace;
}
@Override
super(openType);
this.namespace = namespace;
}
@Override
- public Optional<MappedDependency> mapAttribute(Object value) {
+ public Optional<MappedDependency> mapAttribute(
final
Object value) {
if (value == null){
return Optional.absent();
}
if (value == null){
return Optional.absent();
}
@@
-50,7
+50,7
@@
public class ObjectNameAttributeMappingStrategy extends
public static class MappedDependency {
private final String namespace, serviceName, refName;
public static class MappedDependency {
private final String namespace, serviceName, refName;
- public MappedDependency(
String namespace, String serviceName,
String refName) {
+ public MappedDependency(
final String namespace, final String serviceName, final
String refName) {
this.serviceName = serviceName;
this.refName = refName;
this.namespace = namespace;
this.serviceName = serviceName;
this.refName = refName;
this.namespace = namespace;