Wrong parameter in DavQuota of SardineImpl
jithutintu opened this issue · 3 comments
jithutintu commented
Hello ,
Here in below piece of code in SardineImpl the constructor of DavQuota expect response .but the parameter passed is DavResource resource in below code.
if (resource.getStatusCode() == 200) return new DavQuota(resource);
Could you please rectify it?
Thanks
LotharSpiegel commented
See pull request: #344
dkocher commented
The existing code passes the required type Response
and I cannot spot any error.
LotharSpiegel commented
The existing code passes in the following line:
if (resource.getStatusCode() == 200) return new DavQuota(resource);
an object of type DavResource
to the constructor of DavQuota
instead of sth. of type Response
as needed.