aboutsummaryrefslogtreecommitdiffstats
path: root/anttasks/src/com/android/ant/GetUiTargetTask.java
diff options
context:
space:
mode:
Diffstat (limited to 'anttasks/src/com/android/ant/GetUiTargetTask.java')
-rw-r--r--anttasks/src/com/android/ant/GetUiTargetTask.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/anttasks/src/com/android/ant/GetUiTargetTask.java b/anttasks/src/com/android/ant/GetUiTargetTask.java
index 5c34fa1..e45d2bc 100644
--- a/anttasks/src/com/android/ant/GetUiTargetTask.java
+++ b/anttasks/src/com/android/ant/GetUiTargetTask.java
@@ -16,6 +16,7 @@
package com.android.ant;
+import com.android.annotations.NonNull;
import com.android.sdklib.IAndroidTarget;
import com.android.sdklib.IAndroidTarget.IOptionalLibrary;
import com.android.sdklib.SdkManager;
@@ -78,17 +79,17 @@ public class GetUiTargetTask extends Task {
}
@Override
- public void info(String msgFormat, Object... args) {
+ public void info(@NonNull String msgFormat, Object... args) {
messages.add(String.format(msgFormat, args));
}
@Override
- public void verbose(String msgFormat, Object... args) {
+ public void verbose(@NonNull String msgFormat, Object... args) {
info(msgFormat, args);
}
@Override
- public void warning(String warningFormat, Object... args) {
+ public void warning(@NonNull String warningFormat, Object... args) {
messages.add(String.format("Warning: " + warningFormat, args));
}
});