8320447: Remove obsolete LintCategory.hidden
Reviewed-by: jjg
This commit is contained in:
parent
98edb03abe
commit
ceb0290335
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user