aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/objc
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2017-03-14 11:10:29 +0000
committerGravatar Yun Peng <pcloudy@google.com>2017-03-14 19:47:37 +0000
commitae84395a5bee2a04978335f0e08ce714f134d270 (patch)
tree2310a9f12e52b58ec0a26a1609e3661a5a0540fa /src/main/java/com/google/devtools/build/lib/rules/objc
parentc8cd6bd2728e93c052ea217b5a93707a8a876f40 (diff)
Global cleanup change.
-- PiperOrigin-RevId: 150052200 MOS_MIGRATED_REVID=150052200
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/objc')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/objc/TargetDeviceFamily.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/TargetDeviceFamily.java b/src/main/java/com/google/devtools/build/lib/rules/objc/TargetDeviceFamily.java
index 5074a6ee64..a9ea744f5e 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/objc/TargetDeviceFamily.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/objc/TargetDeviceFamily.java
@@ -19,10 +19,8 @@ import com.google.common.collect.ImmutableBiMap;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
-
import java.util.EnumSet;
import java.util.List;
-import java.util.Map;
import java.util.Set;
/**
@@ -55,14 +53,16 @@ public enum TargetDeviceFamily {
* Contains the values of the UIDeviceFamily plist info setting for each valid set of
* TargetDeviceFamilies.
*/
- public static final Map<Set<TargetDeviceFamily>, List<Integer>> UI_DEVICE_FAMILY_VALUES =
+ public static final ImmutableMap<Set<TargetDeviceFamily>, List<Integer>> UI_DEVICE_FAMILY_VALUES =
ImmutableMap.<Set<TargetDeviceFamily>, List<Integer>>builder()
.put(ImmutableSet.of(TargetDeviceFamily.IPHONE), ImmutableList.of(1))
.put(ImmutableSet.of(TargetDeviceFamily.IPAD), ImmutableList.of(2))
.put(ImmutableSet.of(TargetDeviceFamily.WATCH), ImmutableList.of(4))
- .put(ImmutableSet.of(TargetDeviceFamily.IPHONE, TargetDeviceFamily.IPAD),
+ .put(
+ ImmutableSet.of(TargetDeviceFamily.IPHONE, TargetDeviceFamily.IPAD),
ImmutableList.of(1, 2))
- .put(ImmutableSet.of(TargetDeviceFamily.IPHONE, TargetDeviceFamily.WATCH),
+ .put(
+ ImmutableSet.of(TargetDeviceFamily.IPHONE, TargetDeviceFamily.WATCH),
ImmutableList.of(1, 4))
.build();