just some cleanup
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
[](https://travis-ci.org/springside/springside4/)
|
travis-ci status:[](https://travis-ci.org/springside/springside4/)
|
||||||
|
|
||||||
SpringSide是以Spring Framework为核心的,Pragmatic风格的JavaEE应用参考示例,是JavaEE世界中的主流技术选型,最佳实践的总结与演示。
|
SpringSide是以Spring Framework为核心的,Pragmatic风格的JavaEE应用参考示例,是JavaEE世界中的主流技术选型,最佳实践的总结与演示。
|
||||||
|
|
||||||
|
|||||||
@@ -127,6 +127,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-source-plugin</artifactId>
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
|
<version>3.0.1</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>attach-sources</id>
|
<id>attach-sources</id>
|
||||||
@@ -136,36 +137,6 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<!-- 打包测试用的jar包,classfier为tests -->
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
|
||||||
<version>3.0.2</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<goals>
|
|
||||||
<goal>test-jar</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<includes>
|
|
||||||
<include>org/springside/modules/test/**/*.class</include>
|
|
||||||
<include>jetty/webdefault-windows.xml</include>
|
|
||||||
</includes>
|
|
||||||
<excludes>
|
|
||||||
<exclude>org/springside/modules/test/**/*Test.class</exclude>
|
|
||||||
</excludes>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
|
|
||||||
<!-- enforcer, 规则统一定义在parent -->
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-enforcer-plugin</artifactId>
|
|
||||||
<version>1.4.1</version>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
<junit.version>4.12</junit.version>
|
<junit.version>4.12</junit.version>
|
||||||
<assertj.version>2.6.0</assertj.version>
|
<assertj.version>2.6.0</assertj.version>
|
||||||
<mockito.version>1.10.19</mockito.version>
|
<mockito.version>1.10.19</mockito.version>
|
||||||
|
|
||||||
<!-- Plugin的属性 -->
|
<!-- Plugin的属性 -->
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<java.version>1.7</java.version>
|
<java.version>1.7</java.version>
|
||||||
@@ -63,6 +63,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-source-plugin</artifactId>
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
|
<version>3.0.1</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>attach-sources</id>
|
<id>attach-sources</id>
|
||||||
@@ -72,12 +73,6 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<!-- enforcer, 规则统一定义在parent -->
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-enforcer-plugin</artifactId>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
@@ -93,7 +93,7 @@ public class IntObjectHashMap<V> implements IntObjectMap<V> {
|
|||||||
|
|
||||||
// Allocate the arrays.
|
// Allocate the arrays.
|
||||||
keys = new int[capacity];
|
keys = new int[capacity];
|
||||||
@SuppressWarnings({ "unchecked", "SuspiciousArrayCast" })
|
@SuppressWarnings({ "unchecked" })
|
||||||
V[] temp = (V[]) new Object[capacity];
|
V[] temp = (V[]) new Object[capacity];
|
||||||
values = temp;
|
values = temp;
|
||||||
|
|
||||||
@@ -453,7 +453,7 @@ public class IntObjectHashMap<V> implements IntObjectMap<V> {
|
|||||||
V[] oldVals = values;
|
V[] oldVals = values;
|
||||||
|
|
||||||
keys = new int[newCapacity];
|
keys = new int[newCapacity];
|
||||||
@SuppressWarnings({ "unchecked", "SuspiciousArrayCast" })
|
@SuppressWarnings({ "unchecked" })
|
||||||
V[] temp = (V[]) new Object[newCapacity];
|
V[] temp = (V[]) new Object[newCapacity];
|
||||||
values = temp;
|
values = temp;
|
||||||
|
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ public class LongObjectHashMap<V> implements LongObjectMap<V> {
|
|||||||
|
|
||||||
// Allocate the arrays.
|
// Allocate the arrays.
|
||||||
keys = new long[capacity];
|
keys = new long[capacity];
|
||||||
@SuppressWarnings({ "unchecked", "SuspiciousArrayCast" })
|
@SuppressWarnings({ "unchecked" })
|
||||||
V[] temp = (V[]) new Object[capacity];
|
V[] temp = (V[]) new Object[capacity];
|
||||||
values = temp;
|
values = temp;
|
||||||
|
|
||||||
@@ -455,7 +455,7 @@ public class LongObjectHashMap<V> implements LongObjectMap<V> {
|
|||||||
V[] oldVals = values;
|
V[] oldVals = values;
|
||||||
|
|
||||||
keys = new long[newCapacity];
|
keys = new long[newCapacity];
|
||||||
@SuppressWarnings({ "unchecked", "SuspiciousArrayCast" })
|
@SuppressWarnings({ "unchecked"})
|
||||||
V[] temp = (V[]) new Object[newCapacity];
|
V[] temp = (V[]) new Object[newCapacity];
|
||||||
values = temp;
|
values = temp;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user