mirror of https://github.com/dspinellis/UMLGraph
Corrected NullPointerException occurring when no global options were
available. Fix supplied by Bernd Blacha.
This commit is contained in:
parent
569d6849cc
commit
41b61d45e0
|
|
@ -11,6 +11,9 @@
|
|||
<li> Fixed exception when an unknown class dependency is specified.
|
||||
(Reported by Jan Schlüter).
|
||||
</li>
|
||||
<li> Corrected NullPointerException occurring when no global options were
|
||||
available.
|
||||
(Fix supplied by Bernd Blacha.)
|
||||
</dd>
|
||||
|
||||
<dt>Version 5.1 2008-08-27 </dt><dd>
|
||||
|
|
|
|||
|
|
@ -106,6 +106,8 @@ public class UmlGraph {
|
|||
* Builds and outputs a single graph according to the view overrides
|
||||
*/
|
||||
public static void buildGraph(RootDoc root, OptionProvider op, Doc contextDoc) throws IOException {
|
||||
if(getCommentOptions() == null)
|
||||
buildOptions(root);
|
||||
Options opt = op.getGlobalOptions();
|
||||
root.printNotice("Building " + op.getDisplayName());
|
||||
ClassDoc[] classes = root.classes();
|
||||
|
|
|
|||
Loading…
Reference in New Issue