Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/java.base/share/classes/java/net/URLDecoder.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import java.nio.charset.UnsupportedCharsetException;
import java.util.HexFormat;
import java.util.Objects;
import org.jspecify.annotations.NullMarked;

/**
* Utility class for HTML form decoding. This class contains static methods
Expand Down Expand Up @@ -81,7 +82,7 @@
* @author Michael McCloskey
* @since 1.2
*/

@NullMarked
public final class URLDecoder {

/**
Expand Down
2 changes: 2 additions & 0 deletions src/java.base/share/classes/java/net/URLEncoder.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
import java.util.function.IntPredicate;

import jdk.internal.util.ImmutableBitSetPredicate;
import org.jspecify.annotations.NullMarked;

/**
* Utility class for HTML form encoding. This class contains static methods
Expand Down Expand Up @@ -84,6 +85,7 @@
* @author Herb Jellinek
* @since 1.0
*/
@NullMarked
public final class URLEncoder {
private static final IntPredicate DONT_NEED_ENCODING;

Expand Down
Loading