Code Review
/
aai
/
model-loader.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Sonar Major: Replace the type specification.
[aai/model-loader.git]
/
src
/
main
/
java
/
org
/
onap
/
aai
/
modelloader
/
entity
/
model
/
ModelArtifactHandler.java
diff --git
a/src/main/java/org/onap/aai/modelloader/entity/model/ModelArtifactHandler.java
b/src/main/java/org/onap/aai/modelloader/entity/model/ModelArtifactHandler.java
index
47d93e7
..
3a5b543
100644
(file)
--- a/
src/main/java/org/onap/aai/modelloader/entity/model/ModelArtifactHandler.java
+++ b/
src/main/java/org/onap/aai/modelloader/entity/model/ModelArtifactHandler.java
@@
-57,7
+57,7
@@
public class ModelArtifactHandler extends ArtifactHandler {
// Push the ordered list of model artifacts to A&AI. If one fails, we need to roll back
// the changes.
// Push the ordered list of model artifacts to A&AI. If one fails, we need to roll back
// the changes.
- List<AbstractModelArtifact> completedModels = new ArrayList<
AbstractModelArtifact
>();
+ List<AbstractModelArtifact> completedModels = new ArrayList<>();
AaiRestClient aaiClient = new AaiRestClient(config);
for (Artifact art : sortedModelArtifacts) {
AaiRestClient aaiClient = new AaiRestClient(config);
for (Artifact art : sortedModelArtifacts) {