Skip to content

Commit 38392f9

Browse files
authored
get rid of some array proto mappers (#723)
1 parent 0ffbe74 commit 38392f9

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

src/main/java/com/uber/cadence/internal/compatibility/proto/TypeMapper.java

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -643,27 +643,4 @@ static Map<String, IndexedValueType> indexedValueTypeMap(
643643
}
644644
return v;
645645
}
646-
647-
static List<WorkflowExecutionInfo> workflowExecutionInfoArray(
648-
List<com.uber.cadence.WorkflowExecutionInfo> t) {
649-
if (t == null) {
650-
return Collections.emptyList();
651-
}
652-
List<WorkflowExecutionInfo> v = new ArrayList<>();
653-
for (int i = 0; i < t.size(); i++) {
654-
v.add(workflowExecutionInfo(t.get(i)));
655-
}
656-
return v;
657-
}
658-
659-
static List<Domain> describeDomainResponseArray(List<com.uber.cadence.DescribeDomainResponse> t) {
660-
if (t == null) {
661-
return Collections.emptyList();
662-
}
663-
List<Domain> v = new ArrayList<>();
664-
for (int i = 0; i < t.size(); i++) {
665-
v.add(describeDomainResponseDomain(t.get(i)));
666-
}
667-
return v;
668-
}
669646
}

0 commit comments

Comments
 (0)