Skip to content

Commit

Permalink
errorprone :: NotJavadoc (#799)
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-mlb authored May 29, 2024
1 parent b0389bb commit 718d987
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/main/java/emissary/util/magic/MagicNumberFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public static List<MagicNumber> buildMagicNumberList(byte[] configData, @Nullabl
}
} catch (IOException ioe) {
log.error("Caught IOException on buildMagicNumberList (throwing a runtime exception): {}", ioe.getMessage(), ioe);
/** Doing all of this in memory - yes, one could erroneously use one of the IO objects but ... */
// Doing all of this in memory - yes, one could erroneously use one of the IO objects but ...
throw new EmissaryRuntimeException(ioe);
}
return magicNumberList;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public BackwardsTreeScanner(String[] keywordStrings) throws Exception {
*/
public synchronized void resetKeywords(String[] keywordStrings) throws Exception {
// make byte arrays
/** Original list of keywords stored in byte array form. */
// Original list of keywords stored in byte array form.
byte[][] keywords = new byte[keywordStrings.length][];
root = new State((byte) 0); // reset state
// and learn them
Expand Down
16 changes: 5 additions & 11 deletions src/main/java/emissary/util/web/HttpPostParameters.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,16 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/*
$Id$
*/
/**
* Hold onto fielded data that should be posted to a URL
* in x-www-urlencoded format.
*
* For convenience also keep it around in unencoded format
*
* @author MJF, 2000-08-01
*/
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.nio.charset.StandardCharsets;
import javax.annotation.Nullable;

/**
* Hold onto fielded data that should be posted to a URL in x-www-urlencoded format.
*
* For convenience also keep it around in unencoded format
*/
public class HttpPostParameters {

private static final Logger logger = LoggerFactory.getLogger(HttpPostParameters.class);
Expand Down

0 comments on commit 718d987

Please sign in to comment.