Closed shvachko closed 9 years ago
In NamespaceProcessor.renewLease() leaseManager.renewLease() returns null if there are no leases for the client. And then the for-loop throws NPE. Should check not-null or return empty collection.
NamespaceProcessor.renewLease()
leaseManager.renewLease()
Opened pull request. Pretty simple fix.
+1 LGTM
Committed. Thank you Plamen.
In
NamespaceProcessor.renewLease()
leaseManager.renewLease()
returns null if there are no leases for the client. And then the for-loop throws NPE. Should check not-null or return empty collection.