remove strange license header

This commit is contained in:
Jonathan Leibiusky
2011-06-03 10:52:49 -03:00
parent c3f0cf0ded
commit 8465720d92

View File

@@ -1,18 +1,3 @@
/*
* Copyright 2009-2010 MBTE Sweden AB.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package redis.clients.jedis;
import redis.clients.util.ShardInfo;
@@ -40,8 +25,9 @@ public class JedisShardInfo extends ShardInfo<Jedis> {
public JedisShardInfo(String host) {
this(host, Protocol.DEFAULT_PORT);
}
public JedisShardInfo(String host, String name) {
this(host, Protocol.DEFAULT_PORT, name);
this(host, Protocol.DEFAULT_PORT, name);
}
public JedisShardInfo(String host, int port) {
@@ -49,7 +35,7 @@ public class JedisShardInfo extends ShardInfo<Jedis> {
}
public JedisShardInfo(String host, int port, String name) {
this(host, port, 2000, name);
this(host, port, 2000, name);
}
public JedisShardInfo(String host, int port, int timeout) {
@@ -57,8 +43,8 @@ public class JedisShardInfo extends ShardInfo<Jedis> {
}
public JedisShardInfo(String host, int port, int timeout, String name) {
this(host, port, timeout, Sharded.DEFAULT_WEIGHT);
this.name = name;
this(host, port, timeout, Sharded.DEFAULT_WEIGHT);
this.name = name;
}
public JedisShardInfo(String host, int port, int timeout, int weight) {
@@ -85,7 +71,7 @@ public class JedisShardInfo extends ShardInfo<Jedis> {
}
public String getName() {
return name ;
return name;
}
@Override