Hey all

Encountered this piece of code on the Tapestry reference page...

public final static Integer SMALL = new Integer(1);
 public final static Integer MEDIUM = new Integer(2);
 public final static Integer LARGE = new Integer(3);

 public abstract Integer getOrderSize();

 public void doSubmit() {
   // process order
 }


Is it safe to declare the Integers as final statics? I thought all instance variables in Tapestry should be declared as abstract, even if they are being fetched by an abstract method - in this case getOrderSize()


link: http://jakarta.apache.org/tapestry/tapestry/ComponentReference/RadioGroup.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to