Remove nullity of RuleClass#outputFileKind. This field isn't intended to be and never actually is in practice.
RELNOTES: None
@@ -1210,7 +1210,7 @@ public class RuleClass {
* {@see OutputFile.Kind}.
*/
public Builder setOutputFileKind(OutputFile.Kind outputFileKind) {
- this.outputFileKind = outputFileKind;
+ this.outputFileKind = Preconditions.checkNotNull(outputFileKind);
return this;
}
@@ -2414,7 +2414,6 @@ public class RuleClass {
return executionPlatformConstraints;
}
- @Nullable
public OutputFile.Kind getOutputFileKind() {
return outputFileKind;
}
