Code Review
/
clamp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix the CDS calls
[clamp.git]
/
src
/
main
/
java
/
org
/
onap
/
clamp
/
tosca
/
DictionaryService.java
diff --git
a/src/main/java/org/onap/clamp/tosca/DictionaryService.java
b/src/main/java/org/onap/clamp/tosca/DictionaryService.java
index
98e3516
..
6172641
100644
(file)
--- a/
src/main/java/org/onap/clamp/tosca/DictionaryService.java
+++ b/
src/main/java/org/onap/clamp/tosca/DictionaryService.java
@@
-49,7
+49,7
@@
public class DictionaryService {
}
public Dictionary saveOrUpdateDictionary(Dictionary dictionary) {
}
public Dictionary saveOrUpdateDictionary(Dictionary dictionary) {
- return dictionaryRepository.save(dictionary);
+ return dictionaryRepository.save
AndFlush
(dictionary);
}
/**
}
/**
@@
-76,7
+76,7
@@
public class DictionaryService {
});
dict.setDictionaryElements(updatedDictionaryElements);
}
});
dict.setDictionaryElements(updatedDictionaryElements);
}
- return dictionaryRepository.save(dict);
+ return dictionaryRepository.save
AndFlush
(dict);
}
}
@@
-124,7
+124,7
@@
public class DictionaryService {
if (element != null) {
Dictionary dict = getDictionary(dictionaryName);
dict.removeDictionaryElement(element);
if (element != null) {
Dictionary dict = getDictionary(dictionaryName);
dict.removeDictionaryElement(element);
- dictionaryRepository.save(dict);
+ dictionaryRepository.save
AndFlush
(dict);
}
}
}
}
}
}