I believe this should be `if (draggedSlots.size() == 1) {` as per [this](http://www.oracle.com/technetwork/java/javase/documentation/codeconventions-142311.html#449) page.