Talk:Errata

From APIDesign

Revision as of 16:33, 10 October 2010 by JaroslavTulach (Talk | contribs)
Jump to: navigation, search

(Please discuss, review and move to main page if correct)

Chapter 6

page 90:
"... simply add the more complicated way of saying hello to its definition:

Code from SimpleHelloClass.java:
See the whole file.

public abstract class SimpleHelloClass {
    public abstract String sayHello();
}
 

public abstract class HelloClass extends SimpleHelloClass {
}

This change is ..."

should define the complicated sayHelloTo:

Code from HelloClass.java:
See the whole file.

public abstract class HelloClass extends SimpleHelloClass {
    public abstract String sayHelloTo(String who);
}
 

Cordeo 21:47, 7 October 2010 (UTC)

Thanks for pointing this out. The snippet code was OK, just it showed just a part of the source file, not whole. I fixed that in http://source.apidesign.org/hg/apidesign/rev/e49c5a2d9b32 I'll update the main page soon.

Personal tools
buy