1 | @Override↵ | | 1 | @Override↵
|
2 | public void dispose()↵ | | 2 | public void dispose()↵
|
3 | {↵ | | 3 | {↵
|
4 | if (subcommand != null)↵ | | 4 | if (subcommand != null)↵
|
5 | {↵ | | 5 | {↵
|
6 | subcommand.dispose();↵ | | 6 | subcommand.dispose();↵
|
7 | }↵ | | 7 | }↵
|
8 | super.dispose();↵ | | 8 | super.dispose();↵
|
9 | }↵ | | 9 | }↵
|
|
10 | /**↵ | | 10 | /**↵
|
11 | * This gives an abbreviated name using this object's own class' name, without package qualification,↵ | | 11 | * This gives an abbreviated name using this object's own class' name, without package qualification,↵
|
12 | * followed by a space separated list of <tt>field:value</tt> pairs.↵ | | 12 | * followed by a space separated list of <tt>field:value</tt> pairs.↵
|
13 | */↵ | | 13 | */↵
|
14 | @Override↵ | | 14 | @Override↵
|
15 | public String toString()↵ | | 15 | public String toString()↵
|
16 | {↵ | | 16 | {↵
|
17 | StringBuffer result = new StringBuffer(super.toString());↵ | | 17 | StringBuffer result = new StringBuffer(super.toString());↵
|
18 | result.append(" (domain: " + domain + ")");↵ | | 18 | result.append(" (domain: " + domain + ")");↵
|
19 | result.append(" (collection: " + collection + ")");↵ | | 19 | result.append(" (collection: " + collection + ")");↵
|
20 | result.append(" (subcommand: " + subcommand + ")");↵ | | 20 | result.append(" (subcommand: " + subcommand + ")");↵
|
|
21 | return result.toString(); | | 21 | return result.toString();
|