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:
Doug Morato 2016-11-18 16:33:02 -05:00
parent 114f220c15
commit d3e4792b37
4 changed files with 4 additions and 7 deletions

View File

@ -40,7 +40,6 @@ import static java.lang.Math.abs;
/** /**
* ************************************************************************************************ * ************************************************************************************************
* <p> * <p>
* <p>
* This file is part of WebGoat, an Open Web Application Security Project utility. For details, * This file is part of WebGoat, an Open Web Application Security Project utility. For details,
* please see http://www.owasp.org/ * please see http://www.owasp.org/
* <p> * <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>Returns the default "path" portion of a lesson's URL.</p>
* <p> * <p>
* <p>
* Legacy webgoat lesson links are of the form * Legacy webgoat lesson links are of the form
* "attack?Screen=Xmenu=Ystage=Z". This method returns the path portion of * "attack?Screen=Xmenu=Ystage=Z". This method returns the path portion of
* the url, i.e., "attack" in the string above. * the url, i.e., "attack" in the string above.

View File

@ -78,9 +78,9 @@ public class LabelDebugService extends BaseService {
/** /**
* Sets the enabled flag on the label debugger to the given parameter * 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. * @return a {@link org.springframework.http.ResponseEntity} object.
* @throws Exception
*/ */
@RequestMapping(value = URL_DEBUG_LABELS_MVC, produces = MediaType.APPLICATION_JSON_VALUE, params = KEY_ENABLED) @RequestMapping(value = URL_DEBUG_LABELS_MVC, produces = MediaType.APPLICATION_JSON_VALUE, params = KEY_ENABLED)
public @ResponseBody 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. * @return a {@link java.util.Map} object.
*/ */
private Map<String, Object> createResponse(Boolean enabled) { private Map<String, Object> createResponse(Boolean enabled) {

View File

@ -47,7 +47,6 @@ public class RestartLessonService extends BaseService {
* Returns current lesson * Returns current lesson
* *
* @param session a {@link javax.servlet.http.HttpSession} object. * @param session a {@link javax.servlet.http.HttpSession} object.
* @return a {@link java.lang.String} object.
*/ */
@RequestMapping(value = "/restartlesson.mvc") @RequestMapping(value = "/restartlesson.mvc")
@ResponseStatus(value = HttpStatus.OK) @ResponseStatus(value = HttpStatus.OK)

View File

@ -37,7 +37,7 @@ public class LabelDebugger implements Serializable {
/** /**
* <p>Sets the status to enabled</p> * <p>Sets the status to enabled</p>
* @param enabled * @param enabled {@link org.owasp.webgoat.session.LabelDebugger} object
*/ */
public void setEnabled(boolean enabled) { public void setEnabled(boolean enabled) {
this.enabled = enabled; this.enabled = enabled;