Eliminate references to insance variable
git-svn-id: http://webgoat.googlecode.com/svn/trunk@136 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
parent
db2f11578a
commit
c3a5ec5ca8
@ -54,8 +54,6 @@ public abstract class Screen
|
|||||||
//private Head head;
|
//private Head head;
|
||||||
private Element content;
|
private Element content;
|
||||||
|
|
||||||
private LessonTracker lessonTracker;
|
|
||||||
|
|
||||||
final static IMG logo = new IMG("images/aspectlogo-horizontal-small.jpg")
|
final static IMG logo = new IMG("images/aspectlogo-horizontal-small.jpg")
|
||||||
.setAlt("Aspect Security").setBorder(0).setHspace(0).setVspace(0);
|
.setAlt("Aspect Security").setBorder(0).setHspace(0).setVspace(0);
|
||||||
|
|
||||||
@ -108,8 +106,7 @@ public abstract class Screen
|
|||||||
// If the lesson had any specialized properties in the user persisted properties,
|
// If the lesson had any specialized properties in the user persisted properties,
|
||||||
// now would be the time to pull them out.
|
// now would be the time to pull them out.
|
||||||
|
|
||||||
lessonTracker = createLessonTracker();
|
return createLessonTracker();
|
||||||
return lessonTracker;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -120,8 +117,7 @@ public abstract class Screen
|
|||||||
*/
|
*/
|
||||||
public LessonTracker createLessonTracker()
|
public LessonTracker createLessonTracker()
|
||||||
{
|
{
|
||||||
lessonTracker = new LessonTracker();
|
return new LessonTracker();
|
||||||
return lessonTracker;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user