Skip to content

Commit

Permalink
8302981: Fix a typo in the doc comment for java.lang.Record.equals
Browse files Browse the repository at this point in the history
Reviewed-by: jpai
  • Loading branch information
pavelrappo committed Feb 21, 2023
1 parent 644fe0a commit 8b20aa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/java.base/share/classes/java/lang/Record.java
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2019, 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 @@ -115,7 +115,7 @@ protected Record() {}
* <li> If the component is of a reference type, the component is
* considered equal if and only if {@link
* java.util.Objects#equals(Object,Object)
* Objects.equals(this.c, r.c} would return {@code true}.
* Objects.equals(this.c, r.c)} would return {@code true}.
*
* <li> If the component is of a primitive type, using the
* corresponding primitive wrapper class {@code PW} (the
Expand Down

1 comment on commit 8b20aa9

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