title: What does "Can be package local" mean? (IDEA Inspection)
body: <p>I used IntelliJ for "Inspect Code", and one of its results is:</p>
  
  <p>  Problem synopsis      Can be package local (at line 18<code>(public class HeartBeat)</code>)</p>
  
  <p>What does it mean, how can I fix it?</p>
  
  <p>it whole class is like this:</p>
  
  <pre><code>package com.xxxxxxxxxxx.app.xxxx;
  
  public class HeartBeat
  {
      private static final Logger LOG = LoggerFactory.getLogger( HeartBeat.class );
      private final File heartBeatFile;
  
  
      public HeartBeat( File heartBeatFile )
      {
          this.heartBeatFile = heartBeatFile;
      }
  
  
      public void beat()
      {
          try
          {
              FileUtils.writeStringToFile( heartBeatFile, String.valueOf( System.currentTimeMillis() ) );
          }
          catch( IOException e )
          {
              LOG.error( "Error while writing heart beat log", e );
          }
      }
  }
  </code></pre>