Skip the call to String.format when annotating, if there are no values
diff --git a/dexlib2/src/main/java/org/jf/dexlib2/util/AnnotatedBytes.java b/dexlib2/src/main/java/org/jf/dexlib2/util/AnnotatedBytes.java
index 508406a..c48bac2 100644
--- a/dexlib2/src/main/java/org/jf/dexlib2/util/AnnotatedBytes.java
+++ b/dexlib2/src/main/java/org/jf/dexlib2/util/AnnotatedBytes.java
@@ -124,7 +124,12 @@
             throw new ExceptionWithContext("Annotating outside the parent bounds");
         }
 
-        String formattedMsg = String.format(msg, formatArgs);
+        String formattedMsg;
+        if (formatArgs != null && formatArgs.length > 0) {
+            formattedMsg = String.format(msg, formatArgs);
+        } else {
+            formattedMsg = msg;
+        }
         int exclusiveEndOffset = cursor + length;
 
         AnnotationEndpoint endPoint = null;