be compatible to Java 5

This commit is contained in:
Moritz Eysholdt 2011-10-26 07:53:36 +02:00
parent c3f2de2167
commit 56c7f5c35e

View file

@ -111,7 +111,7 @@ public @interface XpectCommaSeparatedValues {
}
if (expItem != null) {
expString.append(expItem);
expEmpty = expItem.trim().isEmpty();
expEmpty = expItem.trim().length() == 0;
}
if (actItem != null)
actString.append(actItem);