I used IntelliJ for \"Inspect Code\", and one of its results is:
Problem synopsis Can be package local (at line 18(public class HeartBeat)
)
If you want to suppress this warning:
EDIT: in the latest IDEA release step 4 this looks to have changed to "Suggest package-private visibility level for ..." and includes several options for various conditions