Skip to content

Commit a7ac2c1

Browse files
authored
clean query proto mappers (#715)
1 parent ae43a42 commit a7ac2c1

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

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

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -610,15 +610,6 @@ static TaskListPartitionMetadata taskListPartitionMetadata(
610610
.build();
611611
}
612612

613-
static QueryRejected queryRejected(com.uber.cadence.QueryRejected t) {
614-
if (t == null) {
615-
return null;
616-
}
617-
return QueryRejected.newBuilder()
618-
.setCloseStatus(workflowExecutionCloseStatus(t.getCloseStatus()))
619-
.build();
620-
}
621-
622613
static List<PollerInfo> pollerInfoArray(List<com.uber.cadence.PollerInfo> t) {
623614
if (t == null) {
624615
return Collections.emptyList();
@@ -711,16 +702,5 @@ static List<TaskListPartitionMetadata> taskListPartitionMetadataArray(
711702
return v;
712703
}
713704

714-
static Map<String, WorkflowQuery> WorkflowQueryMap(
715-
Map<String, com.uber.cadence.WorkflowQuery> t) {
716-
if (t == null) {
717-
return Collections.emptyMap();
718-
}
719-
Map<String, WorkflowQuery> v = new HashMap<>();
720-
for (String key : t.keySet()) {
721-
v.put(key, workflowQuery(t.get(key)));
722-
}
723-
return v;
724-
}
725705

726706
}

0 commit comments

Comments
 (0)