title: Nested for-loop issue
body: <p>This piece of code is returning an issue in Netbeans Java</p>
  
  <pre><code>public static void main(String str[]) throws Exception {
      NetworkInterface[] devices = JpcapCaptor.getDeviceList();
  
      for (int i = 0; i &amp;lt; devices.length; i++) {
          System.out.println(i + " :" + devices[i].name + "(" + devices[i].description + ")");
          System.out.println("    data link:" + devices[i].datalink_name + "(" + devices[i].datalink_description + ")");
          System.out.print("    MAC address:");            
          for (byte b : devices[i].mac_address) {                 
              System.out.print(Integer.toHexString(b &amp;amp; 0xff) + ":");
          }
          System.out.println();
          for (NetworkInterfaceAddress a : devices[i].addresses) {
              System.out.println("    address:" + a.address + " " + a.subnet + " " + a.broadcast);
          }
      }
  
      JpcapCaptor jpcap = JpcapCaptor.openDevice(devices[1], 2000, true, 20);    
      jpcap.loopPacket(-1, new packet_cap());
  }
  </code></pre>
  
  <p>Two lines of code are listed as 'not a statement' and expected ) and } . </p>
  
  <pre><code>for (int i = 0; i &amp;lt; devices.length; i++)
  </code></pre>
  
  <p>and</p>
  
  <pre><code>System.out.print(Integer.toHexString(b &amp;amp; 0xff) + ":");
  </code></pre>
  
  <p>I'm sure these issues are related.</p>