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:
parent
cef081c1e7
commit
4eee13d7e7
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue