From ceb0290335269374da3a366a5d24dd0b7fa722a0 Mon Sep 17 00:00:00 2001 From: Christian Stein Date: Wed, 22 Nov 2023 09:49:37 +0000 Subject: [PATCH] 8320447: Remove obsolete `LintCategory.hidden` Reviewed-by: jjg --- .../share/classes/com/sun/tools/javac/code/Lint.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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; } /**