public void moveUp(FTPFile file) {
        //Get index of file want to move
        //move it up
        //get index -1,move down
        QueueItem item = new QueueItem(file, 0);
        if (queue.contains(item)) {
            QueueItem currentItem = queue.get(queue.indexOf(item));
            int index = currentItem.getIndex();
            if (index > 0) {
                index--;
                QueueItem destItem = getFromQueue(index);
                currentItem.moveUp();
                destItem.moveDown();
            }
        }
        saveQueue();
    }

Hello world 🙂

Code Test: