From 5a1d50a10492838050400f8961f1e3f152054aad Mon Sep 17 00:00:00 2001 From: Andreas Woess Date: Wed, 14 Feb 2024 13:45:55 +0100 Subject: [PATCH] Cleanup: Scope.UseInfo.name can be final. --- .../src/com/oracle/js/parser/ir/Scope.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graal-js/src/com.oracle.js.parser/src/com/oracle/js/parser/ir/Scope.java b/graal-js/src/com.oracle.js.parser/src/com/oracle/js/parser/ir/Scope.java index 580a8b7bded..f1f6f7aa2ca 100644 --- a/graal-js/src/com.oracle.js.parser/src/com/oracle/js/parser/ir/Scope.java +++ b/graal-js/src/com.oracle.js.parser/src/com/oracle/js/parser/ir/Scope.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The Universal Permissive License (UPL), Version 1.0 @@ -759,7 +759,7 @@ private String getScopeKindName() { */ static final class UseInfo { /** Used name. */ - String name; + final String name; /** Resolved scope in which the symbol has been defined. Must be a parent scope. */ Scope def; /** Local scope in which the symbol is used. */