diff --git a/README.md b/README.md index 8b787d91..f19cec75 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build Status](https://api.travis-ci.org/springside/springside4.png?branch=master)](https://travis-ci.org/springside/springside4/) +travis-ci status:[![Build Status](https://api.travis-ci.org/springside/springside4.png?branch=master)](https://travis-ci.org/springside/springside4/) SpringSide是以Spring Framework为核心的,Pragmatic风格的JavaEE应用参考示例,是JavaEE世界中的主流技术选型,最佳实践的总结与演示。 diff --git a/modules/core/pom.xml b/modules/core/pom.xml index acb06dba..b5c59329 100644 --- a/modules/core/pom.xml +++ b/modules/core/pom.xml @@ -127,6 +127,7 @@ org.apache.maven.plugins maven-source-plugin + 3.0.1 attach-sources @@ -136,36 +137,6 @@ - - - - org.apache.maven.plugins - maven-jar-plugin - 3.0.2 - - - - test-jar - - - - org/springside/modules/test/**/*.class - jetty/webdefault-windows.xml - - - org/springside/modules/test/**/*Test.class - - - - - - - - - org.apache.maven.plugins - maven-enforcer-plugin - 1.4.1 - \ No newline at end of file diff --git a/modules/metrics/pom.xml b/modules/metrics/pom.xml index b977d7f1..d6e59c1c 100755 --- a/modules/metrics/pom.xml +++ b/modules/metrics/pom.xml @@ -13,7 +13,7 @@ 4.12 2.6.0 1.10.19 - + UTF-8 1.7 @@ -63,6 +63,7 @@ org.apache.maven.plugins maven-source-plugin + 3.0.1 attach-sources @@ -72,12 +73,6 @@ - - - - org.apache.maven.plugins - maven-enforcer-plugin - \ No newline at end of file diff --git a/modules/utils/src/main/java/org/springside/modules/utils/collection/type/primitive/IntObjectHashMap.java b/modules/utils/src/main/java/org/springside/modules/utils/collection/type/primitive/IntObjectHashMap.java index 52e921c5..a64ec358 100644 --- a/modules/utils/src/main/java/org/springside/modules/utils/collection/type/primitive/IntObjectHashMap.java +++ b/modules/utils/src/main/java/org/springside/modules/utils/collection/type/primitive/IntObjectHashMap.java @@ -93,7 +93,7 @@ public class IntObjectHashMap implements IntObjectMap { // Allocate the arrays. keys = new int[capacity]; - @SuppressWarnings({ "unchecked", "SuspiciousArrayCast" }) + @SuppressWarnings({ "unchecked" }) V[] temp = (V[]) new Object[capacity]; values = temp; @@ -453,7 +453,7 @@ public class IntObjectHashMap implements IntObjectMap { V[] oldVals = values; keys = new int[newCapacity]; - @SuppressWarnings({ "unchecked", "SuspiciousArrayCast" }) + @SuppressWarnings({ "unchecked" }) V[] temp = (V[]) new Object[newCapacity]; values = temp; diff --git a/modules/utils/src/main/java/org/springside/modules/utils/collection/type/primitive/LongObjectHashMap.java b/modules/utils/src/main/java/org/springside/modules/utils/collection/type/primitive/LongObjectHashMap.java index 89c20610..baeacdea 100644 --- a/modules/utils/src/main/java/org/springside/modules/utils/collection/type/primitive/LongObjectHashMap.java +++ b/modules/utils/src/main/java/org/springside/modules/utils/collection/type/primitive/LongObjectHashMap.java @@ -94,7 +94,7 @@ public class LongObjectHashMap implements LongObjectMap { // Allocate the arrays. keys = new long[capacity]; - @SuppressWarnings({ "unchecked", "SuspiciousArrayCast" }) + @SuppressWarnings({ "unchecked" }) V[] temp = (V[]) new Object[capacity]; values = temp; @@ -455,7 +455,7 @@ public class LongObjectHashMap implements LongObjectMap { V[] oldVals = values; keys = new long[newCapacity]; - @SuppressWarnings({ "unchecked", "SuspiciousArrayCast" }) + @SuppressWarnings({ "unchecked"}) V[] temp = (V[]) new Object[newCapacity]; values = temp;