WEB-203 deprecated getCredits - credits moved to the about page

This commit is contained in:
mayhew64 2015-05-03 16:31:52 -04:00
parent 547fd36507
commit 6e8d8562d6
6 changed files with 3 additions and 19 deletions

View File

@ -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();

View File

@ -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() {

View File

@ -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
* *

View File

@ -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
* *

View File

@ -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.

View File

@ -278,9 +278,6 @@
<% <%
} }
%> %>
<div id="credits">
<% out.println(currentLesson.getCredits());%>
</div>
</div> </div>
</div> </div>