Skip to content

Commit

Permalink
Applies small refactoring
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Schnicke <[email protected]>
  • Loading branch information
FrankSchnicke committed Nov 22, 2023
1 parent 69eece1 commit d5726f3
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ private void setGlobalAssetId(String value) {
}

private List<SpecificAssetIdValue> getSpecificAssetIdValue(List<SpecificAssetId> specificAssetIds) {
return specificAssetIds.stream().map(SpecificAssetId -> new SpecificAssetIdValue(SpecificAssetId)).collect(Collectors.toList());
return specificAssetIds.stream().map(specificAssetId -> new SpecificAssetIdValue(specificAssetId)).collect(Collectors.toList());
}
}
Original file line number Diff line number Diff line change
@@ -1 +1,35 @@
{"modelType":"Submodel","kind":"Instance","id":"TestID","category":"TestCategory","submodelElements":[{"modelType":"Property","value":"test","idShort":"test"}],"semanticId":{"keys":[{"type":null,"value":"123"}],"type":null},"description":[{"language":"de-DE","text":"Test"}],"displayName":[{"language":"de-DE","text":"Test"}], "idShort":"test"}
{
"modelType": "Submodel",
"kind": "Instance",
"id": "TestID",
"category": "TestCategory",
"submodelElements": [
{
"modelType": "Property",
"value": "test",
"idShort": "test"
}
],
"semanticId": {
"keys": [
{
"type": null,
"value": "123"
}
],
"type": null
},
"description": [
{
"language": "de-DE",
"text": "Test"
}
],
"displayName": [
{
"language": "de-DE",
"text": "Test"
}
],
"idShort": "test"
}

0 comments on commit d5726f3

Please sign in to comment.