summaryrefslogtreecommitdiff
path: root/smcc/src/main/java/at/gv
diff options
context:
space:
mode:
authortkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2014-01-07 15:24:29 +0000
committertkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2014-01-07 15:24:29 +0000
commitef000b5d2cc1b695f34e07b67b5c580a36608454 (patch)
tree3d72494dd77f59b0bd4c6bb41a7f3d15cb76e32a /smcc/src/main/java/at/gv
parent846bd47fcfaad67d97a4d0237e4d6424cbdbf396 (diff)
downloadmocca-ef000b5d2cc1b695f34e07b67b5c580a36608454.tar.gz
mocca-ef000b5d2cc1b695f34e07b67b5c580a36608454.tar.bz2
mocca-ef000b5d2cc1b695f34e07b67b5c580a36608454.zip
get rid of some warnings
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1274 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'smcc/src/main/java/at/gv')
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/util/MSCMException.java4
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/util/MSCMTransfer.java8
2 files changed, 5 insertions, 7 deletions
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/util/MSCMException.java b/smcc/src/main/java/at/gv/egiz/smcc/util/MSCMException.java
index 0466d30c..fc48c92d 100644
--- a/smcc/src/main/java/at/gv/egiz/smcc/util/MSCMException.java
+++ b/smcc/src/main/java/at/gv/egiz/smcc/util/MSCMException.java
@@ -1,7 +1,9 @@
package at.gv.egiz.smcc.util;
public class MSCMException extends Exception {
- private short hive;
+ private static final long serialVersionUID = 1L;
+
+ private short hive;
public MSCMException(short hive, String netException, String optional) {
super(netException + " [ " + optional + " ]");
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/util/MSCMTransfer.java b/smcc/src/main/java/at/gv/egiz/smcc/util/MSCMTransfer.java
index ea4121a5..152ae37e 100644
--- a/smcc/src/main/java/at/gv/egiz/smcc/util/MSCMTransfer.java
+++ b/smcc/src/main/java/at/gv/egiz/smcc/util/MSCMTransfer.java
@@ -11,10 +11,6 @@ import javax.smartcardio.ResponseAPDU;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import at.gv.egiz.smcc.GemaltoNetV2_0Card;
-
-import java.nio.ByteBuffer;
-
public class MSCMTransfer implements MSCMConstants {
private final Logger log = LoggerFactory
@@ -117,8 +113,8 @@ public class MSCMTransfer implements MSCMConstants {
return data;
}
- String namespaceString = MSCMDecoder.namespaceHiveToString(data, 0);
- String typeString = MSCMDecoder.typeHiveToString(data, 4);
+// String namespaceString = MSCMDecoder.namespaceHiveToString(data, 0);
+// String typeString = MSCMDecoder.typeHiveToString(data, 4);
short resultType = MSCMService.bytesToShort(data, 4);
if(expectedType == resultType) {
ByteArrayOutputStream str = new ByteArrayOutputStream();