Skip to content

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

Reviewed-by: joehw, naoto, lancea
  • Loading branch information
justin-curtis-lu authored and naotoj committed Jan 9, 2023
1 parent 679e485 commit b8852f6
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

3 comments on commit b8852f6

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

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

@justin-curtis-lu
Copy link
Member Author

Choose a reason for hiding this comment

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

/backport jdk20

@openjdk
Copy link

@openjdk openjdk bot commented on b8852f6 Jan 13, 2023

Choose a reason for hiding this comment

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

@justin-curtis-lu the backport was successfully created on the branch justin-curtis-lu-backport-b8852f65 in my personal fork of openjdk/jdk20. To create a pull request with this backport targeting openjdk/jdk20:master, just click the following link:

➡️ Create pull request

The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:

Hi all,

This pull request contains a backport of commit b8852f65 from the openjdk/jdk repository.

The commit being backported was authored by Justin Lu on 9 Jan 2023 and was reviewed by Joe Wang, Naoto Sato and Lance Andersen.

Thanks!

If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jdk20:

$ git fetch https://github.com/openjdk-bots/jdk20 justin-curtis-lu-backport-b8852f65:justin-curtis-lu-backport-b8852f65
$ git checkout justin-curtis-lu-backport-b8852f65
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/jdk20 justin-curtis-lu-backport-b8852f65

Please sign in to comment.