no warnings in com.ibm.wala.cast

This commit is contained in:
Juergen Graf 2013-03-12 00:29:01 +01:00
parent 80920368ef
commit 9b1cf1ae07
6 changed files with 18 additions and 1 deletions

View File

@ -1,5 +1,13 @@
#Thu Feb 03 10:12:26 EST 2011
eclipse.preferences.version=1 eclipse.preferences.version=1
org.eclipse.jdt.core.builder.cleanOutputFolder=clean
org.eclipse.jdt.core.builder.duplicateResourceTask=warning
org.eclipse.jdt.core.builder.invalidClasspath=abort
org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore
org.eclipse.jdt.core.builder.resourceCopyExclusionFilter=,*.g
org.eclipse.jdt.core.circularClasspath=error
org.eclipse.jdt.core.classpath.exclusionPatterns=enabled
org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled
org.eclipse.jdt.core.classpath.outputOverlappingAnotherSource=error
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
@ -7,6 +15,7 @@ org.eclipse.jdt.core.compiler.compliance=1.5
org.eclipse.jdt.core.compiler.debug.lineNumber=generate org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.maxProblemPerUnit=100
org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.autoboxing=ignore org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
@ -328,3 +337,5 @@ org.eclipse.jdt.core.formatter.use_on_off_tags=false
org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
org.eclipse.jdt.core.incompatibleJDKLevel=ignore
org.eclipse.jdt.core.incompleteClasspath=error

View File

@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.jdt.launching.PREF_STRICTLY_COMPATIBLE_JRE_NOT_AVAILABLE=ignore

View File

@ -595,6 +595,7 @@ public abstract class AstSSAPropagationCallGraphBuilder extends SSAPropagationCa
* {@link AstConstraintVisitor#handleRootLexicalReference(String, String, CGNode)} * {@link AstConstraintVisitor#handleRootLexicalReference(String, String, CGNode)}
* . * .
*/ */
@SuppressWarnings("unused")
private void doLexicalPointerKeys(boolean funargsOnly) { private void doLexicalPointerKeys(boolean funargsOnly) {
LexicalScopingResolver r = (LexicalScopingResolver) node.getContext().get(LexicalScopingResolverContexts.RESOLVER); LexicalScopingResolver r = (LexicalScopingResolver) node.getContext().get(LexicalScopingResolverContexts.RESOLVER);
for (int i = 0; i < accesses.length; i++) { for (int i = 0; i < accesses.length; i++) {

View File

@ -39,6 +39,7 @@ import com.ibm.wala.util.intset.OrdinalSet;
* as necessary to handle interprocedural lexical scoping (specifically, to * as necessary to handle interprocedural lexical scoping (specifically, to
* handle closure creation when a function escapes its allocating scope) * handle closure creation when a function escapes its allocating scope)
*/ */
@SuppressWarnings("deprecation")
abstract public class ScopeMappingInstanceKeys implements InstanceKeyFactory { abstract public class ScopeMappingInstanceKeys implements InstanceKeyFactory {
/** /**

View File

@ -30,6 +30,7 @@ import com.ibm.wala.util.warnings.Warning;
* basic abstract class loader implementation * basic abstract class loader implementation
* *
*/ */
@SuppressWarnings("deprecation")
public abstract class CAstAbstractLoader implements IClassLoader { public abstract class CAstAbstractLoader implements IClassLoader {
/** /**

View File

@ -19,6 +19,7 @@ import com.ibm.wala.util.collections.FilterIterator;
import com.ibm.wala.util.collections.HashMapFactory; import com.ibm.wala.util.collections.HashMapFactory;
import com.ibm.wala.util.graph.traverse.DFSDiscoverTimeIterator; import com.ibm.wala.util.graph.traverse.DFSDiscoverTimeIterator;
@SuppressWarnings("deprecation")
public class CAstFunctions { public class CAstFunctions {
public static CAstNode findIf(CAstNode tree, Filter<CAstNode> f) { public static CAstNode findIf(CAstNode tree, Filter<CAstNode> f) {