mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8339115: Rename TypeKind enum constants to follow code style
Reviewed-by: asotona
This commit is contained in:
parent
fef1ef7dfe
commit
25e03b5209
38 changed files with 725 additions and 638 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2022, 2024, 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
|
||||
|
@ -50,6 +50,6 @@ public sealed interface DoubleEntry
|
|||
*/
|
||||
@Override
|
||||
default TypeKind typeKind() {
|
||||
return TypeKind.DoubleType;
|
||||
return TypeKind.DOUBLE;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2022, 2024, 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
|
||||
|
@ -51,6 +51,6 @@ public sealed interface FloatEntry
|
|||
*/
|
||||
@Override
|
||||
default TypeKind typeKind() {
|
||||
return TypeKind.FloatType;
|
||||
return TypeKind.FLOAT;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2022, 2024, 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
|
||||
|
@ -50,6 +50,6 @@ public sealed interface IntegerEntry
|
|||
*/
|
||||
@Override
|
||||
default TypeKind typeKind() {
|
||||
return TypeKind.IntType;
|
||||
return TypeKind.INT;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2022, 2024, 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
|
||||
|
@ -48,6 +48,6 @@ public sealed interface LoadableConstantEntry extends PoolEntry
|
|||
* {@return the type of the constant}
|
||||
*/
|
||||
default TypeKind typeKind() {
|
||||
return TypeKind.ReferenceType;
|
||||
return TypeKind.REFERENCE;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2022, 2024, 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
|
||||
|
@ -50,6 +50,6 @@ public sealed interface LongEntry
|
|||
*/
|
||||
@Override
|
||||
default TypeKind typeKind() {
|
||||
return TypeKind.LongType;
|
||||
return TypeKind.LONG;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue