IMSIPseudo.java: import all

It takes time to figure out where exactly a certain class/object/... is
located. Just import all of them. It does not seem to impact the size of
the applet, as there's a blog post writing about performance that does
it the same way [1]. Besides, except for the HelloSTK hello world, I've
seen it in all other code done that way, including 3GPP 03.19 Annex C.

[1]: https://gelvaos.blogspot.com/2011/04/
This commit is contained in:
Oliver Smith 2020-02-24 11:28:39 +01:00
parent cef081c1e7
commit 4eee13d7e7
1 changed files with 3 additions and 11 deletions

View File

@ -1,16 +1,8 @@
package org.osmocom.IMSIPseudo;
import javacard.framework.APDU;
import javacard.framework.Applet;
import javacard.framework.ISOException;
import sim.toolkit.EnvelopeHandler;
import sim.toolkit.ProactiveHandler;
import sim.toolkit.ProactiveResponseHandler;
import sim.toolkit.ToolkitConstants;
import sim.toolkit.ToolkitException;
import sim.toolkit.ToolkitInterface;
import sim.toolkit.ToolkitRegistry;
import sim.access.*;
import sim.toolkit.*;
import javacard.framework.*;
public class IMSIPseudo extends Applet implements ToolkitInterface, ToolkitConstants {
// DON'T DECLARE USELESS INSTANCE VARIABLES! They get saved to the EEPROM,