}
/**
- *
- * xssfSheetIterator was added to make transitioning to the new Iterator<Sheet> iterator()
+ * xssfSheetIterator was added to make transitioning to the new Iterator<Sheet> iterator()
* interface less painful for projects currently using POI.
*
* If your code was written using a for-each loop:
* There are two ways to upgrade your code:
* // Option A:
* <pre><code>
- * for (XSSFSheet sh : (Iterable<XSSFSheet>) (Iterable<? extends Sheet>) wb) {
- * sh.createRow(0);
- * }
+ * for (XSSFSheet sh : (Iterable<XSSFSheet>) (Iterable<? extends Sheet>) wb) {
+ * sh.createRow(0);
+ * }
* </code></pre>
*
* // Option B (preferred for new code):
*
* // Option B:
* <pre><code>
- * @SuppressWarnings("deprecation")
+ * @SuppressWarnings("deprecation")
* Iterator<XSSFSheet> it = wb.xssfSheetIterator();
* XSSFSheet sh = it.next();
* sh.createRow(0);