fix persisters writing temporary writing
be sure to remove the temp file
write into same dir of the targhet file
GEOS-6378 CAS extension throws exception in case of empty URL params
fixed warnings related to 'parameters should be final'
fixed warnings and errors related to unused import, scope of variables, need bracers, parameters should be final, only one return, method is not designed for extension, read of unwritten field.