yeah, slotID is an int, as it is defined... should be
slotID = 0;
not
slotID = null;
prolly because slotID used to be declared as a class in older versions, and
newer ones use it as an int.
-- Sean
At 12:17 PM 4/02/01 -0400, eunal wrote:
>Hi,
>This code taken from OCF web site !!
>Yes exception error corrected but we have another one !!
>Error is:
>any ideas ?
>
>
>Starting demo...
>card.java:48: incompatible types
>found : <null>
>required: int
>slotID = null;
>^
>Note: card.java uses or overrides a deprecated API.
>Note: Recompile with -deprecation for details.
>1 error
>
>//after depricated compile
>Starting demo...
>card.java:4: warning: opencard.core.terminal.Slot in opencard.core.terminal
>has
>been deprecated
>import opencard.core.terminal.Slot;
>^
>card.java:33: warning: getSmartCard(opencard.core.event.CardTerminalEvent)
>in op
>encard.core.service.SmartCard has been deprecated
>smartcard = SmartCard.getSmartCard(event);
>^
>card.java:48: incompatible types
>found : <null>
>required: int
>slotID = null;
>^
>1 error
>2 warnings
>
>
>
>engin..
>
>
>______________________________________________
>FREE Personalized Email at Mail.com
>Sign up at http://www.mail.com/?sr=signup
---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/
! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
! [EMAIL PROTECTED]
! containing the word
! unsubscribe
! in the body.