You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code should do what the code's comment say it should do....
try {
JDOMFactoryf = this.getFactory();
if (f == null) { f = newDefaultJDOMFactory(); }
doc = f.document(null);
doc.setContent((List)result);
result = doc;
}
catch (RuntimeExceptionex1) {
// Some of the result nodes are not valid children of a// Document node. => return null.
}
but, in the catch block, it does not set the 'doc' to null !!!
The text was updated successfully, but these errors were encountered:
The code should do what the code's comment say it should do....
but, in the catch block, it does not set the 'doc' to null !!!
The text was updated successfully, but these errors were encountered: