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

Commit

Permalink
8299502: Usage of constructors of primitive wrapper classes should be…
Browse files Browse the repository at this point in the history
… avoided in javax.xml API docs

Backport-of: b8852f65a0adcb9ee5693bb6727a0668aa9808bf
  • Loading branch information
Justin Lu authored and naotoj committed Jan 13, 2023
1 parent dc5cc61 commit 87865e0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2009, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -56,7 +56,7 @@
* <p>The following paragraphs describe the namespace and prefix repair algorithm:
*
* <p>The property can be set with the following code line:
* {@code setProperty("javax.xml.stream.isRepairingNamespaces", new Boolean(true|false));}
* {@code setProperty("javax.xml.stream.isRepairingNamespaces", Boolean.TRUE);}
*
* <p>This property specifies that the writer default namespace prefix declarations.
* The default value is false.
Expand Down

1 comment on commit 87865e0

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.