samples/incompatibilities/src-wildimport/org/apidesign/stringandbuffer/DoubleReturnType.java
author Jaroslav Tulach <jtulach@netbeans.org>
Sat, 14 Jun 2008 09:56:59 +0200
changeset 137 a6ae66ce006d
child 400 f0a7e800323c
permissions -rw-r--r--
Another uncompilable example, now it shows problems with double return type
jtulach@137
     1
package org.apidesign.stringandbuffer;
jtulach@137
     2
jtulach@137
     3
// BEGIN: theory.stringandbuffer
jtulach@137
     4
/** This is not Java code, but it is fine inside the bytecode */
jtulach@137
     5
public abstract class DoubleReturnType {
jtulach@137
     6
  public abstract String getName(int x);
jtulach@137
     7
  public abstract StringBuffer getName(int x);
jtulach@137
     8
}
jtulach@137
     9
// END: theory.stringandbuffer