Skip to content

Commit 5a1d50a

Browse files
committed
Cleanup: Scope.UseInfo.name can be final.
1 parent b82ed3c commit 5a1d50a

File tree

1 file changed

+2
-2
lines changed
  • graal-js/src/com.oracle.js.parser/src/com/oracle/js/parser/ir

1 file changed

+2
-2
lines changed

graal-js/src/com.oracle.js.parser/src/com/oracle/js/parser/ir/Scope.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2019, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0
@@ -759,7 +759,7 @@ private String getScopeKindName() {
759759
*/
760760
static final class UseInfo {
761761
/** Used name. */
762-
String name;
762+
final String name;
763763
/** Resolved scope in which the symbol has been defined. Must be a parent scope. */
764764
Scope def;
765765
/** Local scope in which the symbol is used. */

0 commit comments

Comments
 (0)