8299187: (bf) ByteOrder.name should be declared final

Reviewed-by: jpai
This commit is contained in:
Per Minborg 2023-01-02 13:22:19 +00:00 committed by Jaikiran Pai
parent 0532045edb
commit e09e243116

View file

@ -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;