Annotate all Android tests

This commit is contained in:
2017-06-01 17:10:34 -04:00
parent 322645da9b
commit a51ecaaf24
12 changed files with 49 additions and 25 deletions

View File

@@ -238,7 +238,8 @@ public class Habit
public synchronized void setTargetType(int targetType)
{
if (targetType != AT_LEAST && targetType != AT_MOST)
throw new IllegalArgumentException();
throw new IllegalArgumentException(
String.format("invalid targetType: %d", targetType));
data.targetType = targetType;
}