Details
-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 2.5.1
-
Fix Version/s: 2.6
-
Component/s: Efficiency
-
Labels:None
Description
In the 2.5.1 code:
public void outputValues_actionPerformed(ActionEvent e)
{
CutAndPasteTransfer cap = new CutAndPasteTransfer();
Desktop.addInternalFrame(cap, "PCA details", 500, 500);
cap.setText(pca.getDetails());
}
An empty cut and paste is left open if the 'setText' step fails due to an OOM exception.
public void outputValues_actionPerformed(ActionEvent e)
{
CutAndPasteTransfer cap = new CutAndPasteTransfer();
Desktop.addInternalFrame(cap, "PCA details", 500, 500);
cap.setText(pca.getDetails());
}
An empty cut and paste is left open if the 'setText' step fails due to an OOM exception.