01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tctest.transparency;
05:
06: public class SuperClassWithNoFields {
07:
08: public synchronized void method1() {
09: System.err.println(this );
10: }
11:
12: public String toString() {
13: return "SuperClassWithNoFields";
14: }
15:
16: public boolean equals(Object o) {
17: if (this == o)
18: return true;
19: if (o instanceof SuperClassWithNoFields) {
20: return true;
21: }
22: return false;
23: }
24: }
|