Automatic code cleanup.
PiperOrigin-RevId: 610002527
Change-Id: Idb019124e006d649eaa64473184b2101c5ccc23f
diff --git a/src/test/java/com/google/devtools/build/lib/rules/objc/BinaryRuleType.java b/src/test/java/com/google/devtools/build/lib/rules/objc/BinaryRuleType.java
index 50e1608..e2ebc64 100644
--- a/src/test/java/com/google/devtools/build/lib/rules/objc/BinaryRuleType.java
+++ b/src/test/java/com/google/devtools/build/lib/rules/objc/BinaryRuleType.java
@@ -14,31 +14,4 @@
package com.google.devtools.build.lib.rules.objc;
-import com.google.devtools.build.lib.testutil.Scratch;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Set;
-/**
- * This exists for convenience for any rule type requires the exact same attributes as
- * {@code objc_binary}. If some rule ever changes to require more or fewer attributes, it is OK
- * to stop using this class.
- */
-final class BinaryRuleType extends RuleType {
- BinaryRuleType(String ruleTypeName) {
- super(ruleTypeName);
- }
-
- @Override
- Iterable<String> requiredAttributes(
- Scratch scratch, String packageName, Set<String> alreadyAdded) throws IOException {
- List<String> attributes = new ArrayList<>();
- if (!alreadyAdded.contains("srcs") && !alreadyAdded.contains("non_arc_srcs")) {
- scratch.file(packageName + "/a.m");
- scratch.file(packageName + "/private.h");
- attributes.add("srcs = ['a.m', 'private.h']");
- }
- return attributes;
- }
-}
diff --git a/src/test/java/com/google/devtools/build/lib/rules/objc/RuleType.java b/src/test/java/com/google/devtools/build/lib/rules/objc/RuleType.java
index dbb8106..d9d4cec 100644
--- a/src/test/java/com/google/devtools/build/lib/rules/objc/RuleType.java
+++ b/src/test/java/com/google/devtools/build/lib/rules/objc/RuleType.java
@@ -49,20 +49,6 @@
}
/**
- * Returns whether this type exports companion library target in Xcode.
- */
- final boolean exportsXcodeCompanionTarget() {
- return ruleTypeName.equals("objc_binary");
- }
-
- /**
- * Returns the bundle extension for the bundles generated by the rule.
- */
- final String bundleExtension() {
- return ruleTypeName.equals("ios_test") ? "xctest" : "app";
- }
-
- /**
* Returns names and values, and otherwise prepares, extra attributes required for this rule type
* to be without error. For instance, if this rule type requires 'srcs' and 'infoplist'
* attributes, this method may be implemented as follows: