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.
/**
*/
public boolean testDataObject(DataObject dobj) {
InputStream is = null;
LineNumberReader reader = null;
try {
String line = ""; //NOI18N
boolean hit = false;
return false;
}
// primary file content
InputStream is = fo.getInputStream();
is = fo.getInputStream();
LineNumberReader reader = new LineNumberReader(new InputStreamReader(is));
reader = new LineNumberReader(new InputStreamReader(is));
TextDetail detail = null;
} catch (IOException ioe) {
org.openide.ErrorManager.getDefault().notify(org.openide.ErrorManager.INFORMATIONAL, ioe);
} finally {
if (reader != null) {
reader.close();
reader = null;
is = null; //marks that the InputStream is closed
} catch (IOException ex) {
org.openide.ErrorManager.getDefault().notify(
org.openide.ErrorManager.INFORMATIONAL, ex);
if (is != null) {
is.close();
is = null;