Fix javadoc warnings and errors
In preparation of release fix javadoc warnings and errors Signed-off-by: Doug Morato <dm@corp.io>
This commit is contained in:
parent
114f220c15
commit
d3e4792b37
@ -40,7 +40,6 @@ import static java.lang.Math.abs;
|
||||
/**
|
||||
* ************************************************************************************************
|
||||
* <p>
|
||||
* <p>
|
||||
* This file is part of WebGoat, an Open Web Application Security Project utility. For details,
|
||||
* please see http://www.owasp.org/
|
||||
* <p>
|
||||
@ -621,7 +620,6 @@ public abstract class AbstractLesson extends Screen implements Comparable<Object
|
||||
/**
|
||||
* <p>Returns the default "path" portion of a lesson's URL.</p>
|
||||
* <p>
|
||||
* <p>
|
||||
* Legacy webgoat lesson links are of the form
|
||||
* "attack?Screen=Xmenu=Ystage=Z". This method returns the path portion of
|
||||
* the url, i.e., "attack" in the string above.
|
||||
|
@ -78,9 +78,9 @@ public class LabelDebugService extends BaseService {
|
||||
|
||||
/**
|
||||
* Sets the enabled flag on the label debugger to the given parameter
|
||||
*
|
||||
* @param enabled {@link org.owasp.webgoat.session.LabelDebugger} object
|
||||
* @throws Exception unhandled exception
|
||||
* @return a {@link org.springframework.http.ResponseEntity} object.
|
||||
* @throws Exception
|
||||
*/
|
||||
@RequestMapping(value = URL_DEBUG_LABELS_MVC, produces = MediaType.APPLICATION_JSON_VALUE, params = KEY_ENABLED)
|
||||
public @ResponseBody
|
||||
@ -92,7 +92,7 @@ public class LabelDebugService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param enabled
|
||||
* @param enabled {@link org.owasp.webgoat.session.LabelDebugger} object
|
||||
* @return a {@link java.util.Map} object.
|
||||
*/
|
||||
private Map<String, Object> createResponse(Boolean enabled) {
|
||||
|
@ -47,7 +47,6 @@ public class RestartLessonService extends BaseService {
|
||||
* Returns current lesson
|
||||
*
|
||||
* @param session a {@link javax.servlet.http.HttpSession} object.
|
||||
* @return a {@link java.lang.String} object.
|
||||
*/
|
||||
@RequestMapping(value = "/restartlesson.mvc")
|
||||
@ResponseStatus(value = HttpStatus.OK)
|
||||
|
@ -37,7 +37,7 @@ public class LabelDebugger implements Serializable {
|
||||
|
||||
/**
|
||||
* <p>Sets the status to enabled</p>
|
||||
* @param enabled
|
||||
* @param enabled {@link org.owasp.webgoat.session.LabelDebugger} object
|
||||
*/
|
||||
public void setEnabled(boolean enabled) {
|
||||
this.enabled = enabled;
|
||||
|
Loading…
x
Reference in New Issue
Block a user