WALA/com.ibm.wala.cast.java
Ben Liblit e316471d88 Fix nearly all Eclipse warnings about using raw types
Along the way, I also converted many "for (;;)" loops into modern
"for (:)" loops.  I didn't systematically look for all opportunities
to do this, though.  I merely made this change where I was already
converting raw Iterator uses into modern Iterator<...> uses.

Better use of generics also allowed many casts to become statically
redundant.  I have removed all such redundant casts.

Only three raw-types warnings remain after this batch of fixes.  All
three involve raw uses of CallGraphBuilder.  I've tried to fix these
too, but it quickly snowballs into a cascade of changes that may or
may not eventually reach a statically-type-save fixed point.  I may
give these last few problem areas another go in the future.  For now,
though, the hundreds of other fixes seem worth keeping even if there
are a few stragglers.

This commit may change some public APIs, but only by making weaker
type signatures stronger by replacing raw types with generic types.
For example, we may change something like "Set" into "Set<String>",
but we're not adding new arguments, changing any
underlying (post-generics-erasure) types, etc.
2017-07-12 10:39:06 -07:00
..
.launchConfigurations launch configurations for download scripts 2007-02-08 20:35:48 +00:00
.settings Enable Eclipse Oxygen's new "unlikely argument types" diagnostics 2017-07-08 13:22:00 -07:00
META-INF Externalize bundle names and vendors 2017-06-07 17:42:11 +02:00
OSGI-INF/l10n Externalize bundle names and vendors 2017-06-07 17:42:11 +02:00
src/com/ibm/wala/cast/java Fix nearly all Eclipse warnings about using raw types 2017-07-12 10:39:06 -07:00
.classpath Use consistent Java versions, usually 1.7 2016-11-29 21:29:30 -06:00
.cvsignore Initial contribution of core script analysis code 2007-02-02 17:20:09 +00:00
.project Initial contribution of core script analysis code 2007-02-02 17:20:09 +00:00
build.properties Externalize bundle names and vendors 2017-06-07 17:42:11 +02:00
mvncentral.xml update version to 1.4.3-SNAPSHOT 2017-04-19 09:19:09 -07:00
pom.xml update version to 1.4.3-SNAPSHOT 2017-04-19 09:19:09 -07:00