title: I get the error that I must add return statement although I have added the return statement
body: <pre><code>public static ArrayList&lt;Double&gt; readSheet(XSSFSheet spreadsheet) {
      int rows = spreadsheet.getPhysicalNumberOfRows();
          
      for (int i = 0; i &lt;= i; i++) {
          XSSFRow row = spreadsheet.getRow(i);
          
          if (row == null) {
              continue;
          }
          
          int cells = row.getPhysicalNumberOfCells();
          ArrayList&lt;Double&gt; cellList = new ArrayList&lt;&gt;();
      
          for (int j = 0; j &lt; cells; j++) { //遍历每一列
              XSSFCell cell = row.getCell(j);
              cell.setCellType(cell.CELL_TYPE_STRING);
                  
              //new Double(&quot;1.0&quot;).intValue()
              Double cellValue = cell.getNumericCellValue();
              cellList.add(cellValue);        
          }
              
          return cellList;
      }
  }
  </code></pre>
  <p>Can someone please help</p>