commit | 3b0e5981cc45ada350efc916f62d1cbc3db47a73 | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Wed Jul 15 10:10:40 2020 +0200 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Wed Jul 15 10:17:00 2020 +0200 |
tree | dbc86293e22af3a2fa740d603d747313ce2cb998 | |
parent | 791ec1cc31ae65dc742246c4770e6fac9cf198fb [diff] |
Remove redundant warning suppressors in Annis query processor Change-Id: I2930583f1c0d6879f2822589f806a8d42f4ae2bf
diff --git a/src/main/java/de/ids_mannheim/korap/query/serialize/AnnisQueryProcessor.java b/src/main/java/de/ids_mannheim/korap/query/serialize/AnnisQueryProcessor.java index 5689705..4ccf2a6 100644 --- a/src/main/java/de/ids_mannheim/korap/query/serialize/AnnisQueryProcessor.java +++ b/src/main/java/de/ids_mannheim/korap/query/serialize/AnnisQueryProcessor.java
@@ -995,7 +995,6 @@ } - @SuppressWarnings("unchecked") private Map<String, Object> parseOperatorNode (ParseTree operatorNode) { Map<String, Object> relation = null; String operator = getNodeCat(operatorNode); @@ -1131,7 +1130,6 @@ } - @SuppressWarnings("unchecked") private Map<String, Object> parseEdgeSpec (ParseTree edgeSpec) { List<ParseTree> annos = getChildrenWithCat(edgeSpec, "edgeAnno"); if (annos.size() != 1) {