View | Details | Raw Unified | Return to bug 15050
Collapse All | Expand All

(-)Record.java (-2 / +5 lines)
Lines 67-73 Link Here
67
 * @version 2.0-pre
67
 * @version 2.0-pre
68
 */
68
 */
69
69
70
public abstract class Record
70
public abstract class Record implements Cloneable
71
{
71
{
72
72
73
    /**
73
    /**
Lines 244-249 Link Here
244
    public abstract short getSid();
244
    public abstract short getSid();
245
245
246
    public Object clone() {
246
    public Object clone() {
247
      throw new RuntimeException("The class "+getClass().getName()+" needs to define a clone method");
247
      try{
248
          return super.clone();
249
      }
250
      catch(CloneNotSupportedException e){/*unreachable*/throw new InternalError();}
248
    }
251
    }
249
}
252
}

Return to bug 15050