Hint
git-svn-id: http://webgoat.googlecode.com/svn/trunk@308 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
parent
6119e33ccc
commit
aa23f8169b
@ -10,7 +10,6 @@ import org.apache.ecs.ElementContainer;
|
|||||||
import org.apache.ecs.StringElement;
|
import org.apache.ecs.StringElement;
|
||||||
import org.apache.ecs.html.Center;
|
import org.apache.ecs.html.Center;
|
||||||
import org.apache.ecs.html.H3;
|
import org.apache.ecs.html.H3;
|
||||||
import org.apache.ecs.html.IMG;
|
|
||||||
import org.apache.ecs.html.P;
|
import org.apache.ecs.html.P;
|
||||||
import org.apache.ecs.html.PRE;
|
import org.apache.ecs.html.PRE;
|
||||||
import org.apache.ecs.html.TD;
|
import org.apache.ecs.html.TD;
|
||||||
@ -145,12 +144,7 @@ public abstract class LessonAdapter extends AbstractLesson
|
|||||||
return hints;
|
return hints;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getHint(WebSession s, int hintNumber)
|
|
||||||
{
|
|
||||||
String hint = "Hint: ";
|
|
||||||
hint += (String) getHints(s).get(hintNumber);
|
|
||||||
return hint;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the credits attribute of the AbstractLesson object
|
* Gets the credits attribute of the AbstractLesson object
|
||||||
|
Loading…
x
Reference in New Issue
Block a user