Skip to content

Commit

Permalink
Merge pull request #37 from cyute/the-big-refresh-carl
Browse files Browse the repository at this point in the history
The big refresh carl
  • Loading branch information
JonMR committed Oct 19, 2019
2 parents 2588a05 + bbda5aa commit d5b2798
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ The `RequestTrackerConfiguration` sets the HTTP header name to `X-Request-Tracke
By default `UuidSupplier` is used by the bundle and filters. The provided bundle and filters provide constructors for you to pass in your own custom ID supplier. Your custom ID supplier must implement Guava's `Supplier<String>`. Here's an example ID supplier:

```java
import com.google.common.base.Supplier;
import java.util.function.Supplier;

public class CustomIdSupplier implements Supplier<String> {
@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


public class BundleApplicationIT {
private static final DropwizardAppRule<BundleConfiguration> DROPWIZARD_APP_RULE = new DropwizardAppRule<BundleConfiguration>(BundleApplication.class);
private static final DropwizardAppRule<BundleConfiguration> DROPWIZARD_APP_RULE = new DropwizardAppRule<>(BundleApplication.class);
private static final IntegrationTestSetupRule INTEGRATION_TEST_SETUP_RULE = new IntegrationTestSetupRule(DROPWIZARD_APP_RULE);

@ClassRule
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.serviceenabled.dropwizardrequesttracker.it;

import com.google.common.base.Supplier;
import java.util.function.Supplier;

public class CustomIdSupplier implements Supplier<String> {
@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


public class CustomIdSupplierBundleApplicationIT {
private static final DropwizardAppRule<BundleConfiguration> DROPWIZARD_APP_RULE = new DropwizardAppRule<BundleConfiguration>(CustomIdSupplierBundleApplication.class);
private static final DropwizardAppRule<BundleConfiguration> DROPWIZARD_APP_RULE = new DropwizardAppRule<>(CustomIdSupplierBundleApplication.class);
private static final IntegrationTestSetupRule INTEGRATION_TEST_SETUP_RULE = new IntegrationTestSetupRule(DROPWIZARD_APP_RULE);

@ClassRule
Expand Down

0 comments on commit d5b2798

Please sign in to comment.