mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-29 00:02:34 +00:00
8299187: (bf) ByteOrder.name should be declared final
Reviewed-by: jpai
This commit is contained in:
parent
0532045edb
commit
e09e243116
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 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
|
||||
@ -37,7 +37,7 @@ import jdk.internal.misc.Unsafe;
|
||||
|
||||
public final class ByteOrder {
|
||||
|
||||
private String name;
|
||||
private final String name;
|
||||
|
||||
private ByteOrder(String name) {
|
||||
this.name = name;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user