Skip to content

Commit

Permalink
Use <> and fix IDE warning after switch to Java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
markt-asf committed Sep 6, 2021
1 parent b75b020 commit 72d2582
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/src/main/java/jakarta/el/ELUtil.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2019 Oracle and/or its affiliates and others.
* Copyright (c) 1997, 2021 Oracle and/or its affiliates and others.
* All rights reserved.
* Copyright 2004 The Apache Software Foundation
*
Expand Down Expand Up @@ -65,7 +65,7 @@ private ELUtil() {
* each processing thread.
* </p>
*/
private static ThreadLocal<Map<String, ResourceBundle>> instance = new ThreadLocal<Map<String, ResourceBundle>>() {
private static ThreadLocal<Map<String, ResourceBundle>> instance = new ThreadLocal<>() {
@Override
protected Map<String, ResourceBundle> initialValue() {
return (null);
Expand Down

0 comments on commit 72d2582

Please sign in to comment.