Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanglei1949 committed Sep 21, 2023
1 parent 79a403f commit 1268288
Showing 1 changed file with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,16 @@ public static final void builderGraphElementFromYaml(
for (Object property : propertyNodes) {
if (property instanceof Map) {
Map<String, Object> propertyMap = (Map<String, Object>) property;
String propertyName = (String) Objects.requireNonNull(
propertyMap.get("property_name"),
"property_name not exist in yaml config");
int propertyId = (int) Objects.requireNonNull(
propertyMap.get("property_id"),
"property_id not exist in yaml config");
String propertyName =
(String)
Objects.requireNonNull(
propertyMap.get("property_name"),
"property_name not exist in yaml config");
int propertyId =
(int)
Objects.requireNonNull(
propertyMap.get("property_id"),
"property_id not exist in yaml config");
propNameToIdMap.put(propertyName, propertyId);
propertyList.add(
new DefaultGraphProperty(
Expand Down

0 comments on commit 1268288

Please sign in to comment.