Add generics in a couple of places where they were missing, as well as a @SuppressWarnings

git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@97 db60a039-f72e-0410-b1d2-baa000846441
This commit is contained in:
chochos
2011-09-26 20:48:33 +00:00
parent 8c4d1cc48c
commit 56445e8f33
@@ -43,7 +43,8 @@ public class IsoMessage {
/** Indicates if the message is binary-coded. */
private boolean binary;
/** This is where the values are stored. */
private IsoValue[] fields = new IsoValue[129];
@SuppressWarnings("rawtypes")
private IsoValue[] fields = new IsoValue[129];
/** Stores the optional ISO header. */
private String isoHeader;
private int etx = -1;
@@ -172,7 +173,7 @@ public class IsoMessage {
if (value == null) {
fields[index] = null;
} else {
IsoValue v = null;
IsoValue<T> v = null;
if (t.needsLength()) {
v = new IsoValue<T>(t, value, length, encoder);
} else {