Fork of the T.J. Watson Libraries for Analysis used by DASCA.
Go to file
Ben Liblit da5f925cab Be explicit when the proper default for a switch is to do nothing
Of course, doing nothing isn't always the right behavior.  Sometimes a
previously-unhandled value is truly unexpected and one should fail by
throwing an exception.  It may not always be clear whether an
exception or doing nothing is the right choice.  For some `switch`
statements affected by this commit, I initially guessed that throwing
an exception was the right default behavior, but was proven wrong when
doing so caused WALA regression test failures.  That's strong evidence
that the unmatched values were not really unexpected, but merely
should have been handled by doing nothing as before.
2017-08-15 14:55:34 -07:00
com.ibm.wala-feature version 1.4.4-SNAPSHOT 2017-08-06 07:25:20 -07:00
com.ibm.wala-repository version 1.4.4-SNAPSHOT 2017-08-06 07:25:20 -07:00
com.ibm.wala.cast Fix remaining "unlikely argument type" warnings from Eclipse Oxygen 2017-08-15 09:16:14 -07:00
com.ibm.wala.cast.java Fix Eclipse warnings about redundant null checks and assignments 2017-08-15 09:11:29 -07:00
com.ibm.wala.cast.java.ecj Merge branch 'master' of https://github.com/wala/WALA 2017-08-06 10:30:32 -04:00
com.ibm.wala.cast.java.test version 1.4.4-SNAPSHOT 2017-08-06 07:25:20 -07:00
com.ibm.wala.cast.java.test.data version 1.4.4-SNAPSHOT 2017-08-06 07:25:20 -07:00
com.ibm.wala.cast.js Be explicit when the proper default for a switch is to do nothing 2017-08-15 14:55:34 -07:00
com.ibm.wala.cast.js.html.nu_validator version 1.4.4-SNAPSHOT 2017-08-06 07:25:20 -07:00
com.ibm.wala.cast.js.nodejs Merge branch 'master' of https://github.com/wala/WALA 2017-08-06 10:30:32 -04:00
com.ibm.wala.cast.js.nodejs.test version 1.4.4-SNAPSHOT 2017-08-06 07:25:20 -07:00
com.ibm.wala.cast.js.rhino Semantics-preserving control-flow tweaks to fix switch warnings 2017-08-15 14:55:34 -07:00
com.ibm.wala.cast.js.rhino.test Merge branch 'master' of https://github.com/wala/WALA 2017-08-06 10:30:32 -04:00
com.ibm.wala.cast.js.test Prefer dynamic dispatch over switch statements on enum values 2017-08-15 14:55:34 -07:00
com.ibm.wala.cast.js.test.data missed files 2017-08-06 19:16:25 -04:00
com.ibm.wala.cast.test Tidy up some code that performs unchecked casts to a generic type 2017-08-15 09:16:59 -07:00
com.ibm.wala.core Be explicit when the proper default for a switch is to do nothing 2017-08-15 14:55:34 -07:00
com.ibm.wala.core.testdata version 1.4.4-SNAPSHOT 2017-08-06 07:25:20 -07:00
com.ibm.wala.core.tests Fix warning about unchecked cast to generic by being less specific 2017-08-15 09:16:59 -07:00
com.ibm.wala.dalvik Throw a loud exception if switch encounters unexpected enum value 2017-08-15 14:55:34 -07:00
com.ibm.wala.dalvik.test support for deodexing methods read from Dalvik, using support in dexlib2 2017-08-08 06:34:48 -04:00
com.ibm.wala.ide Factor out common logic for Dot output format names/suffixes 2017-08-15 14:55:34 -07:00
com.ibm.wala.ide-feature version 1.4.4-SNAPSHOT 2017-08-06 07:25:20 -07:00
com.ibm.wala.ide.jdt Throw a loud exception if switch encounters unexpected enum value 2017-08-15 14:55:34 -07:00
com.ibm.wala.ide.jdt.test Merge branch 'master' of https://github.com/wala/WALA 2017-08-06 10:30:32 -04:00
com.ibm.wala.ide.jsdt Be explicit when the proper default for a switch is to do nothing 2017-08-15 14:55:34 -07:00
com.ibm.wala.ide.jsdt.tests version 1.4.4-SNAPSHOT 2017-08-06 07:25:20 -07:00
com.ibm.wala.ide.tests Merge branch 'master' of https://github.com/wala/WALA 2017-08-06 10:30:32 -04:00
com.ibm.wala.scandroid Fix Eclipse warnings about redundant null checks and assignments 2017-08-15 09:11:29 -07:00
com.ibm.wala.shrike Be explicit when the proper default for a switch is to do nothing 2017-08-15 14:55:34 -07:00
com.ibm.wala.tests-feature version 1.4.4-SNAPSHOT 2017-08-06 07:25:20 -07:00
com.ibm.wala.tests.ide-feature version 1.4.4-SNAPSHOT 2017-08-06 07:25:20 -07:00
com.ibm.wala.util Factor out common logic for Dot output format names/suffixes 2017-08-15 14:55:34 -07:00
targets version 1.4.4-SNAPSHOT 2017-08-06 07:25:20 -07:00
.gitignore AnalysisCache -> IAnalysisCache, additional ignore, increased visibility, generic fixes (#172) 2017-05-03 09:20:03 -07:00
.travis.yml try new way to make javadoc 2017-08-02 14:56:04 +00:00
README.md reference javadoc 2017-08-03 20:43:22 +00:00
appveyor.yml.disabled disable appveyor for now 2017-04-13 22:06:35 -07:00
build-maven-jars.py make Maven Central files for wala.dalvik and wala.scandroid (#158) 2017-03-25 13:20:34 -07:00
change-version.py script to change version numbers consistently across files 2015-05-29 12:19:18 -07:00
dependent-projects-trigger.sh add MemSAT 2017-08-12 20:02:18 -04:00
pom.xml version 1.4.4-SNAPSHOT 2017-08-06 07:25:20 -07:00
upload-javascript.sh quiet 2017-08-03 21:11:33 +00:00

README.md

This is the main source repository for WALA. For more details on WALA, see the WALA home page and WALA Javadoc.