Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Remove yang-test
[controller.git]
/
opendaylight
/
config
/
config-manager-facade-xml
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
config
/
facade
/
xml
/
mapping
/
attributes
/
fromxml
/
SimpleCompositeAttributeReadingStrategy.java
diff --git
a/opendaylight/config/config-manager-facade-xml/src/main/java/org/opendaylight/controller/config/facade/xml/mapping/attributes/fromxml/SimpleCompositeAttributeReadingStrategy.java
b/opendaylight/config/config-manager-facade-xml/src/main/java/org/opendaylight/controller/config/facade/xml/mapping/attributes/fromxml/SimpleCompositeAttributeReadingStrategy.java
index 211dba990d551141c7099d4eb4f4fe5ef4d84053..764629bf7c8e8faa24670e954922516eaf58e59e 100644
(file)
--- a/
opendaylight/config/config-manager-facade-xml/src/main/java/org/opendaylight/controller/config/facade/xml/mapping/attributes/fromxml/SimpleCompositeAttributeReadingStrategy.java
+++ b/
opendaylight/config/config-manager-facade-xml/src/main/java/org/opendaylight/controller/config/facade/xml/mapping/attributes/fromxml/SimpleCompositeAttributeReadingStrategy.java
@@
-15,20
+15,20
@@
public class SimpleCompositeAttributeReadingStrategy extends SimpleAttributeRead
private final String key;
private final String key;
- public SimpleCompositeAttributeReadingStrategy(
String nullableDefault,
String key) {
+ public SimpleCompositeAttributeReadingStrategy(
final String nullableDefault, final
String key) {
super(nullableDefault);
this.key = key;
}
@Override
super(nullableDefault);
this.key = key;
}
@Override
- protected Object postprocessParsedValue(String textContent) {
+ protected Object postprocessParsedValue(
final
String textContent) {
HashMap<String,String> map = Maps.newHashMap();
map.put(key, textContent);
return map;
}
@Override
HashMap<String,String> map = Maps.newHashMap();
map.put(key, textContent);
return map;
}
@Override
- protected Object postprocessNullableDefault(String nullableDefault) {
+ protected Object postprocessNullableDefault(
final
String nullableDefault) {
return nullableDefault == null ? null : postprocessParsedValue(nullableDefault);
}
}
return nullableDefault == null ? null : postprocessParsedValue(nullableDefault);
}
}