diff --git a/.idea/encodings.xml b/.idea/encodings.xml index 5673d5c337..8e75ad790f 100644 --- a/.idea/encodings.xml +++ b/.idea/encodings.xml @@ -1,6 +1,8 @@ + + diff --git a/LICENSE b/LICENSE index b4ef4122d1..a013c5448d 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 wiki-us +Copyright (c) 2024 iSharkFly Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index e84568dff7..00f01d0d19 100644 --- a/README.md +++ b/README.md @@ -5,11 +5,10 @@
提供 iSharkFly.Com 项目中使用的代码

-Java 代码使用的是 JDK 11。 +Java 代码使用的是 JDK 17。 你可以通过单击下面连接后访问我们网站,并且访问我们提供的最新有关 Java 的开发资料。 -* [概述](https://www.cwiki.us/pages/viewpage.action?pageId=37492282) * [社区和讨论](https://www.isharkfly.com/c/computer-program/java/15) # 联系方式 @@ -38,21 +37,21 @@ Java 代码使用的是 JDK 11。 ![](https://cdn.ossez.com/img/cwikius/cwikus-qr-toutiao.png) ## 知乎 + 请关注我们的知乎:https://www.zhihu.com/people/huyuchengus ## 快速导航 在下面的表格中,我们列出了一些比较有用的 CWIKIUS 相关软件开发使用教程的导航,欢迎访问下面的链接获得更多的内容和参与讨论 -| 网站名称 | URL | NOTE | -|----------------|--------------------------------------------------------|----------------------------| -| OSSEZ 社区 | [www.ossez.com](https://www.ossez.com/) | 开放社区,欢迎注册参与讨论 | -| WIKI 维基 | [www.cwiki.us](https://www.cwiki.us/) | 使用 Confluence 部署的 WIKI 知识库 | -| DOCS.OSSEZ.COM | [https://docs.ossez.com/#/](https://docs.ossez.com/#/) | 本手册的编译版本将会部署在这个链接上 | -| CN 博客 | [http://www.cwikius.cn/](http://www.cwikius.cn/) | CWIKIUS.CN 一个有独立思考和温度的清新站 | - -## +| 网站名称 | URL | NOTE | +|--------------------|----------------------------------------------------------------|----------------------------| +| 鲨鱼君-社区 | [www.isharkfly.com](https://www.isharkfly.com/) | 开放社区,欢迎注册参与讨论 | +| WIKI 维基 | [www.cwiki.us](https://www.cwiki.us/) | 使用 Confluence 部署的 WIKI 知识库 | +| DOCS.ISHARKFLY.COM | [https://docs.iSharkfly.com/#/](https://docs.isharkfly.com/#/) | 本手册的编译版本将会部署在这个链接上 | +| CN 博客 | [http://www.cwikius.cn/](http://www.cwikius.cn/) | CWIKIUS.CN 一个有独立思考和温度的清新站 | +## Java 基本类型 | 基本类型 | 大小 | 包装器类型 | |---------|-------|-----------| diff --git a/core-java-modules/core-java-11/pom.xml b/core-java-modules/core-java-11/pom.xml index a16fce9454..3483ab54e7 100644 --- a/core-java-modules/core-java-11/pom.xml +++ b/core-java-modules/core-java-11/pom.xml @@ -7,7 +7,7 @@ 0.1.0-SNAPSHOT core-java-11 jar - http://maven.apache.org + https://maven.apache.org com.ossez.core-java-modules diff --git a/core-java-modules/core-java-strings/README.md b/core-java-modules/core-java-strings/README.md index 8b8f885262..e2b091c8d6 100644 --- a/core-java-modules/core-java-strings/README.md +++ b/core-java-modules/core-java-strings/README.md @@ -3,15 +3,15 @@ 本模块中包含有关 Java 字符串(String)有关的文章。 ### 相关文章 -- [Java 使用 char[] Array 还是 String 存储字符串密码](https://www.ossez.com/t/java-char-array-string/14015) -- [Java 9 中的字符串(String)压缩](https://www.ossez.com/t/java-9-string/14024) +- [Java 使用 char[] Array 还是 String 存储字符串密码](https://www.isharkfly.com/t/java-char-array-string/14015) +- [Java 9 中的字符串(String)压缩](https://www.isharkfly.com/t/java-9-string/14024) - [String Not Empty Test Assertions in Java](https://www.baeldung.com/java-assert-string-not-empty) - [String Performance Hints](https://www.baeldung.com/java-string-performance) - [Java Localization – Formatting Messages](https://www.baeldung.com/java-localization-messages-formatting) - [Java – Generate Random String](https://www.baeldung.com/java-random-string) - [Java String Interview Questions and Answers](https://www.baeldung.com/java-string-interview-questions) -- [Java 多行字符串](https://www.ossez.com/t/java/14049) -- [Java 中的 String Pool 简介](https://www.ossez.com/t/java-string-pool/14017) -- [Java “constant string too long” 编译错误](https://www.ossez.com/t/java-constant-string-too-long/14048) -- [Java 对象如何安全的 toString](https://www.ossez.com/t/java-tostring/14000) -- [编程常用的几种字符编码](https://www.ossez.com/t/topic/14022) +- [Java 多行字符串](https://www.isharkfly.com/t/java/14049) +- [Java 中的 String Pool 简介](https://www.isharkfly.com/t/java-string-pool/14017) +- [Java “constant string too long” 编译错误](https://www.isharkfly.com/t/java-constant-string-too-long/14048) +- [Java 对象如何安全的 toString](https://www.isharkfly.com/t/java-tostring/14000) +- [编程常用的几种字符编码](https://www.isharkfly.com/t/topic/14022) diff --git a/core-java-modules/pom.xml b/core-java-modules/pom.xml index 2eecc00618..cfb968235b 100644 --- a/core-java-modules/pom.xml +++ b/core-java-modules/pom.xml @@ -19,7 +19,7 @@ core-java-8 core-java-8-2 core-java-11 - + core-java-11-2 core-java-annotations core-java-collections core-java-collections-2 diff --git a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/Main.java b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/Main.java similarity index 69% rename from toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/Main.java rename to toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/Main.java index d3c672a160..daa9becab4 100644 --- a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/Main.java +++ b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/Main.java @@ -1,13 +1,4 @@ -package com.ossez.toolkits.codebank; - -import java.util.Properties; -import java.util.concurrent.ExecutorService; - -import com.google.gdata.data.docs.Size; -import org.apache.commons.cli.CommandLine; -import org.apache.commons.cli.CommandLineParser; -import org.apache.commons.cli.GnuParser; -import org.apache.commons.cli.Options; +package com.isharkfly.toolkits.codebank; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/algorithm/objplusclass/CreateObject.java b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/algorithm/objplusclass/CreateObject.java similarity index 84% rename from toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/algorithm/objplusclass/CreateObject.java rename to toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/algorithm/objplusclass/CreateObject.java index 151194d17a..beb97c0ba2 100644 --- a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/algorithm/objplusclass/CreateObject.java +++ b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/algorithm/objplusclass/CreateObject.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.algorithm.objplusclass; +package com.isharkfly.toolkits.codebank.algorithm.objplusclass; /** * diff --git a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/algorithm/overview/FreshJuiceEnums.java b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/algorithm/overview/FreshJuiceEnums.java similarity index 83% rename from toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/algorithm/overview/FreshJuiceEnums.java rename to toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/algorithm/overview/FreshJuiceEnums.java index e0e2d99de4..97eedaed97 100644 --- a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/algorithm/overview/FreshJuiceEnums.java +++ b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/algorithm/overview/FreshJuiceEnums.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.algorithm.overview; +package com.isharkfly.toolkits.codebank.algorithm.overview; /** * Java Tutorial diff --git a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/algorithm/overview/HelloWorld.java b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/algorithm/overview/HelloWorld.java similarity index 82% rename from toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/algorithm/overview/HelloWorld.java rename to toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/algorithm/overview/HelloWorld.java index a37998b31e..1eac9973d5 100644 --- a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/algorithm/overview/HelloWorld.java +++ b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/algorithm/overview/HelloWorld.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.algorithm.overview; +package com.isharkfly.toolkits.codebank.algorithm.overview; /** * Java Tutorial diff --git a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/interview/KayakCountUpDown.java b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/interview/KayakCountUpDown.java similarity index 95% rename from toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/interview/KayakCountUpDown.java rename to toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/interview/KayakCountUpDown.java index 9c4eeda688..a151a1a4f8 100644 --- a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/interview/KayakCountUpDown.java +++ b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/interview/KayakCountUpDown.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.common.interview; +package com.isharkfly.toolkits.codebank.common.interview; import java.util.ArrayList; import java.util.List; diff --git a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/interview/KayakRobotMovement.java b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/interview/KayakRobotMovement.java similarity index 93% rename from toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/interview/KayakRobotMovement.java rename to toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/interview/KayakRobotMovement.java index cb5b9537c8..920d00e07d 100644 --- a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/interview/KayakRobotMovement.java +++ b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/interview/KayakRobotMovement.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.common.interview; +package com.isharkfly.toolkits.codebank.common.interview; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/interview/ManNextFibonacciNumber.java b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/interview/ManNextFibonacciNumber.java similarity index 96% rename from toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/interview/ManNextFibonacciNumber.java rename to toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/interview/ManNextFibonacciNumber.java index 6b0c17ef50..4d97c33f01 100644 --- a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/interview/ManNextFibonacciNumber.java +++ b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/interview/ManNextFibonacciNumber.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.common.interview; +package com.isharkfly.toolkits.codebank.common.interview; import java.io.BufferedReader; import java.io.InputStreamReader; diff --git a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/model/ListNode.java b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/model/ListNode.java similarity index 74% rename from toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/model/ListNode.java rename to toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/model/ListNode.java index 29814fd94a..4ae1d91c24 100644 --- a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/model/ListNode.java +++ b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/model/ListNode.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.common.model; +package com.isharkfly.toolkits.codebank.common.model; /** * diff --git a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/model/TreeNode.java b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/model/TreeNode.java similarity index 77% rename from toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/model/TreeNode.java rename to toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/model/TreeNode.java index e773805229..85e33f8c4d 100644 --- a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/model/TreeNode.java +++ b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/model/TreeNode.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.common.model; +package com.isharkfly.toolkits.codebank.common.model; /** * diff --git a/toolkits/discourse/src/main/java/com/ossez/toolkits/codebank/common/model/entity/BBSOssezForumAttach.java b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/model/entity/BBSOssezForumAttach.java similarity index 94% rename from toolkits/discourse/src/main/java/com/ossez/toolkits/codebank/common/model/entity/BBSOssezForumAttach.java rename to toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/model/entity/BBSOssezForumAttach.java index 7a949bc647..40b6cc9086 100644 --- a/toolkits/discourse/src/main/java/com/ossez/toolkits/codebank/common/model/entity/BBSOssezForumAttach.java +++ b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/model/entity/BBSOssezForumAttach.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.common.model.entity; +package com.isharkfly.toolkits.codebank.common.model.entity; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/toolkits/discourse/src/main/java/com/ossez/toolkits/codebank/common/model/entity/BBSOssezForumPost.java b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/model/entity/BBSOssezForumPost.java similarity index 96% rename from toolkits/discourse/src/main/java/com/ossez/toolkits/codebank/common/model/entity/BBSOssezForumPost.java rename to toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/model/entity/BBSOssezForumPost.java index 3b6e7c3bf0..c21ec3b457 100644 --- a/toolkits/discourse/src/main/java/com/ossez/toolkits/codebank/common/model/entity/BBSOssezForumPost.java +++ b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/model/entity/BBSOssezForumPost.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.common.model.entity; +package com.isharkfly.toolkits.codebank.common.model.entity; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/model/request/TopicRequest.java b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/model/request/TopicRequest.java similarity index 96% rename from toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/model/request/TopicRequest.java rename to toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/model/request/TopicRequest.java index d5d1ee237a..eb563e31e9 100644 --- a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/model/request/TopicRequest.java +++ b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/model/request/TopicRequest.java @@ -1,10 +1,9 @@ -package com.ossez.toolkits.codebank.common.model.request; +package com.isharkfly.toolkits.codebank.common.model.request; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import java.io.Serializable; -import java.util.Objects; /** diff --git a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/model/response/MyFileResponse.java b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/model/response/MyFileResponse.java similarity index 98% rename from toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/model/response/MyFileResponse.java rename to toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/model/response/MyFileResponse.java index 1ffd613eff..003982b9af 100644 --- a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/model/response/MyFileResponse.java +++ b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/model/response/MyFileResponse.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.common.model.response; +package com.isharkfly.toolkits.codebank.common.model.response; import java.io.Serializable; diff --git a/toolkits/discourse/src/main/java/com/ossez/toolkits/codebank/common/model/response/SearchResponse.java b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/model/response/SearchResponse.java similarity index 91% rename from toolkits/discourse/src/main/java/com/ossez/toolkits/codebank/common/model/response/SearchResponse.java rename to toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/model/response/SearchResponse.java index 232ae6aa8c..aa863ab04a 100644 --- a/toolkits/discourse/src/main/java/com/ossez/toolkits/codebank/common/model/response/SearchResponse.java +++ b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/model/response/SearchResponse.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.common.model.response; +package com.isharkfly.toolkits.codebank.common.model.response; import java.io.Serializable; import java.util.Date; diff --git a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/usecase/VarargsCase.java b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/usecase/VarargsCase.java similarity index 92% rename from toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/usecase/VarargsCase.java rename to toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/usecase/VarargsCase.java index d300821e4d..97bdd707c4 100644 --- a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/usecase/VarargsCase.java +++ b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/usecase/VarargsCase.java @@ -1,4 +1,4 @@ -package com.ossez.lang.tutorial.usecases; +package com.isharkfly.toolkits.codebank.common.usecase; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/utils/TreeUtils.java b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/utils/TreeUtils.java similarity index 89% rename from toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/utils/TreeUtils.java rename to toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/utils/TreeUtils.java index 09d8ada76a..6e9d66c943 100644 --- a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/utils/TreeUtils.java +++ b/toolkits/codebank/src/main/java/com/isharkfly/toolkits/codebank/common/utils/TreeUtils.java @@ -1,6 +1,6 @@ -package com.ossez.toolkits.codebank.common.utils; +package com.isharkfly.toolkits.codebank.common.utils; -import com.ossez.toolkits.codebank.common.model.TreeNode; +import com.isharkfly.toolkits.codebank.common.model.TreeNode; import java.util.ArrayList; diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/DataStructureTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/DataStructureTest.java similarity index 93% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/DataStructureTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/DataStructureTest.java index 317b878e4b..80fd5c865d 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/DataStructureTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/DataStructureTest.java @@ -1,6 +1,5 @@ -package com.ossez.toolkits.codebank.tests; +package com.isharkfly.toolkits.codebank.tests; -import junit.framework.TestCase; import org.junit.Test; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/EmptyQuickTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/EmptyQuickTest.java similarity index 96% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/EmptyQuickTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/EmptyQuickTest.java index 539dff5f3a..be3168c815 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/EmptyQuickTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/EmptyQuickTest.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.tests; +package com.isharkfly.toolkits.codebank.tests; import lombok.extern.slf4j.Slf4j; import org.apache.commons.collections.CollectionUtils; diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/LintcodeTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/LintcodeTest.java similarity index 98% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/LintcodeTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/LintcodeTest.java index 21b25848e7..d0fae529bd 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/LintcodeTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/LintcodeTest.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.tests; +package com.isharkfly.toolkits.codebank.tests; import java.util.ArrayList; import java.util.Arrays; @@ -7,7 +7,7 @@ import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; -import com.ossez.toolkits.codebank.common.model.ListNode; +import com.isharkfly.toolkits.codebank.common.model.ListNode; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/SingletonTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/SingletonTest.java similarity index 96% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/SingletonTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/SingletonTest.java index 9e2b343ddc..c06617a1cd 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/SingletonTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/SingletonTest.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.tests; +package com.isharkfly.toolkits.codebank.tests; import org.junit.Test; import org.slf4j.Logger; diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/TreeTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/TreeTest.java similarity index 90% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/TreeTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/TreeTest.java index 691e52c463..81d038ed3a 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/TreeTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/TreeTest.java @@ -1,10 +1,10 @@ -package com.ossez.toolkits.codebank.tests; +package com.isharkfly.toolkits.codebank.tests; import java.util.ArrayList; import java.util.List; -import com.ossez.toolkits.codebank.common.model.TreeNode; -import com.ossez.toolkits.codebank.common.utils.TreeUtils; +import com.isharkfly.toolkits.codebank.common.model.TreeNode; +import com.isharkfly.toolkits.codebank.common.utils.TreeUtils; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/VariableTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/VariableTest.java similarity index 81% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/VariableTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/VariableTest.java index c4aa5d3020..9d6c0f7d44 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/VariableTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/VariableTest.java @@ -1,5 +1,6 @@ -package com.ossez.lang.tutorial.tests; +package com.isharkfly.toolkits.codebank.tests; +import junit.framework.TestCase; import org.junit.Test; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; @@ -7,26 +8,6 @@ import org.junit.jupiter.api.TestInstance; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import junit.framework.TestCase; - -/** - * Object of VariableOssez - * - * @author YuCheng - * - */ - -class OssezVariable { - int s1, s2; - static int s3; - - OssezVariable(int x, int y, int z) { - s1 = x; - s2 = y; - s3 = z; - } -} - /** * * @author YuCheng diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/algorithm/BlankTemplateTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/algorithm/BlankTemplateTest.java similarity index 91% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/algorithm/BlankTemplateTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/algorithm/BlankTemplateTest.java index 714c1f907e..ff33af9ce6 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/algorithm/BlankTemplateTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/algorithm/BlankTemplateTest.java @@ -1,11 +1,10 @@ -package com.ossez.toolkits.codebank.tests.algorithm; +package com.isharkfly.toolkits.codebank.tests.algorithm; import junit.framework.TestCase; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import java.lang.reflect.Array; import java.util.*; import java.util.stream.Collectors; diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/algorithm/PrimeNumbersTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/algorithm/PrimeNumbersTest.java similarity index 95% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/algorithm/PrimeNumbersTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/algorithm/PrimeNumbersTest.java index fafaa9e87c..0316e6762e 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/algorithm/PrimeNumbersTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/algorithm/PrimeNumbersTest.java @@ -1,6 +1,5 @@ -package com.ossez.toolkits.codebank.tests.algorithm; +package com.isharkfly.toolkits.codebank.tests.algorithm; -import org.apache.commons.lang3.math.NumberUtils; import org.apache.commons.math3.primes.Primes; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestInstance; diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/algorithm/VariableTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/algorithm/VariableTest.java similarity index 88% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/algorithm/VariableTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/algorithm/VariableTest.java index d0f2c659f6..e12824653c 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/algorithm/VariableTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/algorithm/VariableTest.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.tests.algorithm; +package com.isharkfly.toolkits.codebank.tests.algorithm; import org.junit.Test; import org.slf4j.Logger; diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/algorithm/WordWrapTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/algorithm/WordWrapTest.java similarity index 97% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/algorithm/WordWrapTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/algorithm/WordWrapTest.java index 099d7ff118..983198e143 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/algorithm/WordWrapTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/algorithm/WordWrapTest.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.tests.algorithm; +package com.isharkfly.toolkits.codebank.tests.algorithm; import org.apache.commons.lang3.StringUtils; import org.junit.jupiter.api.Test; diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/codility/CodilityBinaryGapTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/codility/CodilityBinaryGapTest.java similarity index 95% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/codility/CodilityBinaryGapTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/codility/CodilityBinaryGapTest.java index 9ef0f0c3b8..464e1a059a 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/codility/CodilityBinaryGapTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/codility/CodilityBinaryGapTest.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.tests.codility; +package com.isharkfly.toolkits.codebank.tests.codility; import org.junit.Test; import org.slf4j.Logger; diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/interview/AmazonTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/interview/AmazonTest.java similarity index 98% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/interview/AmazonTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/interview/AmazonTest.java index 8aacd8f4fe..ef3eb71dfd 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/interview/AmazonTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/interview/AmazonTest.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.tests.interview; +package com.isharkfly.toolkits.codebank.tests.interview; import java.util.ArrayList; import java.util.Arrays; diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/interview/BlackboardTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/interview/BlackboardTest.java similarity index 96% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/interview/BlackboardTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/interview/BlackboardTest.java index 26afb20ddf..61e08c8cb7 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/interview/BlackboardTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/interview/BlackboardTest.java @@ -1,6 +1,6 @@ -package com.ossez.toolkits.codebank.tests.interview; +package com.isharkfly.toolkits.codebank.tests.interview; -import com.ossez.toolkits.codebank.common.model.request.TopicRequest; +import com.isharkfly.toolkits.codebank.common.model.request.TopicRequest; import org.apache.commons.lang3.StringUtils; import org.junit.Test; import org.slf4j.Logger; diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/interview/KayakTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/interview/KayakTest.java similarity index 88% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/interview/KayakTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/interview/KayakTest.java index e90e1d27c5..c8b8d15010 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/interview/KayakTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/interview/KayakTest.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.tests.interview; +package com.isharkfly.toolkits.codebank.tests.interview; import static org.junit.Assert.assertEquals; @@ -7,8 +7,8 @@ import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import com.ossez.toolkits.codebank.common.interview.KayakCountUpDown; -import com.ossez.toolkits.codebank.common.interview.KayakRobotMovement; +import com.isharkfly.toolkits.codebank.common.interview.KayakCountUpDown; +import com.isharkfly.toolkits.codebank.common.interview.KayakRobotMovement; /** * diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/interview/LambdaEvensTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/interview/LambdaEvensTest.java similarity index 94% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/interview/LambdaEvensTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/interview/LambdaEvensTest.java index e17e89777d..a7020e6ea0 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/interview/LambdaEvensTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/interview/LambdaEvensTest.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.tests.interview; +package com.isharkfly.toolkits.codebank.tests.interview; import org.junit.Test; import org.slf4j.Logger; diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/interview/MassMutual.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/interview/MassMutual.java similarity index 98% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/interview/MassMutual.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/interview/MassMutual.java index b322242a7c..ddba3ff1fa 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/interview/MassMutual.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/interview/MassMutual.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.tests.interview; +package com.isharkfly.toolkits.codebank.tests.interview; import java.io.File; import java.nio.charset.StandardCharsets; diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/interview/MinimumCoinsTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/interview/MinimumCoinsTest.java similarity index 93% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/interview/MinimumCoinsTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/interview/MinimumCoinsTest.java index aa806bfb7e..46e368d34d 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/interview/MinimumCoinsTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/interview/MinimumCoinsTest.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.tests.interview; +package com.isharkfly.toolkits.codebank.tests.interview; import org.junit.Test; import org.slf4j.Logger; diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/interview/PillPackTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/interview/PillPackTest.java similarity index 97% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/interview/PillPackTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/interview/PillPackTest.java index 3df6538b9f..aa63decc18 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/interview/PillPackTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/interview/PillPackTest.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.tests.interview; +package com.isharkfly.toolkits.codebank.tests.interview; import java.util.ArrayList; import java.util.Arrays; diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/interview/TennaTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/interview/TennaTest.java similarity index 94% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/interview/TennaTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/interview/TennaTest.java index 86e3ad55c8..bf6d3b85f3 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/interview/TennaTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/interview/TennaTest.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.tests.interview; +package com.isharkfly.toolkits.codebank.tests.interview; import java.util.HashMap; diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/interview/WayfairTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/interview/WayfairTest.java similarity index 97% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/interview/WayfairTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/interview/WayfairTest.java index 105141c652..27b23163b0 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/interview/WayfairTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/interview/WayfairTest.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.tests.interview; +package com.isharkfly.toolkits.codebank.tests.interview; import java.math.BigDecimal; import java.util.ArrayList; diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/leetcode/LeetCode0387FirstUniqueCharacterTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/leetcode/LeetCode0387FirstUniqueCharacterTest.java similarity index 95% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/leetcode/LeetCode0387FirstUniqueCharacterTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/leetcode/LeetCode0387FirstUniqueCharacterTest.java index 2ec0e02382..61c6b3fa01 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/leetcode/LeetCode0387FirstUniqueCharacterTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/leetcode/LeetCode0387FirstUniqueCharacterTest.java @@ -1,11 +1,9 @@ -package com.ossez.toolkits.codebank.tests.leetcode; +package com.isharkfly.toolkits.codebank.tests.leetcode; -import com.ossez.toolkits.codebank.common.model.TreeNode; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.Locale; import java.util.Map; diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/lintcode/LintCode0007SerializeAndDeserializeTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/lintcode/LintCode0007SerializeAndDeserializeTest.java similarity index 95% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/lintcode/LintCode0007SerializeAndDeserializeTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/lintcode/LintCode0007SerializeAndDeserializeTest.java index 05fba483a4..624c0a17bb 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/lintcode/LintCode0007SerializeAndDeserializeTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/lintcode/LintCode0007SerializeAndDeserializeTest.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.tests.lintcode; +package com.isharkfly.toolkits.codebank.tests.lintcode; import java.util.ArrayList; @@ -6,7 +6,7 @@ import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import com.ossez.toolkits.codebank.common.model.TreeNode; +import com.isharkfly.toolkits.codebank.common.model.TreeNode; /** *

diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/lintcode/LintCode0035BitOperationTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/lintcode/LintCode0035BitOperationTest.java similarity index 90% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/lintcode/LintCode0035BitOperationTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/lintcode/LintCode0035BitOperationTest.java index 3a5f46ed88..6ddc98d6d9 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/lintcode/LintCode0035BitOperationTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/lintcode/LintCode0035BitOperationTest.java @@ -1,6 +1,6 @@ -package com.ossez.toolkits.codebank.tests.lintcode; +package com.isharkfly.toolkits.codebank.tests.lintcode; -import com.ossez.toolkits.codebank.tests.EmptyQuickTest; +import com.isharkfly.toolkits.codebank.tests.EmptyQuickTest; import org.apache.commons.math3.util.FastMath; import org.junit.jupiter.api.Test; import org.slf4j.Logger; diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/lintcode/LintCode0069LevelOrderTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/lintcode/LintCode0069LevelOrderTest.java similarity index 95% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/lintcode/LintCode0069LevelOrderTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/lintcode/LintCode0069LevelOrderTest.java index 78a738dcc2..1ac1322599 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/lintcode/LintCode0069LevelOrderTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/lintcode/LintCode0069LevelOrderTest.java @@ -1,4 +1,4 @@ -package com.ossez.lang.tutorial.tests.lintcode; +package com.isharkfly.toolkits.codebank.tests.lintcode; import java.util.ArrayList; import java.util.LinkedList; @@ -9,7 +9,7 @@ import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import com.ossez.toolkits.codebank.common.model.TreeNode; +import com.isharkfly.toolkits.codebank.common.model.TreeNode; /** *

diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/lintcode/LintCode0102HasCycleTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/lintcode/LintCode0102HasCycleTest.java similarity index 91% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/lintcode/LintCode0102HasCycleTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/lintcode/LintCode0102HasCycleTest.java index 8bdd3d867d..1757db720e 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/lintcode/LintCode0102HasCycleTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/lintcode/LintCode0102HasCycleTest.java @@ -1,10 +1,10 @@ -package com.ossez.lang.tutorial.tests.lintcode; +package com.isharkfly.toolkits.codebank.tests.lintcode; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import com.ossez.toolkits.codebank.common.model.ListNode; +import com.isharkfly.toolkits.codebank.common.model.ListNode; /** *

diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/lintcode/LintCode0165MergeTwoListsTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/lintcode/LintCode0165MergeTwoListsTest.java similarity index 93% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/lintcode/LintCode0165MergeTwoListsTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/lintcode/LintCode0165MergeTwoListsTest.java index 2633f64505..f9b5952a64 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/lintcode/LintCode0165MergeTwoListsTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/lintcode/LintCode0165MergeTwoListsTest.java @@ -1,10 +1,10 @@ -package com.ossez.lang.tutorial.tests.lintcode; +package com.isharkfly.toolkits.codebank.tests.lintcode; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import com.ossez.toolkits.codebank.common.model.ListNode; +import com.isharkfly.toolkits.codebank.common.model.ListNode; /** *

diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/lintcode/LintCode0425LetterCombinationsTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/lintcode/LintCode0425LetterCombinationsTest.java similarity index 97% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/lintcode/LintCode0425LetterCombinationsTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/lintcode/LintCode0425LetterCombinationsTest.java index 7312cbb993..95561abcdf 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/lintcode/LintCode0425LetterCombinationsTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/lintcode/LintCode0425LetterCombinationsTest.java @@ -1,4 +1,4 @@ -package com.ossez.lang.tutorial.tests.lintcode; +package com.isharkfly.toolkits.codebank.tests.lintcode; import java.util.ArrayList; import java.util.HashMap; diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/lintcode/LintCode0433NumIslandsTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/lintcode/LintCode0433NumIslandsTest.java similarity index 97% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/lintcode/LintCode0433NumIslandsTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/lintcode/LintCode0433NumIslandsTest.java index 534bc9f4d6..e2cac42df1 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/lintcode/LintCode0433NumIslandsTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/lintcode/LintCode0433NumIslandsTest.java @@ -1,4 +1,4 @@ -package com.ossez.lang.tutorial.tests.lintcode; +package com.isharkfly.toolkits.codebank.tests.lintcode; import org.junit.Test; import org.slf4j.Logger; diff --git a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/lintcode/LintCode1480DotProductTest.java b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/lintcode/LintCode1480DotProductTest.java similarity index 92% rename from toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/lintcode/LintCode1480DotProductTest.java rename to toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/lintcode/LintCode1480DotProductTest.java index fb62a811a0..14c509bb42 100644 --- a/toolkits/codebank/src/test/java/com/ossez/toolkits/codebank/tests/lintcode/LintCode1480DotProductTest.java +++ b/toolkits/codebank/src/test/java/com/isharkfly/toolkits/codebank/tests/lintcode/LintCode1480DotProductTest.java @@ -1,4 +1,4 @@ -package com.ossez.lang.tutorial.tests.lintcode; +package com.isharkfly.toolkits.codebank.tests.lintcode; import org.junit.Test; import org.slf4j.Logger; diff --git a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/model/entity/BBSOssezForumAttach.java b/toolkits/discourse/src/main/java/com/isharkfly/toolkits/codebank/common/model/entity/BBSOssezForumAttach.java similarity index 94% rename from toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/model/entity/BBSOssezForumAttach.java rename to toolkits/discourse/src/main/java/com/isharkfly/toolkits/codebank/common/model/entity/BBSOssezForumAttach.java index 7a949bc647..40b6cc9086 100644 --- a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/model/entity/BBSOssezForumAttach.java +++ b/toolkits/discourse/src/main/java/com/isharkfly/toolkits/codebank/common/model/entity/BBSOssezForumAttach.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.common.model.entity; +package com.isharkfly.toolkits.codebank.common.model.entity; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/model/entity/BBSOssezForumPost.java b/toolkits/discourse/src/main/java/com/isharkfly/toolkits/codebank/common/model/entity/BBSOssezForumPost.java similarity index 96% rename from toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/model/entity/BBSOssezForumPost.java rename to toolkits/discourse/src/main/java/com/isharkfly/toolkits/codebank/common/model/entity/BBSOssezForumPost.java index 3b6e7c3bf0..c21ec3b457 100644 --- a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/model/entity/BBSOssezForumPost.java +++ b/toolkits/discourse/src/main/java/com/isharkfly/toolkits/codebank/common/model/entity/BBSOssezForumPost.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.common.model.entity; +package com.isharkfly.toolkits.codebank.common.model.entity; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/toolkits/discourse/src/main/java/com/ossez/toolkits/codebank/common/model/request/TopicRequest.java b/toolkits/discourse/src/main/java/com/isharkfly/toolkits/codebank/common/model/request/TopicRequest.java similarity index 96% rename from toolkits/discourse/src/main/java/com/ossez/toolkits/codebank/common/model/request/TopicRequest.java rename to toolkits/discourse/src/main/java/com/isharkfly/toolkits/codebank/common/model/request/TopicRequest.java index 3e0fa1db22..31d85ab3e3 100644 --- a/toolkits/discourse/src/main/java/com/ossez/toolkits/codebank/common/model/request/TopicRequest.java +++ b/toolkits/discourse/src/main/java/com/isharkfly/toolkits/codebank/common/model/request/TopicRequest.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.common.model.request; +package com.isharkfly.toolkits.codebank.common.model.request; import java.io.Serializable; diff --git a/toolkits/discourse/src/main/java/com/ossez/toolkits/codebank/common/model/response/MyFileResponse.java b/toolkits/discourse/src/main/java/com/isharkfly/toolkits/codebank/common/model/response/MyFileResponse.java similarity index 98% rename from toolkits/discourse/src/main/java/com/ossez/toolkits/codebank/common/model/response/MyFileResponse.java rename to toolkits/discourse/src/main/java/com/isharkfly/toolkits/codebank/common/model/response/MyFileResponse.java index 1ffd613eff..003982b9af 100644 --- a/toolkits/discourse/src/main/java/com/ossez/toolkits/codebank/common/model/response/MyFileResponse.java +++ b/toolkits/discourse/src/main/java/com/isharkfly/toolkits/codebank/common/model/response/MyFileResponse.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.common.model.response; +package com.isharkfly.toolkits.codebank.common.model.response; import java.io.Serializable; diff --git a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/model/response/SearchResponse.java b/toolkits/discourse/src/main/java/com/isharkfly/toolkits/codebank/common/model/response/SearchResponse.java similarity index 91% rename from toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/model/response/SearchResponse.java rename to toolkits/discourse/src/main/java/com/isharkfly/toolkits/codebank/common/model/response/SearchResponse.java index 232ae6aa8c..aa863ab04a 100644 --- a/toolkits/codebank/src/main/java/com/ossez/toolkits/codebank/common/model/response/SearchResponse.java +++ b/toolkits/discourse/src/main/java/com/isharkfly/toolkits/codebank/common/model/response/SearchResponse.java @@ -1,4 +1,4 @@ -package com.ossez.toolkits.codebank.common.model.response; +package com.isharkfly.toolkits.codebank.common.model.response; import java.io.Serializable; import java.util.Date; diff --git a/toolkits/discourse/src/test/java/com/ossez/toolkits/codebank/tests/DiscourseTopicsImportTest.java b/toolkits/discourse/src/test/java/com/isharkfly/toolkits/codebank/tests/DiscourseTopicsImportTest.java similarity index 95% rename from toolkits/discourse/src/test/java/com/ossez/toolkits/codebank/tests/DiscourseTopicsImportTest.java rename to toolkits/discourse/src/test/java/com/isharkfly/toolkits/codebank/tests/DiscourseTopicsImportTest.java index 020b656bb8..74a7a6eb7d 100644 --- a/toolkits/discourse/src/test/java/com/ossez/toolkits/codebank/tests/DiscourseTopicsImportTest.java +++ b/toolkits/discourse/src/test/java/com/isharkfly/toolkits/codebank/tests/DiscourseTopicsImportTest.java @@ -1,8 +1,8 @@ -package com.ossez.toolkits.codebank.tests; +package com.isharkfly.toolkits.codebank.tests; import com.google.gson.Gson; -import com.ossez.toolkits.codebank.common.model.entity.BBSOssezForumPost; -import com.ossez.toolkits.codebank.common.model.request.TopicRequest; +import com.isharkfly.toolkits.codebank.common.model.entity.BBSOssezForumPost; +import com.isharkfly.toolkits.codebank.common.model.request.TopicRequest; import org.apache.commons.io.FileUtils; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.math.NumberUtils;