Preparation for fix

This commit is contained in:
Tim Hessenmüller committed 2019-12-09 17:37:41 +01:00
1 parent a610d4a25d
commit 61bacc72b7
1 file changed
+1 -2
@@ -40,7 +40,6 @@ public final class DataMiningQuerySerializer {
}
try (ByteArrayInputStream stream = new ByteArrayInputStream(bytes)) {
// FIXME bug5032: the object input stream needs a class loader that can see what is required to de-serialize
ObjectInputStream in;
in = new ObjectInputStream(stream);
Object o = in.readObject();
@@ -48,7 +47,7 @@ public final class DataMiningQuerySerializer {
return (StatisticQueryDefinitionDTO) o;
}
} catch (IOException | ClassNotFoundException e) {
LOG.severe("Could not load query: " + e.getMessage());
LOG.warning("Could not load query: " + e.getMessage());
}
return null;
}