зеркало из https://github.com/Azure/YCSB.git
[core dynamodb googledatastore infinispan] Fixing pmd:UnnecessaryConstructor - Unnecessary constructor, squid:EmptyStatementUsageCheck - Empty statements should be removed
This commit is contained in:
Родитель
44d8cad0b2
Коммит
b3dfd75831
|
@ -62,7 +62,7 @@ public class StringByteIterator extends ByteIterator {
|
|||
HashMap<String, String> ret = new HashMap<String,String>();
|
||||
|
||||
for(String s: m.keySet()) {
|
||||
ret.put(s, m.get(s).toString());;
|
||||
ret.put(s, m.get(s).toString());
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -174,7 +174,7 @@ public class Measurements {
|
|||
ThreadLocal<StartTimeHolder> tlIntendedStartTime = new ThreadLocal<Measurements.StartTimeHolder>() {
|
||||
protected StartTimeHolder initialValue() {
|
||||
return new StartTimeHolder();
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
public void setIntendedStartTimeNs(long time) {
|
||||
|
|
|
@ -87,8 +87,6 @@ public class DynamoDBClient extends DB {
|
|||
"An error occurred on the client.");
|
||||
private static final String DEFAULT_HASH_KEY_VALUE = "YCSB_0";
|
||||
|
||||
public DynamoDBClient() {}
|
||||
|
||||
/**
|
||||
* Initialize any state for this DB. Called once per DB instance; there is
|
||||
* one DB instance per client thread.
|
||||
|
|
|
@ -83,8 +83,6 @@ public class GoogleDatastoreClient extends DB {
|
|||
|
||||
private Datastore datastore = null;
|
||||
|
||||
public GoogleDatastoreClient() {}
|
||||
|
||||
/**
|
||||
* Initialize any state for this DB. Called once per DB instance; there is
|
||||
* one DB instance per client thread.
|
||||
|
|
|
@ -47,10 +47,6 @@ public class InfinispanRemoteClient extends DB {
|
|||
|
||||
private static final Log logger = LogFactory.getLog(InfinispanRemoteClient.class);
|
||||
|
||||
public InfinispanRemoteClient() {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init() throws DBException {
|
||||
remoteIspnManager = RemoteCacheManagerHolder.getInstance(getProperties());
|
||||
|
|
Загрузка…
Ссылка в новой задаче