diff --git a/hutool-core/src/main/java/org/dromara/hutool/core/array/ArrayWrapper.java b/hutool-core/src/main/java/org/dromara/hutool/core/array/ArrayWrapper.java index a0ef6bba2..eec4d35a8 100644 --- a/hutool-core/src/main/java/org/dromara/hutool/core/array/ArrayWrapper.java +++ b/hutool-core/src/main/java/org/dromara/hutool/core/array/ArrayWrapper.java @@ -1,3 +1,15 @@ +/* + * Copyright (c) 2023 looly(loolly@aliyun.com) + * Hutool is licensed under Mulan PSL v2. + * You can use this software according to the terms and conditions of the Mulan PSL v2. + * You may obtain a copy of Mulan PSL v2 at: + * https://license.coscl.org.cn/MulanPSL2 + * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, + * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, + * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. + * See the Mulan PSL v2 for more details. + */ + package org.dromara.hutool.core.array; import org.dromara.hutool.core.collection.iter.ArrayIter; diff --git a/hutool-core/src/main/java/org/dromara/hutool/core/collection/iter/FilterIter.java b/hutool-core/src/main/java/org/dromara/hutool/core/collection/iter/FilterIter.java index f8a52a29a..e92bb2afe 100644 --- a/hutool-core/src/main/java/org/dromara/hutool/core/collection/iter/FilterIter.java +++ b/hutool-core/src/main/java/org/dromara/hutool/core/collection/iter/FilterIter.java @@ -22,7 +22,7 @@ import java.util.function.Predicate; * 包装 {@link Iterator}并根据{@link Predicate}定义,过滤元素输出
* 类实现来自Apache Commons Collection * - * @author apache commons, looly + * @author mina commons, looly * @since 5.8.0 */ public class FilterIter implements Iterator { diff --git a/hutool-core/src/main/java/org/dromara/hutool/core/collection/iter/NodeListIter.java b/hutool-core/src/main/java/org/dromara/hutool/core/collection/iter/NodeListIter.java index b1df13853..d72387912 100644 --- a/hutool-core/src/main/java/org/dromara/hutool/core/collection/iter/NodeListIter.java +++ b/hutool-core/src/main/java/org/dromara/hutool/core/collection/iter/NodeListIter.java @@ -24,7 +24,7 @@ import java.util.NoSuchElementException; *

* 此 iterator 不支持 {@link #remove()} 方法。 * - * @author apache commons,looly + * @author mina commons,looly * @see NodeList * @since 5.8.0 */ diff --git a/hutool-core/src/main/java/org/dromara/hutool/core/collection/queue/LinkedDeque.java b/hutool-core/src/main/java/org/dromara/hutool/core/collection/queue/LinkedDeque.java index 0501830c7..124223db2 100755 --- a/hutool-core/src/main/java/org/dromara/hutool/core/collection/queue/LinkedDeque.java +++ b/hutool-core/src/main/java/org/dromara/hutool/core/collection/queue/LinkedDeque.java @@ -1,17 +1,13 @@ /* - * Copyright 2011 Google Inc. All Rights Reserved. - * - * 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. + * Copyright (c) 2023 looly(loolly@aliyun.com) + * Hutool is licensed under Mulan PSL v2. + * You can use this software according to the terms and conditions of the Mulan PSL v2. + * You may obtain a copy of Mulan PSL v2 at: + * https://license.coscl.org.cn/MulanPSL2 + * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, + * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, + * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. + * See the Mulan PSL v2 for more details. */ package org.dromara.hutool.core.collection.queue; diff --git a/hutool-core/src/main/java/org/dromara/hutool/core/compress/InflaterInputStream.java b/hutool-core/src/main/java/org/dromara/hutool/core/compress/InflaterInputStream.java index d6d26fa48..85ef4c713 100644 --- a/hutool-core/src/main/java/org/dromara/hutool/core/compress/InflaterInputStream.java +++ b/hutool-core/src/main/java/org/dromara/hutool/core/compress/InflaterInputStream.java @@ -21,7 +21,7 @@ import java.util.zip.Inflater; /** * {@link java.util.zip.InflaterInputStream}包装实现,实现"deflate"算法解压
- * 参考:org.apache.hc.client5.http.entity.DeflateInputStream + * 参考:org.mina.hc.client5.http.entity.DeflateInputStream * * @author looly */ diff --git a/hutool-core/src/main/java/org/dromara/hutool/core/io/ByteOrderMark.java b/hutool-core/src/main/java/org/dromara/hutool/core/io/ByteOrderMark.java index 4aeb01b13..78c1bb20e 100644 --- a/hutool-core/src/main/java/org/dromara/hutool/core/io/ByteOrderMark.java +++ b/hutool-core/src/main/java/org/dromara/hutool/core/io/ByteOrderMark.java @@ -1,3 +1,15 @@ +/* + * Copyright (c) 2023 looly(loolly@aliyun.com) + * Hutool is licensed under Mulan PSL v2. + * You can use this software according to the terms and conditions of the Mulan PSL v2. + * You may obtain a copy of Mulan PSL v2 at: + * https://license.coscl.org.cn/MulanPSL2 + * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, + * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, + * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. + * See the Mulan PSL v2 for more details. + */ + package org.dromara.hutool.core.io; import org.dromara.hutool.core.lang.Assert; diff --git a/hutool-core/src/main/java/org/dromara/hutool/core/io/CircularByteBuffer.java b/hutool-core/src/main/java/org/dromara/hutool/core/io/CircularByteBuffer.java index ee4bc4943..0d1d486bf 100644 --- a/hutool-core/src/main/java/org/dromara/hutool/core/io/CircularByteBuffer.java +++ b/hutool-core/src/main/java/org/dromara/hutool/core/io/CircularByteBuffer.java @@ -17,7 +17,7 @@ import java.util.Objects; /** * 循环缓冲区 * - * @author apache commons io + * @author mina commons io */ public class CircularByteBuffer { private final byte[] buffer; diff --git a/hutool-core/src/main/java/org/dromara/hutool/core/map/concurrent/ConcurrentLinkedHashMap.java b/hutool-core/src/main/java/org/dromara/hutool/core/map/concurrent/ConcurrentLinkedHashMap.java index fa42d9f8b..5dd17194e 100755 --- a/hutool-core/src/main/java/org/dromara/hutool/core/map/concurrent/ConcurrentLinkedHashMap.java +++ b/hutool-core/src/main/java/org/dromara/hutool/core/map/concurrent/ConcurrentLinkedHashMap.java @@ -1,17 +1,13 @@ /* - * Copyright 2010 Google Inc. All Rights Reserved. - * - * 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. + * Copyright (c) 2023 looly(loolly@aliyun.com) + * Hutool is licensed under Mulan PSL v2. + * You can use this software according to the terms and conditions of the Mulan PSL v2. + * You may obtain a copy of Mulan PSL v2 at: + * https://license.coscl.org.cn/MulanPSL2 + * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, + * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, + * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. + * See the Mulan PSL v2 for more details. */ package org.dromara.hutool.core.map.concurrent; diff --git a/hutool-core/src/main/java/org/dromara/hutool/core/map/concurrent/EntryWeigher.java b/hutool-core/src/main/java/org/dromara/hutool/core/map/concurrent/EntryWeigher.java index 14f78699e..ccf479536 100755 --- a/hutool-core/src/main/java/org/dromara/hutool/core/map/concurrent/EntryWeigher.java +++ b/hutool-core/src/main/java/org/dromara/hutool/core/map/concurrent/EntryWeigher.java @@ -1,17 +1,13 @@ /* - * Copyright 2012 Google Inc. All Rights Reserved. - * - * 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. + * Copyright (c) 2023 looly(loolly@aliyun.com) + * Hutool is licensed under Mulan PSL v2. + * You can use this software according to the terms and conditions of the Mulan PSL v2. + * You may obtain a copy of Mulan PSL v2 at: + * https://license.coscl.org.cn/MulanPSL2 + * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, + * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, + * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. + * See the Mulan PSL v2 for more details. */ package org.dromara.hutool.core.map.concurrent; diff --git a/hutool-core/src/main/java/org/dromara/hutool/core/map/concurrent/Weigher.java b/hutool-core/src/main/java/org/dromara/hutool/core/map/concurrent/Weigher.java index bd54810f7..f21df5aca 100755 --- a/hutool-core/src/main/java/org/dromara/hutool/core/map/concurrent/Weigher.java +++ b/hutool-core/src/main/java/org/dromara/hutool/core/map/concurrent/Weigher.java @@ -1,17 +1,13 @@ /* - * Copyright 2010 Google Inc. All Rights Reserved. - * - * 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. + * Copyright (c) 2023 looly(loolly@aliyun.com) + * Hutool is licensed under Mulan PSL v2. + * You can use this software according to the terms and conditions of the Mulan PSL v2. + * You may obtain a copy of Mulan PSL v2 at: + * https://license.coscl.org.cn/MulanPSL2 + * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, + * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, + * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. + * See the Mulan PSL v2 for more details. */ package org.dromara.hutool.core.map.concurrent; diff --git a/hutool-core/src/main/java/org/dromara/hutool/core/map/concurrent/Weighers.java b/hutool-core/src/main/java/org/dromara/hutool/core/map/concurrent/Weighers.java index 0949b586a..62f98e789 100755 --- a/hutool-core/src/main/java/org/dromara/hutool/core/map/concurrent/Weighers.java +++ b/hutool-core/src/main/java/org/dromara/hutool/core/map/concurrent/Weighers.java @@ -1,17 +1,13 @@ /* - * Copyright 2010 Google Inc. All Rights Reserved. - * - * 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. + * Copyright (c) 2023 looly(loolly@aliyun.com) + * Hutool is licensed under Mulan PSL v2. + * You can use this software according to the terms and conditions of the Mulan PSL v2. + * You may obtain a copy of Mulan PSL v2 at: + * https://license.coscl.org.cn/MulanPSL2 + * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, + * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, + * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. + * See the Mulan PSL v2 for more details. */ package org.dromara.hutool.core.map.concurrent; diff --git a/hutool-core/src/main/java/org/dromara/hutool/core/map/concurrent/package-info.java b/hutool-core/src/main/java/org/dromara/hutool/core/map/concurrent/package-info.java index acbed3583..71693e11a 100755 --- a/hutool-core/src/main/java/org/dromara/hutool/core/map/concurrent/package-info.java +++ b/hutool-core/src/main/java/org/dromara/hutool/core/map/concurrent/package-info.java @@ -1,17 +1,13 @@ /* - * Copyright 2011 Google Inc. All Rights Reserved. - * - * 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. + * Copyright (c) 2023 looly(loolly@aliyun.com) + * Hutool is licensed under Mulan PSL v2. + * You can use this software according to the terms and conditions of the Mulan PSL v2. + * You may obtain a copy of Mulan PSL v2 at: + * https://license.coscl.org.cn/MulanPSL2 + * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, + * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, + * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. + * See the Mulan PSL v2 for more details. */ /** diff --git a/hutool-core/src/main/java/org/dromara/hutool/core/net/ProxySocketFactory.java b/hutool-core/src/main/java/org/dromara/hutool/core/net/ProxySocketFactory.java index 17fffc8f1..7d217d3a8 100644 --- a/hutool-core/src/main/java/org/dromara/hutool/core/net/ProxySocketFactory.java +++ b/hutool-core/src/main/java/org/dromara/hutool/core/net/ProxySocketFactory.java @@ -1,3 +1,15 @@ +/* + * Copyright (c) 2023 looly(loolly@aliyun.com) + * Hutool is licensed under Mulan PSL v2. + * You can use this software according to the terms and conditions of the Mulan PSL v2. + * You may obtain a copy of Mulan PSL v2 at: + * https://license.coscl.org.cn/MulanPSL2 + * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, + * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, + * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. + * See the Mulan PSL v2 for more details. + */ + package org.dromara.hutool.core.net; import javax.net.SocketFactory; diff --git a/hutool-core/src/main/java/org/dromara/hutool/core/reflect/ClassDescUtil.java b/hutool-core/src/main/java/org/dromara/hutool/core/reflect/ClassDescUtil.java index 126efd19f..92109bd48 100644 --- a/hutool-core/src/main/java/org/dromara/hutool/core/reflect/ClassDescUtil.java +++ b/hutool-core/src/main/java/org/dromara/hutool/core/reflect/ClassDescUtil.java @@ -27,7 +27,7 @@ import java.security.ProtectionDomain; /** * 类描述工具类
- * 来自:org.apache.dubbo.common.utils.ReflectUtils
+ * 来自:org.mina.dubbo.common.utils.ReflectUtils
* 在字节码中,类型表示如下: *