From 43c2a55cb82d0ecd3a6907eca837e702f1975ef2 Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Thu, 6 Jun 2019 00:03:22 +0100 Subject: [PATCH] 0 not null --- core/src/main/groovy/com/muwire/core/hostcache/Host.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/groovy/com/muwire/core/hostcache/Host.groovy b/core/src/main/groovy/com/muwire/core/hostcache/Host.groovy index d283f745..997a41a8 100644 --- a/core/src/main/groovy/com/muwire/core/hostcache/Host.groovy +++ b/core/src/main/groovy/com/muwire/core/hostcache/Host.groovy @@ -32,6 +32,6 @@ class Host { } synchronized void clearFailures() { - failures = null + failures = 0 } }