Laenge des NULL Objekts nicht abfragen

This commit is contained in:
Purodha Blissenbach 2012-07-18 17:44:38 +00:00
parent c1981cccaa
commit 5ad17e751a

View File

@ -256,7 +256,10 @@ public class DomainTest {
if (optsList == null) { if (optsList == null) {
count = 0; count = 0;
} }
count = optsList.size(); else
{
count = optsList.size();
}
} catch (XmlRpcException e) { } catch (XmlRpcException e) {
fail(e.getMessage()); fail(e.getMessage());
} }