cleaning up some code that was reused all over the file
withdraw method, in its current state, is likely to iterate over many items instantly if the filter detects more than one for any reason. Issue is already fixed by Java for deposit, just replicating here
I get the gist of it but can you provide more information on the goal here?