LC: rework modality of enum class
It is abstract if it has abstract member. It is final if it doesn't have enum entries that need subclass. Otherwise, it is open (i.e., no modifier) ^KT-57567 Fixed
This commit is contained in:
committed by
Ilya Kirillov
parent
7930885131
commit
7f1424737e
@@ -86,7 +86,7 @@ static final class PLUS /* IntArithmetics.PLUS*/ extends IntArithmetics {
|
||||
public int apply(int, int);// apply(int, int)
|
||||
}
|
||||
|
||||
public enum ProtocolState /* ProtocolState*/ {
|
||||
public abstract enum ProtocolState /* ProtocolState*/ {
|
||||
WAITING {
|
||||
WAITING();// .ctor()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user