remove occurrences of List.size==0
Merge pull request #1250 from akka/wip-size==0-∂π

remove occurrences of List.size==0