Skip to content

Commit

Permalink
Update javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
augustd committed Nov 4, 2020
1 parent 237832b commit cdb973e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/codemagi/burp/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ private Utils() {

/**
* Returns the human-readable tool name for the passed tool flag
*
* @param toolFlag integer identifying the Burp tool to get the name for
*/
public static String getToolName(int toolFlag) {
return noNulls(TOOLS.get(toolFlag));
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/codemagi/burp/parser/HttpRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* <p>
* This class will parse all the header/value pairs and store them in a
* ({@link java.util.LinkedHashMap}), and parse the first line as 'command'. The
* <tt>LinkedHashMap</tt> will assure that an iterator will visit the fields in
* <code>LinkedHashMap</code> will assure that an iterator will visit the fields in
* the order the were originally sent/parsed.
*
* Note that parameters sent in the body of POST requests are not parsed.
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/codemagi/burp/parser/HttpResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* <p>
* This class will parse all the header/value pairs and store them in a
* ({@link java.util.LinkedHashMap}), and parse the first line as 'command'. The
* <tt>LinkedHashMap</tt> will assure that an iterator will visit the fields in
* <code>LinkedHashMap</code> will assure that an iterator will visit the fields in
* the order they were originally sent/parsed.
*
* The body of the HTTP response is stored as-is in the 'body' member.
Expand Down Expand Up @@ -178,7 +178,7 @@ public void addCookie(ICookie newCookie) {
}

/**
* Returns the _first_ cookie matching <tt>cookieName</tt>. Objects returned
* Returns the _first_ cookie matching <code>cookieName</code>. Objects returned
* by this method are of the class burp.impl.Cookie which implements the
* burp.ICookie interface.
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/codemagi/burp/ui/MessagePanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public MessagePanel(int clearDelay) {
* Sets the clear delay: The amount of time (in milliseconds) before
* messages posted to the panel will be automatically cleared.
*
* @param newValue
* @param newValue number of milliseconds for the message to persist
*/
public void setClearDelay(int newValue) {
clearDelay = newValue;
Expand Down

0 comments on commit cdb973e

Please sign in to comment.