Skip to content

Commit 1f3892c

Browse files
authored
remove unused filter thrift nappers (#721)
1 parent 2e35a40 commit 1f3892c

File tree

1 file changed

+0
-16
lines changed
  • src/main/java/com/uber/cadence/internal/compatibility/thrift

1 file changed

+0
-16
lines changed

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

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -307,22 +307,6 @@ static WorkflowExecutionFilter workflowExecutionFilter(
307307
return res;
308308
}
309309

310-
static WorkflowTypeFilter workflowTypeFilter(com.uber.cadence.api.v1.WorkflowTypeFilter t) {
311-
if (t == null || t == com.uber.cadence.api.v1.WorkflowTypeFilter.getDefaultInstance()) {
312-
return null;
313-
}
314-
WorkflowTypeFilter res = new WorkflowTypeFilter();
315-
res.setName(t.getName());
316-
return res;
317-
}
318-
319-
static WorkflowExecutionCloseStatus statusFilter(com.uber.cadence.api.v1.StatusFilter t) {
320-
if (t == null || t == com.uber.cadence.api.v1.StatusFilter.getDefaultInstance()) {
321-
return null;
322-
}
323-
return workflowExecutionCloseStatus(t.getStatus());
324-
}
325-
326310
static Map<String, ByteBuffer> payloadMap(Map<String, com.uber.cadence.api.v1.Payload> t) {
327311
if (t == null) {
328312
return null;

0 commit comments

Comments
 (0)