mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-16 07:10:48 +00:00
Preparation for fix
This commit is contained in:
1 parent
a610d4a25d
commit
61bacc72b7
1 file changed
+1
-2
+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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user