break up droid bench

This commit is contained in:
Julian Dolby 2015-02-28 20:59:17 -05:00
parent b3ee85c649
commit e8c6a73b3d
2 changed files with 6 additions and 3 deletions

View File

@ -25,7 +25,8 @@ public class Activator implements BundleActivator {
* (non-Javadoc)
* @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
*/
public void start(BundleContext bundleContext) throws Exception {
@Override
public void start(BundleContext bundleContext) throws Exception {
Activator.context = bundleContext;
}
@ -33,7 +34,8 @@ public class Activator implements BundleActivator {
* (non-Javadoc)
* @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
*/
public void stop(BundleContext bundleContext) throws Exception {
@Override
public void stop(BundleContext bundleContext) throws Exception {
Activator.context = null;
}

View File

@ -156,7 +156,8 @@ public class DalvikCallGraphTestBase extends DynamicCallGraphTestBase {
return makeAPKCallGraph(apkFileName, monitor, ReflectionOptions.NONE);
}
private static SSAContextInterpreter makeDefaultInterpreter(AnalysisOptions options, AnalysisCache cache) {
@SuppressWarnings("unused")
private static SSAContextInterpreter makeDefaultInterpreter(AnalysisOptions options, AnalysisCache cache) {
return new DefaultSSAInterpreter(options, cache) {
@Override
public Iterator<NewSiteReference> iterateNewSites(CGNode node) {