title: import java.util.scanner never used
body: <p>I get this error:</p>
  
  <blockquote>
    <p>import java.util.scanner never used</p>
  </blockquote>
  
  <p>I'm not sure what I need to insert.</p>
  
  <pre><code>import java.util.Scanner;
  
  public class Diamond {
      public static void diamondOfAsterisks() {
          for (int i = 1; i &lt; 10; i += 2) {
              for (int j = 0; j &lt; 9 - i / 2; j++)
                  System.out.print(" ");
  
              for (int j = 0; j &lt; i; j++)
                  System.out.print("*");
  
              System.out.print("\n");
          }
  
          for (int i = 7; i &gt; 0; i -= 2) {
              for (int j = 0; j &lt; 9 - i / 2; j++)
                  System.out.print(" ");
  
              for (int j = 0; j &lt; i; j++)
                  System.out.print("*");
  
              System.out.print("\n");
          }
      }
  }
  </code></pre>