Skip to content
This repository was archived by the owner on Apr 24, 2023. It is now read-only.
/ jdk20 Public archive

Commit 87865e0

Browse files
Justin Lunaotoj
Justin Lu
authored andcommitted
8299502: Usage of constructors of primitive wrapper classes should be avoided in javax.xml API docs
Backport-of: b8852f65a0adcb9ee5693bb6727a0668aa9808bf
1 parent dc5cc61 commit 87865e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/java.xml/share/classes/javax/xml/stream/XMLOutputFactory.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2009, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2009, 2023, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -56,7 +56,7 @@
5656
* <p>The following paragraphs describe the namespace and prefix repair algorithm:
5757
*
5858
* <p>The property can be set with the following code line:
59-
* {@code setProperty("javax.xml.stream.isRepairingNamespaces", new Boolean(true|false));}
59+
* {@code setProperty("javax.xml.stream.isRepairingNamespaces", Boolean.TRUE);}
6060
*
6161
* <p>This property specifies that the writer default namespace prefix declarations.
6262
* The default value is false.

0 commit comments

Comments
 (0)