fix some generics
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2194 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
parent
7611f618e7
commit
11e68af500
|
@ -136,7 +136,7 @@ public class SynchronizedBlockDuplicator extends
|
|||
return null;
|
||||
}
|
||||
|
||||
protected CAstNode copyNodes(CAstNode n, RewriteContext<UnwindKey> c, Map nodeMap) {
|
||||
protected CAstNode copyNodes(CAstNode n, RewriteContext<UnwindKey> c, Map<Pair, CAstNode> nodeMap) {
|
||||
String varName;
|
||||
if (n instanceof CAstOperator) {
|
||||
return n;
|
||||
|
|
|
@ -1999,8 +1999,9 @@ public class PolyglotJava2CAstTranslator implements TranslatorToCAst {
|
|||
fPI = pi;
|
||||
}
|
||||
|
||||
public Collection getCatchTargets(Type label) {
|
||||
return Collections.singleton(Pair.make(fREType, CAstControlFlowMap.EXCEPTION_TO_EXIT));
|
||||
public Collection<Pair<Type, Object>> getCatchTargets(Type label) {
|
||||
Collection<Pair<Type, Object>> result = Collections.singleton(Pair.<Type,Object>make(fREType, CAstControlFlowMap.EXCEPTION_TO_EXIT));
|
||||
return result;
|
||||
}
|
||||
|
||||
public CodeInstance getEnclosingMethod() {
|
||||
|
|
Loading…
Reference in New Issue