Use correct quotes in comments
Windows is acting up on the special characters
Change-Id: I43f14792c12b9bc62244fb09738488e33c6627f2
diff --git a/src/main/java/com/android/tools/r8/ir/synthetic/EnumUnboxingCfCodeProvider.java b/src/main/java/com/android/tools/r8/ir/synthetic/EnumUnboxingCfCodeProvider.java
index b1e1747..fbfacb8 100644
--- a/src/main/java/com/android/tools/r8/ir/synthetic/EnumUnboxingCfCodeProvider.java
+++ b/src/main/java/com/android/tools/r8/ir/synthetic/EnumUnboxingCfCodeProvider.java
@@ -49,15 +49,15 @@
public CfCode generateCfCode() {
// Generated static method, for class com.x.MyEnum {A,B} would look like:
// int UtilityClass#com.x.MyEnum_valueOf(String s) {
- // if (s == null) { throw npe(“Name is null”); }
- // if (s.equals(“A”)) { return 1;}
- // if (s.equals(“B”)) { return 2;}
+ // if (s == null) { throw npe("Name is null"); }
+ // if (s.equals("A")) { return 1;}
+ // if (s.equals("B")) { return 2;}
// throw new IllegalArgumentException(
// "No enum constant com.x.MyEnum." + s);
DexItemFactory factory = appView.dexItemFactory();
List<CfInstruction> instructions = new ArrayList<>();
- // if (s == null) { throw npe(“Name is null”); }
+ // if (s == null) { throw npe("Name is null"); }
CfLabel nullDest = new CfLabel();
instructions.add(new CfLoad(ValueType.fromDexType(factory.stringType), 0));
instructions.add(new CfIf(If.Type.NE, ValueType.OBJECT, nullDest));
@@ -69,8 +69,8 @@
instructions.add(new CfThrow());
instructions.add(nullDest);
- // if (s.equals(“A”)) { return 1;}
- // if (s.equals(“B”)) { return 2;}
+ // if (s.equals("A")) { return 1;}
+ // if (s.equals("B")) { return 2;}
map.forEach(
(field, enumValueInfo) -> {
CfLabel dest = new CfLabel();