Not to freak out if an exclusion list is not provided.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@241 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: HierarchyVisualizer.java,v 1.9 2001/07/24 21:25:46 mdb Exp $
|
// $Id: HierarchyVisualizer.java,v 1.10 2001/08/12 02:40:44 mdb Exp $
|
||||||
|
|
||||||
package com.samskivert.viztool.viz;
|
package com.samskivert.viztool.viz;
|
||||||
|
|
||||||
@@ -56,9 +56,11 @@ public class HierarchyVisualizer implements Printable
|
|||||||
|
|
||||||
// remove the packages on our exclusion list
|
// remove the packages on our exclusion list
|
||||||
String expkg = System.getProperty("exclude");
|
String expkg = System.getProperty("exclude");
|
||||||
StringTokenizer tok = new StringTokenizer(expkg, ":");
|
if (expkg != null) {
|
||||||
while (tok.hasMoreTokens()) {
|
StringTokenizer tok = new StringTokenizer(expkg, ":");
|
||||||
pkgset.remove(tok.nextToken());
|
while (tok.hasMoreTokens()) {
|
||||||
|
pkgset.remove(tok.nextToken());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// sort our package names
|
// sort our package names
|
||||||
|
|||||||
Reference in New Issue
Block a user