Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Fix bug in dropwizard configuration #66

Merged
merged 1 commit into from
Sep 29, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public Configuration(
@JsonProperty("sampler") SamplerConfiguration samplerConfig,
@JsonProperty("reporter") ReporterConfiguration reporterConfig) {
super(serviceName, samplerConfig, reporterConfig);
this.disable = disable;
this.disable = disable == null ? false : disable;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package com.uber.jaeger.dropwizard;

import org.junit.Test;

public class ConfigurationTest {

@Test
public void testInstantiableWithNulls() throws Exception {
new Configuration("serviceName", null, null, null);
}
}