WEB-203 deprecated getCredits - credits moved to the about page
This commit is contained in:
parent
547fd36507
commit
6e8d8562d6
@ -161,6 +161,7 @@ public abstract class AbstractLesson extends Screen implements Comparable<Object
|
|||||||
/**
|
/**
|
||||||
* Gets the credits attribute of the AbstractLesson object
|
* Gets the credits attribute of the AbstractLesson object
|
||||||
*
|
*
|
||||||
|
* @deprecated - Credits have moved to the about page
|
||||||
* @return The credits value
|
* @return The credits value
|
||||||
*/
|
*/
|
||||||
public abstract Element getCredits();
|
public abstract Element getCredits();
|
||||||
|
@ -140,6 +140,8 @@ public abstract class LessonAdapter extends AbstractLesson {
|
|||||||
/**
|
/**
|
||||||
* Gets the credits attribute of the AbstractLesson object
|
* Gets the credits attribute of the AbstractLesson object
|
||||||
*
|
*
|
||||||
|
* @deprecated Credits are in the about page. This method s no
|
||||||
|
* longer called from WebGoat
|
||||||
* @return The credits value
|
* @return The credits value
|
||||||
*/
|
*/
|
||||||
public Element getCredits() {
|
public Element getCredits() {
|
||||||
|
@ -112,11 +112,6 @@ public class WelcomeScreen extends Screen
|
|||||||
return (ec);
|
return (ec);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Element getCredits()
|
|
||||||
{
|
|
||||||
return new ElementContainer();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the instructions attribute of the WelcomeScreen object
|
* Gets the instructions attribute of the WelcomeScreen object
|
||||||
*
|
*
|
||||||
|
@ -209,11 +209,6 @@ public class ErrorScreen extends Screen
|
|||||||
return (new Small().addElement(list));
|
return (new Small().addElement(list));
|
||||||
}
|
}
|
||||||
|
|
||||||
public Element getCredits()
|
|
||||||
{
|
|
||||||
return new ElementContainer();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Description of the Method
|
* Description of the Method
|
||||||
*
|
*
|
||||||
|
@ -79,12 +79,6 @@ public abstract class Screen {
|
|||||||
*/
|
*/
|
||||||
protected abstract Element createContent(WebSession s);
|
protected abstract Element createContent(WebSession s);
|
||||||
|
|
||||||
/**
|
|
||||||
* Gets the credits attribute of the Screen object
|
|
||||||
*
|
|
||||||
* @return The credits value
|
|
||||||
*/
|
|
||||||
public abstract Element getCredits();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new lessonTracker object.
|
* Creates a new lessonTracker object.
|
||||||
|
@ -278,9 +278,6 @@
|
|||||||
<%
|
<%
|
||||||
}
|
}
|
||||||
%>
|
%>
|
||||||
<div id="credits">
|
|
||||||
<% out.println(currentLesson.getCredits());%>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user