|
From: <hu...@us...> - 2007-05-02 16:44:59
|
Revision: 390
http://svn.sourceforge.net/cishell/?rev=390&view=rev
Author: huangb
Date: 2007-05-02 09:43:51 -0700 (Wed, 02 May 2007)
Log Message:
-----------
comment out some code to avoid generating duplicate error reports
when the application fails to load a file.
Modified Paths:
--------------
trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java
Modified: trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java
===================================================================
--- trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2007-04-26 18:39:27 UTC (rev 389)
+++ trunk/clients/gui/org.cishell.reference.gui.persistence/src/org/cishell/reference/gui/persistence/load/FileLoad.java 2007-05-02 16:43:51 UTC (rev 390)
@@ -185,7 +185,14 @@
}
}
- if (serviceRefList != null){
+ /*
+ * Bonnie: I commented out the following functions since when
+ * the application failed to load an nwb file, etc, the reader
+ * has report the error. It does not need this second error display.
+ * But maybe not all file readers will generate the error display if
+ * a failure occurs...
+ */
+/* if (serviceRefList != null){
if(serviceRefList.length >0 && !loadFileSuccess){
guiBuilder.showError("Can Not Load The File",
"Sorry, it's very possible that you have a wrong file format," +
@@ -196,8 +203,9 @@
"And send your requests or report the problem to "+
"cis...@li.... \n"+"Thank you.");
}
+
}
-
+*/
}catch (Exception e){
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|