Refactor queue delete

sentences starts with a capital letters (check documentation in JDK!)