Skip to content

Commit

Permalink
8309958: Incorrect @SInCE tag format in Container.java
Browse files Browse the repository at this point in the history
Reviewed-by: dmarkov
  • Loading branch information
Harshitha Onkar committed Jun 14, 2023
1 parent 57b8251 commit ee4ab67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/java.desktop/share/classes/java/awt/Container.java
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ private void checkAdding(Component comp, int index) {
* index without calling removeNotify.
* Note: Should be called while holding treeLock
* Returns whether removeNotify was invoked
* @since: 1.5
* @since 1.5
*/
private boolean removeDelicately(Component comp, Container newParent, int newIndex) {
checkTreeLock();
Expand Down Expand Up @@ -687,7 +687,7 @@ Container getHeavyweightContainer() {
* removeNotify on the component. Since removeNotify destroys native window this might (not)
* be required. For example, if new container and old containers are the same we don't need to
* destroy native window.
* @since: 1.5
* @since 1.5
*/
private static boolean isRemoveNotifyNeeded(Component comp, Container oldContainer, Container newContainer) {
if (oldContainer == null) { // Component didn't have parent - no removeNotify
Expand Down

1 comment on commit ee4ab67

@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.