Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
hongweikang committed Jul 24, 2022
1 parent 55bb7b9 commit 1034604
Show file tree
Hide file tree
Showing 82 changed files with 197 additions and 187 deletions.
42 changes: 26 additions & 16 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>com.kaing</groupId>
<artifactId>OneMillion</artifactId>
<groupId>com.sucre</groupId>
<artifactId>BusinessCode</artifactId>
<version>1.0.0</version>
<name>one-million</name>
<name>business code</name>

<properties>
<spring.version>4.1.6.RELEASE</spring.version>
Expand All @@ -25,23 +25,27 @@

<repositories>
<repository>
<id>central</id>
<name>Maven Repository Switchboard</name>
<layout>default</layout>
<url>http://repo1.maven.org/maven2</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central-repos</id>
<name>Central Repository</name>
<url>http://repo.maven.apache.org/maven2</url>
</repository>

<repository>
<id>central-repos1</id>
<name>Central Repository 2</name>
<url>http://repo1.maven.org/maven2/</url>
</repository>

<repository>
<id>com.springsource.repository.bundles.release</id>
<name>EBR Spring Release Repository</name>
<url>http://repository.springsource.com/maven/bundles/release</url>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
</repository>

<repository>
<id>com.springsource.repository.bundles.external</id>
<name>EBR External Release Repository</name>
<url>http://repository.springsource.com/maven/bundles/external</url>
<id>springsource-repos</id>
<name>SpringSource Repository</name>
<url>http://repo.spring.io/release/</url>
</repository>
</repositories>

Expand Down Expand Up @@ -315,6 +319,12 @@
</exclusions>
</dependency>

<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2</artifactId>
<version>2.0.8</version>
</dependency>

<!-- test dependencies -->
<dependency>
<groupId>org.hamcrest</groupId>
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.kaing.algorithm.kmp;
package com.sucre.algorithm.kmp;

/**
* User: kaing
* User: sucre
* Date: 28/02/2017
* Time: 9:13 PM
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.kaing.algorithm.kmp;
package com.sucre.algorithm.kmp;

import org.junit.Test;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.core.Is.is;

/**
* User: kaing
* User: sucre
* Date: 23/04/2017
* Time: 3:28 PM
* <p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.kaing.algorithm.leetcode;
package com.sucre.algorithm.leetcode;

import org.apache.commons.lang3.ArrayUtils;
import org.junit.Test;
Expand All @@ -10,7 +10,7 @@
import static org.junit.Assert.assertThat;

/**
* User: kaing
* User: sucre
* Date: 20/02/2017
* Time: 12:42 PM
* <p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.kaing.algorithm.leetcode;
package com.sucre.algorithm.leetcode;

import org.junit.Test;

Expand All @@ -11,7 +11,7 @@
import static org.junit.Assert.assertThat;

/**
* User: kaing
* User: sucre
* Date: 20/02/2017
* Time: 1:00 PM
* <p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.kaing.algorithm.leetcode;
package com.sucre.algorithm.leetcode;

import org.junit.Test;

import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;

/**
* User: kaing
* User: sucre
* Date: 20/02/2017
* Time: 3:37 PM
* <p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.kaing.algorithm.leetcode;
package com.sucre.algorithm.leetcode;

import org.junit.Test;

import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;

/**
* User: kaing
* User: sucre
* Date: 21/02/2017
* Time: 2:33 PM
* <p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.kaing.algorithm.leetcode;
package com.sucre.algorithm.leetcode;

import org.junit.Test;

import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;

/**
* User: kaing
* User: sucre
* Date: 22/02/2017
* Time: 12:22 AM
* <p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.kaing.algorithm.leetcode;
package com.sucre.algorithm.leetcode;

import org.junit.Test;

import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;

/**
* User: kaing
* User: sucre
* Date: 24/02/2017
* Time: 10:28 AM
* <p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.kaing.algorithm.leetcode;
package com.sucre.algorithm.leetcode;

import org.junit.Test;

import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;

/**
* User: kaing
* User: sucre
* Date: 24/02/2017
* Time: 4:04 PM
* <p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.kaing.algorithm.leetcode;
package com.sucre.algorithm.leetcode;

import org.junit.Test;

import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;

/**
* User: kaing
* User: sucre
* Date: 27/02/2017
* Time: 12:37 PM
* <p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.kaing.algorithm.leetcode;
package com.sucre.algorithm.leetcode;

import org.junit.Test;

import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;

/**
* User: kaing
* User: sucre
* Date: 27/02/2017
* Time: 5:45 PM
* <p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.kaing.algorithm.leetcode;
package com.sucre.algorithm.leetcode;

import org.junit.Test;

import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;

/**
* User: kaing
* User: sucre
* Date: 28/02/2017
* Time: 9:21 PM
* <p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.kaing.algorithm.leetcode;
package com.sucre.algorithm.leetcode;

import org.junit.Test;

import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;

/**
* User: kaing
* User: sucre
* Date: 28/02/2017
* Time: 10:25 PM
* <p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.kaing.algorithm.leetcode;
package com.sucre.algorithm.leetcode;

import org.junit.Test;

import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;

/**
* User: kaing
* User: sucre
* Date: 01/03/2017
* Time: 8:39 PM
* <p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.kaing.algorithm.leetcode;
package com.sucre.algorithm.leetcode;

import org.junit.Test;

Expand All @@ -8,7 +8,7 @@
import static org.junit.Assert.assertThat;

/**
* User: kaing
* User: sucre
* Date: 01/03/2017
* Time: 10:41 PM
* <p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.kaing.algorithm.leetcode;
package com.sucre.algorithm.leetcode;

import org.junit.Test;

Expand All @@ -10,7 +10,7 @@
import static org.junit.Assert.assertThat;

/**
* User: kaing
* User: sucre
* Date: 02/03/2017
* Time: 8:04 PM
* <p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.kaing.algorithm.leetcode;
package com.sucre.algorithm.leetcode;

import org.junit.Test;

Expand All @@ -8,7 +8,7 @@
import static org.junit.Assert.assertThat;

/**
* User: kaing
* User: sucre
* Date: 03/03/2017
* Time: 12:21 AM
* <p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.kaing.algorithm.leetcode;
package com.sucre.algorithm.leetcode;

import org.junit.Test;

Expand All @@ -10,7 +10,7 @@
import static org.hamcrest.core.Is.is;

/**
* User: kaing
* User: sucre
* Date: 03/03/2017
* Time: 4:31 PM
* <p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.kaing.algorithm.leetcode;
package com.sucre.algorithm.leetcode;

import org.junit.Test;

Expand All @@ -10,7 +10,7 @@
import static org.hamcrest.core.Is.is;

/**
* User: kaing
* User: sucre
* Date: 06/03/2017
* Time: 11:48 AM
* <p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package com.kaing.algorithm.leetcode;
package com.sucre.algorithm.leetcode;

import com.kaing.algorithm.leetcode.helper.ListNode;
import com.sucre.algorithm.leetcode.helper.ListNode;
import org.junit.Test;

import static org.hamcrest.CoreMatchers.nullValue;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.core.Is.is;

/**
* User: kaing
* User: sucre
* Date: 06/03/2017
* Time: 2:41 PM
* <p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.kaing.algorithm.leetcode;
package com.sucre.algorithm.leetcode;

import org.junit.Test;

Expand All @@ -9,7 +9,7 @@
import static org.hamcrest.core.Is.is;

/**
* User: kaing
* User: sucre
* Date: 06/03/2017
* Time: 6:10 PM
* <p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package com.kaing.algorithm.leetcode;
package com.sucre.algorithm.leetcode;

import com.kaing.algorithm.leetcode.helper.ListNode;
import com.sucre.algorithm.leetcode.helper.ListNode;
import org.junit.Test;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.core.Is.is;

/**
* User: kaing
* User: sucre
* Date: 01/04/2017
* Time: 4:53 PM
* <p>
Expand Down
Loading

0 comments on commit 1034604

Please sign in to comment.