remove java 1.6 specific annotations

This commit is contained in:
Jonathan Leibiusky
2010-11-30 12:58:20 -03:00
parent b8baba9a00
commit c4263b0a2d
2 changed files with 0 additions and 6 deletions

View File

@@ -47,7 +47,6 @@ public class JedisPool extends Pool<Jedis> {
this.password = password; this.password = password;
} }
@Override
public Object makeObject() throws Exception { public Object makeObject() throws Exception {
final Jedis jedis; final Jedis jedis;
if (timeout > 0) { if (timeout > 0) {
@@ -63,7 +62,6 @@ public class JedisPool extends Pool<Jedis> {
return jedis; return jedis;
} }
@Override
public void destroyObject(final Object obj) throws Exception { public void destroyObject(final Object obj) throws Exception {
if (obj instanceof Jedis) { if (obj instanceof Jedis) {
final Jedis jedis = (Jedis) obj; final Jedis jedis = (Jedis) obj;
@@ -78,7 +76,6 @@ public class JedisPool extends Pool<Jedis> {
} }
} }
@Override
public boolean validateObject(final Object obj) { public boolean validateObject(final Object obj) {
if (obj instanceof Jedis) { if (obj instanceof Jedis) {
final Jedis jedis = (Jedis) obj; final Jedis jedis = (Jedis) obj;

View File

@@ -45,7 +45,6 @@ public class ShardedJedisPool extends Pool<ShardedJedis> {
this.keyTagPattern = keyTagPattern; this.keyTagPattern = keyTagPattern;
} }
@Override
public Object makeObject() throws Exception { public Object makeObject() throws Exception {
ShardedJedis jedis = new ShardedJedis(shards, algo, keyTagPattern); ShardedJedis jedis = new ShardedJedis(shards, algo, keyTagPattern);
boolean done = false; boolean done = false;
@@ -67,7 +66,6 @@ public class ShardedJedisPool extends Pool<ShardedJedis> {
return jedis; return jedis;
} }
@Override
public void destroyObject(final Object obj) throws Exception { public void destroyObject(final Object obj) throws Exception {
if (obj != null) { if (obj != null) {
try { try {
@@ -78,7 +76,6 @@ public class ShardedJedisPool extends Pool<ShardedJedis> {
} }
} }
@Override
public boolean validateObject(final Object obj) { public boolean validateObject(final Object obj) {
try { try {
ShardedJedis jedis = (ShardedJedis) obj; ShardedJedis jedis = (ShardedJedis) obj;