fixed checkstyle config

I prefer following:
Configuration for map's capacity. You can set a limit for number of entries or total memory cost of entries.