Misc. merges from release33.
1.1 --- a/apisupport/src/org/netbeans/modules/apisupport/resources/templates/Nodes_API/__Sample_filter__Node_java Thu Nov 29 19:36:27 2001 +0000
1.2 +++ b/apisupport/src/org/netbeans/modules/apisupport/resources/templates/Nodes_API/__Sample_filter__Node_java Fri Nov 30 13:19:24 2001 +0000
1.3 @@ -94,6 +94,18 @@
1.4 return super.getCookie (clazz);
1.5 }
1.6 */
1.7 + // If you are not sure, it may also work to adjust equality checks to treat
1.8 + // this filter as interchangeable with the original:
1.9 + /*
1.10 + public boolean equals (Object o) {
1.11 + return this == o ||
1.12 + getOriginal ().equals (o) ||
1.13 + (o != null && o.equals (getOriginal ()));
1.14 + }
1.15 + public int hashCode () {
1.16 + return getOriginal ().hashCode ();
1.17 + }
1.18 + */
1.19
1.20 // To add properties, cumbersome but straightforward:
1.21 /*