mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
remove module-info
This commit is contained in:
@@ -1,93 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2025 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @author choweli
|
||||
*/
|
||||
module hutool.core {
|
||||
exports cn.hutool.v7.core.exception;
|
||||
exports cn.hutool.v7.core.lang;
|
||||
exports cn.hutool.v7.core.lang.wrapper;
|
||||
exports cn.hutool.v7.core.text;
|
||||
exports cn.hutool.v7.core.io;
|
||||
exports cn.hutool.v7.core.io.file;
|
||||
exports cn.hutool.v7.core.io.stream;
|
||||
exports cn.hutool.v7.core.io.resource;
|
||||
exports cn.hutool.v7.core.util;
|
||||
exports cn.hutool.v7.core.array;
|
||||
exports cn.hutool.v7.core.codec.binary;
|
||||
exports cn.hutool.v7.core.thread;
|
||||
exports cn.hutool.v7.core.thread.lock;
|
||||
exports cn.hutool.v7.core.map;
|
||||
exports cn.hutool.v7.core.collection;
|
||||
exports cn.hutool.v7.core.spi;
|
||||
exports cn.hutool.v7.core.func;
|
||||
exports cn.hutool.v7.core.lang.caller;
|
||||
exports cn.hutool.v7.core.reflect;
|
||||
exports cn.hutool.v7.core.lang.ansi;
|
||||
exports cn.hutool.v7.core.date;
|
||||
exports cn.hutool.v7.core.lang.getter;
|
||||
exports cn.hutool.v7.core.text.split;
|
||||
exports cn.hutool.v7.core.bean.copier;
|
||||
exports cn.hutool.v7.core.bean.path;
|
||||
exports cn.hutool.v7.core.bean;
|
||||
exports cn.hutool.v7.core.net.url;
|
||||
exports cn.hutool.v7.core.io.watch;
|
||||
exports cn.hutool.v7.core.io.watch.watchers;
|
||||
exports cn.hutool.v7.core.convert;
|
||||
exports cn.hutool.v7.core.regex;
|
||||
exports cn.hutool.v7.core.map.concurrent;
|
||||
exports cn.hutool.v7.core.math;
|
||||
exports cn.hutool.v7.core.collection.set;
|
||||
exports cn.hutool.v7.core.collection.iter;
|
||||
exports cn.hutool.v7.core.reflect.method;
|
||||
exports cn.hutool.v7.core.lang.builder;
|
||||
exports cn.hutool.v7.core.lang.range;
|
||||
exports cn.hutool.v7.core.lang.page;
|
||||
exports cn.hutool.v7.core.classloader;
|
||||
exports cn.hutool.v7.core.pool;
|
||||
exports cn.hutool.v7.core.pool.partition;
|
||||
exports cn.hutool.v7.core.stream;
|
||||
exports cn.hutool.v7.core.lang.tuple;
|
||||
exports cn.hutool.v7.core.codec;
|
||||
exports cn.hutool.v7.core.net;
|
||||
exports cn.hutool.v7.core.map.reference;
|
||||
exports cn.hutool.v7.core.lang.mutable;
|
||||
exports cn.hutool.v7.core.lang.loader;
|
||||
exports cn.hutool.v7.core.comparator;
|
||||
exports cn.hutool.v7.core.date.format;
|
||||
exports cn.hutool.v7.core.lang.copier;
|
||||
exports cn.hutool.v7.core.convert.impl;
|
||||
exports cn.hutool.v7.core.bean.path.node;
|
||||
exports cn.hutool.v7.core.xml;
|
||||
exports cn.hutool.v7.core.reflect.kotlin;
|
||||
exports cn.hutool.v7.core.text.escape;
|
||||
exports cn.hutool.v7.core.annotation;
|
||||
exports cn.hutool.v7.core.map.multi;
|
||||
exports cn.hutool.v7.core.data.id;
|
||||
exports cn.hutool.v7.core.io.buffer;
|
||||
exports cn.hutool.v7.core.reflect.creator;
|
||||
exports cn.hutool.v7.core.compress;
|
||||
exports cn.hutool.v7.core.net.ssl;
|
||||
|
||||
requires java.desktop;
|
||||
requires java.sql;
|
||||
requires java.management;
|
||||
requires java.compiler;
|
||||
requires java.naming;
|
||||
|
||||
}
|
@@ -39,7 +39,7 @@ public class Issue1687Test {
|
||||
final SysUser sysUser = BeanUtil.toBean(sysUserFb, SysUser.class);
|
||||
// 别名错位导致找不到字段
|
||||
Assertions.assertNull(sysUser.getDepart());
|
||||
Assertions.assertEquals(new Long(456L), sysUser.getOrgId());
|
||||
Assertions.assertEquals(Long.valueOf(456L), sysUser.getOrgId());
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -54,8 +54,8 @@ public class Issue1687Test {
|
||||
);
|
||||
final SysUser sysUser = BeanUtil.toBean(sysUserFb, SysUser.class, copyOptions);
|
||||
|
||||
Assertions.assertEquals(new Long(123L), sysUser.getDepart());
|
||||
Assertions.assertEquals(new Long(456L), sysUser.getOrgId());
|
||||
Assertions.assertEquals(Long.valueOf(123L), sysUser.getDepart());
|
||||
Assertions.assertEquals(Long.valueOf(456L), sysUser.getOrgId());
|
||||
}
|
||||
|
||||
@Data
|
||||
|
@@ -35,7 +35,7 @@ public class MapProxyTest {
|
||||
|
||||
final MapProxy mapProxy = new MapProxy(map);
|
||||
final Integer b = mapProxy.getInt("b");
|
||||
Assertions.assertEquals(new Integer(2), b);
|
||||
Assertions.assertEquals(Integer.valueOf(2), b);
|
||||
|
||||
final Set<Object> keys = mapProxy.keySet();
|
||||
Assertions.assertFalse(keys.isEmpty());
|
||||
|
@@ -38,7 +38,7 @@ public class CastUtilTest {
|
||||
map.put(1, 1);
|
||||
|
||||
final Collection<Number> collection2 = CastUtil.castUp(collection);
|
||||
collection2.add(new Double("123.1"));
|
||||
collection2.add(Double.valueOf("123.1"));
|
||||
Assertions.assertSame(collection, collection2);
|
||||
|
||||
final Collection<Integer> collection3 = CastUtil.castDown(collection2);
|
||||
|
@@ -129,11 +129,11 @@ public class ConvertToArrayTest {
|
||||
final Character[] array = ConvertUtil.toCharArray(testStr);
|
||||
|
||||
//包装类型数组
|
||||
Assertions.assertEquals(new Character('a'), array[0]);
|
||||
Assertions.assertEquals(new Character('b'), array[1]);
|
||||
Assertions.assertEquals(new Character('c'), array[2]);
|
||||
Assertions.assertEquals(new Character('d'), array[3]);
|
||||
Assertions.assertEquals(new Character('e'), array[4]);
|
||||
Assertions.assertEquals(Character.valueOf('a'), array[0]);
|
||||
Assertions.assertEquals(Character.valueOf('b'), array[1]);
|
||||
Assertions.assertEquals(Character.valueOf('c'), array[2]);
|
||||
Assertions.assertEquals(Character.valueOf('d'), array[3]);
|
||||
Assertions.assertEquals(Character.valueOf('e'), array[4]);
|
||||
|
||||
//原始类型数组
|
||||
final char[] array2 = ConvertUtil.convert(char[].class, testStr);
|
||||
|
@@ -31,7 +31,7 @@ public class RowKeyTableTest {
|
||||
table.put(1, 2, 3);
|
||||
table.put(1, 6, 4);
|
||||
|
||||
Assertions.assertEquals(new Integer(3), table.get(1, 2));
|
||||
Assertions.assertEquals(Integer.valueOf(3), table.get(1, 2));
|
||||
Assertions.assertNull(table.get(1, 3));
|
||||
|
||||
//判断row和column确定的二维点是否存在
|
||||
|
@@ -27,8 +27,8 @@ public class TableMapTest {
|
||||
tableMap.put("aaa", 111);
|
||||
tableMap.put("bbb", 222);
|
||||
|
||||
Assertions.assertEquals(new Integer(111), tableMap.get("aaa"));
|
||||
Assertions.assertEquals(new Integer(222), tableMap.get("bbb"));
|
||||
Assertions.assertEquals(Integer.valueOf(111), tableMap.get("aaa"));
|
||||
Assertions.assertEquals(Integer.valueOf(222), tableMap.get("bbb"));
|
||||
|
||||
Assertions.assertEquals("aaa", tableMap.getKey(111));
|
||||
Assertions.assertEquals("bbb", tableMap.getKey(222));
|
||||
|
Reference in New Issue
Block a user