mirror of https://github.com/dspinellis/UMLGraph
Removed reliance on -verbose2
This commit is contained in:
parent
63dff2aaa3
commit
1a066ccff8
|
|
@ -85,8 +85,6 @@ public class UmlDoc {
|
|||
*/
|
||||
private static void generatePackageDiagrams(RootDoc root, Options opt, String outputFolder)
|
||||
throws IOException {
|
||||
if (opt.verbose2)
|
||||
root.printNotice("Examining packages");
|
||||
Set<String> packages = new HashSet<String>();
|
||||
for (ClassDoc classDoc : root.classes()) {
|
||||
PackageDoc packageDoc = classDoc.containingPackage();
|
||||
|
|
@ -106,8 +104,6 @@ public class UmlDoc {
|
|||
*/
|
||||
private static void generateContextDiagrams(RootDoc root, Options opt, String outputFolder)
|
||||
throws IOException {
|
||||
if (opt.verbose2)
|
||||
root.printNotice("Examining classes");
|
||||
ContextView view = null;
|
||||
for (ClassDoc classDoc : root.classes()) {
|
||||
if(view == null)
|
||||
|
|
|
|||
|
|
@ -44,8 +44,7 @@ public class UmlGraph {
|
|||
/** Entry point */
|
||||
public static boolean start(RootDoc root) throws IOException {
|
||||
Options opt = buildOptions(root);
|
||||
if (opt.verbose2)
|
||||
System.out.println("UMLGraph doclet started");
|
||||
root.printNotice("UMLGraph doclet version " + Version.VERSION + " started");
|
||||
|
||||
View[] views = buildViews(opt, root, root);
|
||||
if(views == null)
|
||||
|
|
@ -58,8 +57,6 @@ public class UmlGraph {
|
|||
}
|
||||
}
|
||||
|
||||
if (opt.verbose2)
|
||||
System.out.println("Class diagram generation complete");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -88,8 +85,7 @@ public class UmlGraph {
|
|||
*/
|
||||
public static void buildGraph(RootDoc root, OptionProvider op, Doc contextDoc) throws IOException {
|
||||
Options opt = op.getGlobalOptions();
|
||||
if (opt.verbose2)
|
||||
System.out.println("Building " + op.getDisplayName());
|
||||
root.printNotice("Building " + op.getDisplayName());
|
||||
ClassDoc[] classes = root.classes();
|
||||
|
||||
ClassGraph c = new ClassGraph(root, op, contextDoc);
|
||||
|
|
|
|||
|
|
@ -85,8 +85,6 @@ public class UmlDoc {
|
|||
*/
|
||||
private static void generatePackageDiagrams(RootDoc root, Options opt, String outputFolder)
|
||||
throws IOException {
|
||||
if (opt.verbose2)
|
||||
root.printNotice("Examining packages");
|
||||
Set<String> packages = new HashSet<String>();
|
||||
for (ClassDoc classDoc : root.classes()) {
|
||||
PackageDoc packageDoc = classDoc.containingPackage();
|
||||
|
|
@ -106,8 +104,6 @@ public class UmlDoc {
|
|||
*/
|
||||
private static void generateContextDiagrams(RootDoc root, Options opt, String outputFolder)
|
||||
throws IOException {
|
||||
if (opt.verbose2)
|
||||
root.printNotice("Examining classes");
|
||||
ContextView view = null;
|
||||
for (ClassDoc classDoc : root.classes()) {
|
||||
if(view == null)
|
||||
|
|
|
|||
|
|
@ -44,8 +44,7 @@ public class UmlGraph {
|
|||
/** Entry point */
|
||||
public static boolean start(RootDoc root) throws IOException {
|
||||
Options opt = buildOptions(root);
|
||||
if (opt.verbose2)
|
||||
System.out.println("UMLGraph doclet started");
|
||||
root.printNotice("UMLGraph doclet version " + Version.VERSION + " started");
|
||||
|
||||
View[] views = buildViews(opt, root, root);
|
||||
if(views == null)
|
||||
|
|
@ -58,8 +57,6 @@ public class UmlGraph {
|
|||
}
|
||||
}
|
||||
|
||||
if (opt.verbose2)
|
||||
System.out.println("Class diagram generation complete");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -88,8 +85,7 @@ public class UmlGraph {
|
|||
*/
|
||||
public static void buildGraph(RootDoc root, OptionProvider op, Doc contextDoc) throws IOException {
|
||||
Options opt = op.getGlobalOptions();
|
||||
if (opt.verbose2)
|
||||
System.out.println("Building " + op.getDisplayName());
|
||||
root.printNotice("Building " + op.getDisplayName());
|
||||
ClassDoc[] classes = root.classes();
|
||||
|
||||
ClassGraph c = new ClassGraph(root, op, contextDoc);
|
||||
|
|
|
|||
Loading…
Reference in New Issue