From 126b2a19e7e5b27d67c1357a617cadbe28564bc5 Mon Sep 17 00:00:00 2001 From: yushijinhun Date: Sun, 18 Feb 2018 16:01:21 +0800 Subject: [PATCH] =?UTF-8?q?ReflectionHelper=E4=B8=AD=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E5=8C=96=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jackhuang/hmcl/util/ReflectionHelper.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/HMCLCore/src/main/java/org/jackhuang/hmcl/util/ReflectionHelper.java b/HMCLCore/src/main/java/org/jackhuang/hmcl/util/ReflectionHelper.java index f2eb46ffe..3fb336020 100644 --- a/HMCLCore/src/main/java/org/jackhuang/hmcl/util/ReflectionHelper.java +++ b/HMCLCore/src/main/java/org/jackhuang/hmcl/util/ReflectionHelper.java @@ -52,14 +52,14 @@ public final class ReflectionHelper { } PRIMITIVES = Lang.mapOf( - new Pair("byte", Byte.class), - new Pair("short", Short.class), - new Pair("int", Integer.class), - new Pair("long", Long.class), - new Pair("char", Character.class), - new Pair("float", Float.class), - new Pair("double", Double.class), - new Pair("boolean", Boolean.class) + new Pair<>("byte", Byte.class), + new Pair<>("short", Short.class), + new Pair<>("int", Integer.class), + new Pair<>("long", Long.class), + new Pair<>("char", Character.class), + new Pair<>("float", Float.class), + new Pair<>("double", Double.class), + new Pair<>("boolean", Boolean.class) ); }