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
     1 package org.apidesign.stringandbuffer;
     2 
     3 // BEGIN: theory.stringandbuffer
     4 /** This is not Java code, but it is fine inside the bytecode */
     5 public abstract class DoubleReturnType {
     6   public abstract String getName(int x);
     7   public abstract StringBuffer getName(int x);
     8 }
     9 // END: theory.stringandbuffer