mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 01:08:50 -06:00
Annotate all Android tests
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user