This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Original submitter: sunflower Description: Steps to reproduce: - Reverse Engineer 'RectangularMatrix getCopy()' method from 'RectangularMatrix' class and create a Sequence diagram: --------------------------------------------------------------- public class RectangularMatrix { protected final int dimN; protected final int dimM; protected final double element[][]; public RectangularMatrix(int dimN, int dimM) { this.dimN = dimN; this.dimM = dimM; element = new double[ this.dimN ][ this.dimM ]; } public RectangularMatrix getCopy() { RectangularMatrix copy = new RectangularMatrix(dimN, dimM); for(int i=0; i< dimN; i++){ for(int j=0; i< dimM; j++){ copy.element[i][j] = element[i][j]; } } return copy; } } --------------------------------------------------------------- There are 'element:double' and 'element[]:double' Lifelines on the Sequence diagram which are not used within the method.
Created attachment 31221 [details] img