Remove unused javacOpts field and its getter from JavaConfiguration.
They were only used by a test that can just as well use the tokenized
version of the javacOpts.
MOS_MIGRATED_REVID=149102073
@@ -136,7 +136,6 @@ public final class JavaConfiguration extends Fragment {
private final ImmutableList<String> defaultJvmFlags;
private final ImmutableList<String> checkedConstraints;
private final StrictDepsMode strictJavaDeps;
- private final ImmutableList<String> javacOpts;
private final Label proguardBinary;
private final ImmutableList<Label> extraProguardSpecs;
private final TriState bundleTranslations;
@@ -166,7 +165,6 @@ public final class JavaConfiguration extends Fragment {
this.defaultJvmFlags = ImmutableList.copyOf(defaultJvmFlags);
this.checkedConstraints = ImmutableList.copyOf(javaOptions.checkedConstraints);
this.strictJavaDeps = javaOptions.strictJavaDeps;
- this.javacOpts = ImmutableList.copyOf(javaOptions.javacOpts);
this.proguardBinary = javaOptions.proguard;
this.extraProguardSpecs = ImmutableList.copyOf(javaOptions.extraProguardSpecs);
this.bundleTranslations = javaOptions.bundleTranslations;
@@ -276,10 +274,6 @@ public final class JavaConfiguration extends Fragment {
return javaLauncherLabel;
}
- public ImmutableList<String> getJavacOpts() {
- return javacOpts;
- }
-
/**
* Returns the label provided with --proguard_top, if any.
*/
