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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user