Skip to content

Commit

Permalink
Change allowedDocType setter type (#1596)
Browse files Browse the repository at this point in the history
  • Loading branch information
BenWu committed Mar 10, 2021
1 parent 95096cc commit 608089c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.mozilla.telemetry.contextualservices;

import com.mozilla.telemetry.options.SinkOptions;
import java.util.List;
import org.apache.beam.sdk.options.Default;
import org.apache.beam.sdk.options.Description;
import org.apache.beam.sdk.options.Hidden;
Expand Down Expand Up @@ -34,7 +33,7 @@ public interface ContextualServicesReporterOptions extends SinkOptions, Pipeline
+ "(e.g. quicksuggest-click is a correct argument)")
ValueProvider<String> getAllowedDocTypes();

void setAllowedDocTypes(ValueProvider<List<String>> value);
void setAllowedDocTypes(ValueProvider<String> value);

@Description("If set to true, send HTTP requests to reporting URLs. "
+ "Can be set to false for testing purposes.")
Expand Down

0 comments on commit 608089c

Please sign in to comment.