Remove the unused ProtoCompileActionBuilder#setLangParameter().
RELNOTES: None.
@@ -69,7 +69,6 @@ public class ProtoCompileActionBuilder {
private final String langPrefix;
private final Iterable<Artifact> outputs;
private Iterable<Artifact> inputs;
- private String langParameter;
private String langPluginName;
private Supplier<String> langPluginParameter;
private boolean hasServices;
@@ -87,11 +86,6 @@ public class ProtoCompileActionBuilder {
return this;
}
- public ProtoCompileActionBuilder setLangParameter(String langParameter) {
- this.langParameter = langParameter;
- return this;
- }
-
public ProtoCompileActionBuilder setLangPluginName(String langPluginName) {
this.langPluginName = langPluginName;
return this;
@@ -279,10 +273,6 @@ public class ProtoCompileActionBuilder {
result.addLazyString(new LazyLangPluginFlag(langPrefix, langPluginParameter));
}
- if (langParameter != null) {
- result.addDynamicString(langParameter);
- }
-
result.addAll(ruleContext.getFragment(ProtoConfiguration.class).protocOpts());
boolean areDepsStrict = areDepsStrict(ruleContext);
