Hi Nice work, expect for this one change: This change changes the meaning of the code. The instance variable no longer points to the currently running Expenses object.
Regards, Noel. [email protected] wrote: > Modified: > pivot/trunk/tutorials/src/org/apache/pivot/tutorials/webqueries/Expenses.java > URL: > http://svn.apache.org/viewvc/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/webqueries/Expenses.java?rev=1188372&r1=1188371&r2=1188372&view=diff > ============================================================================== > --- > pivot/trunk/tutorials/src/org/apache/pivot/tutorials/webqueries/Expenses.java > (original) > +++ > pivot/trunk/tutorials/src/org/apache/pivot/tutorials/webqueries/Expenses.java > Mon Oct 24 20:53:29 2011 > @@ -39,10 +39,9 @@ public class Expenses implements Applica > public static final String PORT_KEY = "port"; > public static final String SECURE_KEY = "secure"; > > - private static Expenses instance = null; > + private static Expenses instance = new Expenses(); > > public Expenses() { > - instance = this; > } > > @Override
