Skip to content

Commit 3836a7e

Browse files
committed
* close socket when exception happened.
* remove source warnings * remove unnecessary log level judgement
1 parent 3d40931 commit 3836a7e

File tree

10 files changed

+326
-390
lines changed

10 files changed

+326
-390
lines changed

.classpath

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,26 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
3-
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
4-
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
5-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
6-
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
3+
<classpathentry kind="src" output="target/classes" path="src/main/java">
4+
<attributes>
5+
<attribute name="optional" value="true"/>
6+
<attribute name="maven.pomderived" value="true"/>
7+
</attributes>
8+
</classpathentry>
9+
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
10+
<attributes>
11+
<attribute name="optional" value="true"/>
12+
<attribute name="maven.pomderived" value="true"/>
13+
</attributes>
14+
</classpathentry>
15+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
16+
<attributes>
17+
<attribute name="maven.pomderived" value="true"/>
18+
</attributes>
19+
</classpathentry>
20+
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
21+
<attributes>
22+
<attribute name="maven.pomderived" value="true"/>
23+
</attributes>
24+
</classpathentry>
725
<classpathentry kind="output" path="target/classes"/>
826
</classpath>

pom.xml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23
<modelVersion>4.0.0</modelVersion>
34

45
<groupId>com.whalin</groupId>
56
<artifactId>Memcached-Java-Client</artifactId>
6-
<version>3.0.1</version>
7+
<version>3.0.2</version>
78
<packaging>jar</packaging>
89

910
<name>Memcached-Java-Client</name>
@@ -60,6 +61,12 @@
6061
<version>3.8.1</version>
6162
<scope>test</scope>
6263
</dependency>
64+
<dependency>
65+
<groupId>com.thimbleware.jmemcached</groupId>
66+
<artifactId>jmemcached-core</artifactId>
67+
<version>1.0.0</version>
68+
<scope>test</scope>
69+
</dependency>
6370
<dependency>
6471
<groupId>commons-pool</groupId>
6572
<artifactId>commons-pool</artifactId>
@@ -151,9 +158,4 @@
151158
</plugin>
152159
</plugins>
153160
</reporting>
154-
<parent>
155-
<groupId>org.sonatype.oss</groupId>
156-
<artifactId>oss-parent</artifactId>
157-
<version>7</version>
158-
</parent>
159161
</project>

0 commit comments

Comments
 (0)