Skip to content

Commit

Permalink
Delete some dead code
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 518434474
Change-Id: I2716aa61889263b79a3ca3ee3a9840f76033af14
  • Loading branch information
cushon authored and copybara-github committed Mar 22, 2023
1 parent a47a592 commit c8388e3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ public final class JavaLibraryBuildRequest {
/** The path to an output jar for source files generated by annotation processors. */
private final Path generatedSourcesOutputJar;

/** The path to an output jar for classfiles generated by annotation processors. */
private final Path generatedClassOutputJar;

private final ArrayList<Path> sourceFiles;
private final ImmutableList<Path> sourceJars;

Expand Down Expand Up @@ -210,7 +207,6 @@ public JavaLibraryBuildRequest(
}
this.javacOpts = ImmutableList.copyOf(optionsParser.getJavacOpts());
this.generatedSourcesOutputJar = asPath(optionsParser.getGeneratedSourcesOutputJar());
this.generatedClassOutputJar = asPath(optionsParser.getManifestProtoPath());
this.targetLabel = optionsParser.getTargetLabel();
this.injectingRuleKind = optionsParser.getInjectingRuleKind();
this.inputsAndDigest = inputsAndDigest;
Expand Down Expand Up @@ -260,10 +256,6 @@ public Path getGeneratedSourcesOutputJar() {
return generatedSourcesOutputJar;
}

public Path getGeneratedClassOutputJar() {
return generatedClassOutputJar;
}

public ArrayList<Path> getSourceFiles() {
// TODO(cushon): This is being modified after parsing to add files from source jars.
return sourceFiles;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,6 @@ public enum ReduceClasspathMode {
private String targetLabel;
private String injectingRuleKind;

@Nullable private String profile;

@Nullable private final JavacOptions normalizer;

/**
Expand Down Expand Up @@ -214,9 +212,6 @@ private void processCommandlineArgs(Deque<String> argQueue) throws InvalidComman
case "--injecting_rule_kind":
injectingRuleKind = getArgument(argQueue, arg);
break;
case "--profile":
profile = getArgument(argQueue, arg);
break;
default:
throw new InvalidCommandLineException("unknown option : '" + arg + "'");
}
Expand Down Expand Up @@ -454,8 +449,4 @@ public String getTargetLabel() {
public String getInjectingRuleKind() {
return injectingRuleKind;
}

public String getProfile() {
return profile;
}
}

0 comments on commit c8388e3

Please sign in to comment.