title: How to solve PMD Violation : Use explicit scoping instead of the default package private level
body: <p>I want to fix my code <strong>PMD violation</strong>:</p>
  
  <pre><code>Use explicit scoping instead of the default package private level
  </code></pre>
  
  <p>It appears on these places in my code:</p>
  
  <pre><code>File saveFile = new File("C:/Upload/"); 
  EmployeImplMetier dbE= new EmployeImplMetier();
  DepartementImplMetier dbD = new DepartementImplMetier();
  FonctionImplMetier dbF = new FonctionImplMetier();
  ServiceImplMetier dbS = new ServiceImplMetier();
  TypePaiementImplMetier dbT = new TypePaiementImplMetier();
  ModePaiementImplMetier dbM = new ModePaiementImplMetier();
  </code></pre>
  
  <p>I found this <a href="https://stackoverflow.com/questions/26791038/pmd-violation-use-explicit-scoping-instead-of-the-default-package-private-leve">LINK</a> before but it didn't help.<br>
  Could anyone suggest how to fix it?</p>