Delete PluginOptionConverter.
This looks like it has been unused since
Closes
@@ -26,7 +26,6 @@ import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.ImmutableSortedMap;
import com.google.common.collect.Interner;
-import com.google.common.collect.Maps;
import com.google.common.collect.Multimap;
import com.google.common.collect.MutableClassToInstanceMap;
import com.google.devtools.build.lib.actions.ActionEnvironment;
@@ -264,25 +263,6 @@ public class BuildConfiguration implements BuildConfigurationApi {
}
}
- /** TODO(bazel-team): document this */
- public static class PluginOptionConverter implements Converter<Map.Entry<String, String>> {
- @Override
- public Map.Entry<String, String> convert(String input) throws OptionsParsingException {
- int index = input.indexOf('=');
- if (index == -1) {
- throw new OptionsParsingException("Plugin option not in the plugin=option format");
- }
- String option = input.substring(0, index);
- String value = input.substring(index + 1);
- return Maps.immutableEntry(option, value);
- }
-
- @Override
- public String getTypeDescription() {
- return "An option for a plugin";
- }
- }
-
/**
* Values for the --strict_*_deps option
*/
