src/share/classes/sun/tools/jconsole/inspector/TableSorter.java

Print this page

        

*** 144,154 **** restoreListeners(); // update row heights in XMBeanAttributes (required by expandable cells) if (attrs != null) { for (int i = 0; i < getRowCount(); i++) { ! Vector<?> data = (Vector) dataVector.elementAt(i); attrs.updateRowHeight(data.elementAt(1), i); } } } --- 144,154 ---- restoreListeners(); // update row heights in XMBeanAttributes (required by expandable cells) if (attrs != null) { for (int i = 0; i < getRowCount(); i++) { ! Vector<?> data = dataVector.elementAt(i); attrs.updateRowHeight(data.elementAt(1), i); } } }
*** 215,224 **** --- 215,225 ---- if( lo <= hi0 ) quickSort(lo, hi0 , key, isAscending); } } + @SuppressWarnings("unchecked") private Vector<Object> getRow(int row) { return dataVector.elementAt(row); } @SuppressWarnings("unchecked")