fix checkstyle for core with suppressions