8320447: Remove obsolete LintCategory.hidden

Reviewed-by: jjg
This commit is contained in:
Christian Stein 2023-11-22 09:49:37 +00:00
parent 98edb03abe
commit ceb0290335

View File

@ -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;
}
/**