[Pcsclite-cvs-commit] r1710 - trunk/HandlerTest/JavaCard/src/org/debian/alioth/pcsclite/readertest

Ludovic Rousseau rousseau at costa.debian.org
Wed Nov 16 08:59:52 UTC 2005


Author: rousseau
Date: 2005-11-16 08:59:52 +0000 (Wed, 16 Nov 2005)
New Revision: 1710

Modified:
   trunk/HandlerTest/JavaCard/src/org/debian/alioth/pcsclite/readertest/readertest.java
Log:
move the default: case at the end of the switch


Modified: trunk/HandlerTest/JavaCard/src/org/debian/alioth/pcsclite/readertest/readertest.java
===================================================================
--- trunk/HandlerTest/JavaCard/src/org/debian/alioth/pcsclite/readertest/readertest.java	2005-11-16 08:59:06 UTC (rev 1709)
+++ trunk/HandlerTest/JavaCard/src/org/debian/alioth/pcsclite/readertest/readertest.java	2005-11-16 08:59:52 UTC (rev 1710)
@@ -357,11 +357,6 @@
               apdu.sendBytesLong(pbMemory, (short)0, pbMemoryLength);
             break;
 
-            default:
-                // The INS code is not supported by the dispatcher
-                ISOException.throwIt( ISO7816.SW_INS_NOT_SUPPORTED ) ;
-            break ;
-
             case INS_MODIFY_PIN:
               // Memorize APDU header
               Util.arrayCopy(apduBuffer, (short)0, pbMemory, (short)0,
@@ -405,6 +400,10 @@
 
             break;
 
+            default:
+                // The INS code is not supported by the dispatcher
+                ISOException.throwIt( ISO7816.SW_INS_NOT_SUPPORTED ) ;
+            break ;
         }
     }
 }




More information about the Pcsclite-cvs-commit mailing list