Ternar operator fix

This commit is contained in:
Jindra Petk
2013-06-05 21:40:04 +02:00
parent d4a6647f73
commit 448699da23

View File

@@ -426,6 +426,11 @@ public class Graph {
if (output.isEmpty()) {
return true;
}
if (output.size() == 1) {
if (output.get(0) instanceof MarkItem) {
return true;
}
}
return false;
}
@@ -579,8 +584,9 @@ public class Graph {
output.add(new ScriptEndItem());
}
} catch (Exception ex) {
Logger.getLogger(Graph.class.getName()).log(Level.SEVERE, "error during printgraph", ex);
return ret;
//Logger.getLogger(Graph.class.getName()).log(Level.SEVERE, "error during printgraph", ex);
throw ex;
//return ret;
}
}
if (part.nextParts.size() == 2) {