Skip to content

Commit

Permalink
Add javadoc to note class WhitelistClass should be final
Browse files Browse the repository at this point in the history
Signed-off-by: Tianli Feng <ftianli@amazon.com>
  • Loading branch information
Tianli Feng committed Aug 3, 2022
1 parent 355b748 commit 50ade46
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
* Classes will automatically extend other allowlisted classes if the Java class they represent is a
* subclass of other classes including Java interfaces.
*
* @deprecated As of 2.2, because supporting inclusive language, replaced by {@link AllowlistClass}
* @deprecated As of 2.2, because supporting inclusive language, replaced by {@link AllowlistClass}. The class was declared with final keyword.
*/
@Deprecated
public class WhitelistClass {
Expand All @@ -78,7 +78,7 @@ public class WhitelistClass {
public final Map<Class<?>, Object> painlessAnnotations;

/** Standard constructor. All values must be not {@code null}. */
WhitelistClass(
public WhitelistClass(
String origin,
String javaClassName,
List<WhitelistConstructor> allowlistConstructors,
Expand Down

0 comments on commit 50ade46

Please sign in to comment.