diff --git a/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Lint.java b/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Lint.java index de37229f68f..92b2a773ffa 100644 --- a/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Lint.java +++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Lint.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 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 @@ -349,12 +349,7 @@ public class Lint RESTRICTED("restricted"); LintCategory(String option) { - this(option, false); - } - - LintCategory(String option, boolean hidden) { this.option = option; - this.hidden = hidden; map.put(option, this); } @@ -363,7 +358,6 @@ public class Lint } public final String option; - public final boolean hidden; } /**