Aufgrund von Umarbeiten des s3 Storage wird es in GitLab, in nächster Zeit, mögliche Performance-Einbußen geben. Näheres dazu unter: https://maintenance.itc.rwth-aachen.de/ticket/status/messages/43/show_ticket/6670

Commit 358b5cc6 authored by Jean Meurice's avatar Jean Meurice

DataType update

parent e3af2a2e
......@@ -17,7 +17,8 @@ public class ArrayType extends DataType {
public int sizeOrMaxSize;
public ArrayType(DataType baseType, Dimensionality dim, int sizeOrMaxSize){
super(DataType.Type.ARRAY, baseType.getDataSize() * sizeOrMaxSize); //Must give dataSize manually since the default super() calls getDataSize() which is invalid before setting "baseType" & "sizeOrMaxSize".
//super(DataType.Type.ARRAY, baseType.getDataSize() * sizeOrMaxSize); //Must give dataSize manually since the default super() calls getDataSize() which is invalid before setting "baseType" & "sizeOrMaxSize".
super(DataType.Type.ARRAY);
this.baseType = baseType;
this.dimension = dim;
this.sizeOrMaxSize = sizeOrMaxSize;
......
......@@ -67,17 +67,17 @@ public class DataType {
public Type type;
/// The virtual message size in bytes
public int dataSize;
//public int dataSize;
public DataType(Type type){
this.type = type;
this.dataSize = getDataSize();
//this.dataSize = getDataSize();
}
protected DataType(Type type, int dataSize){
this.type = type;
this.dataSize = dataSize;
}
// protected DataType(Type type, int dataSize){
// this.type = type;
// this.dataSize = dataSize;
// }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment