update copyright

This commit is contained in:
Looly
2024-09-06 00:06:14 +08:00
parent b2fcb1077e
commit 3ebaf1a783
855 changed files with 11410 additions and 6755 deletions

View File

@@ -145,7 +145,7 @@ public class JacksonEngine extends AbstractJSONEngine {
try {
aClass = Class.forName(moduleClass);
} catch (final ClassNotFoundException ignore) {
//用户未引入JSR310,则跳过不加载模块
//用户未引入,则跳过不加载模块
return;
}
mapper.registerModule((Module) ConstructorUtil.newInstance(aClass));

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.dromara.hutool.json.engine;
package org.dromara.hutool.json.engine.gson;
import com.google.gson.*;
import org.dromara.hutool.core.date.TimeUtil;
@@ -22,6 +22,8 @@ import org.dromara.hutool.core.lang.Assert;
import org.dromara.hutool.core.text.StrUtil;
import org.dromara.hutool.core.util.ObjUtil;
import org.dromara.hutool.json.JSONException;
import org.dromara.hutool.json.engine.AbstractJSONEngine;
import org.dromara.hutool.json.engine.JSONEngineConfig;
import java.io.Reader;
import java.io.Writer;

View File

@@ -0,0 +1,24 @@
/*
* Copyright (c) 2024 Hutool Team and hutool.cn
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* GSON引擎实现<br>
* 项目https://github.com/google/gson
*
* @author Looly
* @since 6.0.0
*/
package org.dromara.hutool.json.engine.gson;

View File

@@ -0,0 +1,24 @@
/*
* Copyright (c) 2024 Hutool Team and hutool.cn
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Jackson引擎实现<br>
* https://github.com/FasterXML/jackson
*
* @author Looly
* @since 6.0.0
*/
package org.dromara.hutool.json.engine.jackson;

View File

@@ -15,6 +15,6 @@
#
org.dromara.hutool.json.engine.JacksonEngine
org.dromara.hutool.json.engine.GsonEngine
org.dromara.hutool.json.engine.gson.GsonEngine
org.dromara.hutool.json.engine.FastJSON2Engine
org.dromara.hutool.json.engine.HutoolJSONEngine