Isn't the random.nextInt() % 5 == 0 && random.nextBoolean() superfluous? You could use just random.nextInt() % 10 == 0 instead... and the integer used should be refactored into constant or configurable property.