Skip to content

Commit 09d2fae

Browse files
committed
Document null writer contract for JSON encoding
1 parent c06d59d commit 09d2fae

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎core/src/main/java/org/owasp/encoder/Encode.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1455,6 +1455,7 @@ public static String forJson(String input) {
14551455
*
14561456
* @param out where to write encoded output
14571457
* @param input the input string to encode
1458+
* @throws NullPointerException if out is null
14581459
* @throws IOException if thrown by writer
14591460
* @since 1.5.0
14601461
*/

0 commit comments

Comments
 (0)