WALA/com.ibm.wala.core.testdata/src/slice
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
..
A.java add missing copyright headers 2013-05-22 15:39:19 -07:00
B.java merge 2013-06-25 11:57:37 -04:00
JustThrow.java cross-cutting changes to make more of WALA runnable with TeaVM. The biggest change is refactoring to AnalysisCache and friends; since TeaVM does not support SoftReference, I needed to add a layer of interfaces so that I can use a more simpleminded caching implementation for TeaVM. There are other changes to Module and friends to break connections with File and URL, which also cause TeaVM grief. I also organized imports in many places to remove unused types that caused trouble. 2017-02-02 20:33:27 -05:00
Slice1.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
Slice2.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
Slice3.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
Slice4.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
Slice5.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
Slice6.java Fix 19 Eclipse warnings about unnecessary casts 2017-03-23 12:28:14 -05:00
Slice7.java Fix nearly all Eclipse warnings about using raw types 2017-07-12 10:39:06 -07:00
Slice8.java slicer bug fix: properly include the actual call statement (along with various PARAM_CALLER statements) in the set of call statements 2010-04-19 23:03:47 +00:00
Slice9.java add test case for mailing list issue 2017-04-16 20:40:41 -07:00
TestArrays.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestCD1.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestCD2.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestCD3.java Revert "Suppress 157 Eclipse warnings about unused exception parameters" 2017-03-23 16:32:00 -05:00
TestCD4.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestCD5.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestCD6.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestFields.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestGlobal.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestId.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestInetAddr.java add a test, fix some warnings 2010-05-16 15:20:41 +00:00
TestMessageFormat.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestMultiTarget.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestPrimGetterSetter.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestPrimGetterSetter2.java Add slicer test 2015-12-14 10:34:10 -08:00
TestRecursion.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestThin1.java Convert all Java source files to use Unix line endings; no semantic change 2012-09-04 15:56:05 -07:00
TestThrowCatch.java cross-cutting changes to make more of WALA runnable with TeaVM. The biggest change is refactoring to AnalysisCache and friends; since TeaVM does not support SoftReference, I needed to add a layer of interfaces so that I can use a more simpleminded caching implementation for TeaVM. There are other changes to Module and friends to break connections with File and URL, which also cause TeaVM grief. I also organized imports in many places to remove unused types that caused trouble. 2017-02-02 20:33:27 -05:00