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;
|
||||
|
||||
@@ -56,9 +56,11 @@ public class HierarchyVisualizer implements Printable
|
||||
|
||||
// remove the packages on our exclusion list
|
||||
String expkg = System.getProperty("exclude");
|
||||
StringTokenizer tok = new StringTokenizer(expkg, ":");
|
||||
while (tok.hasMoreTokens()) {
|
||||
pkgset.remove(tok.nextToken());
|
||||
if (expkg != null) {
|
||||
StringTokenizer tok = new StringTokenizer(expkg, ":");
|
||||
while (tok.hasMoreTokens()) {
|
||||
pkgset.remove(tok.nextToken());
|
||||
}
|
||||
}
|
||||
|
||||
// sort our package names
|
||||
|
||||
Reference in New Issue
Block a user