cleanup to prepare for next release

This commit is contained in:
fjy 2013-11-07 15:55:51 -08:00
parent 760321c857
commit 084c90aa19
3 changed files with 4 additions and 8 deletions

View File

@ -4,7 +4,7 @@ druid.port=8081
druid.zk.service.host=localhost
druid.extensions.coordinates=["io.druid.extensions:druid-s3-extensions:0.6.2-SNAPSHOT"]
druid.extensions.coordinates=["io.druid.extensions:druid-s3-extensions:0.6.2"]
# Dummy read only AWS account (used to download example data)
druid.s3.secretKey=QyyfVZ7llSiRg6Qcrql1eEUG7buFpAK6T6engr1b

View File

@ -4,7 +4,7 @@ druid.port=8083
druid.zk.service.host=localhost
druid.extensions.coordinates=["io.druid.extensions:druid-examples:0.6.2-SNAPSHOT"]
druid.extensions.coordinates=["io.druid.extensions:druid-examples:0.6.2"]
druid.db.connector.connectURI=jdbc\:mysql\://localhost\:3306/druid
druid.db.connector.user=druid

View File

@ -84,7 +84,7 @@ public class EventReceiverFirehoseFactory implements FirehoseFactory
Preconditions.checkNotNull(firehoseId, "firehoseId")
);
} else {
this.serviceName = Preconditions.checkNotNull(serviceName, "serviceName");
this.serviceName = serviceName;
}
this.config = config;
@ -120,11 +120,7 @@ public class EventReceiverFirehoseFactory implements FirehoseFactory
@JsonProperty("firehoseId")
public String getFirehoseId()
{
if (config != null) {
return serviceName.replaceFirst(String.format("%s:", config.getFirehoseIdPrefix()), "");
}
return null;
return serviceName.replaceFirst(String.format("%s:", config.getFirehoseIdPrefix()), "");
}
@JsonProperty