Fixed Parsing error

This commit is contained in:
Speiger 2021-10-03 14:52:08 +02:00
parent 65cc8979c0
commit b155fb5d92
1 changed files with 4 additions and 4 deletions

View File

@ -252,7 +252,7 @@ public class JsonUtil
short[] data = new short[array.size()];
for(int i = 0,m=data.length;i<m;i++)
{
data[i] = array.get(i).getAsByte();
data[i] = array.get(i).getAsShort();
}
return data;
}
@ -262,7 +262,7 @@ public class JsonUtil
int[] data = new int[array.size()];
for(int i = 0,m=data.length;i<m;i++)
{
data[i] = array.get(i).getAsByte();
data[i] = array.get(i).getAsInt();
}
return data;
}
@ -272,7 +272,7 @@ public class JsonUtil
long[] data = new long[array.size()];
for(int i = 0,m=data.length;i<m;i++)
{
data[i] = array.get(i).getAsByte();
data[i] = array.get(i).getAsLong();
}
return data;
}
@ -292,7 +292,7 @@ public class JsonUtil
double[] data = new double[array.size()];
for(int i = 0,m=data.length;i<m;i++)
{
data[i] = array.get(i).getAsFloat();
data[i] = array.get(i).getAsDouble();
}
return data;
}