You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by sp...@apache.org on 2006/01/09 16:14:03 UTC
svn commit: r367317 -
/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/AbstractTableSection.java
Author: sppatel
Date: Mon Jan 9 07:14:01 2006
New Revision: 367317
URL: http://svn.apache.org/viewcvs?rev=367317&view=rev
Log:
GERONIMODEVTOOLS-31
Modified:
geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/AbstractTableSection.java
Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/AbstractTableSection.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/AbstractTableSection.java?rev=367317&r1=367316&r2=367317&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/AbstractTableSection.java (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/AbstractTableSection.java Mon Jan 9 07:14:01 2006
@@ -60,8 +60,8 @@
import org.openejb.xml.ns.pkgen.provider.PkgenItemProviderAdapterFactory;
public abstract class AbstractTableSection extends AbstractSectionPart {
-
- protected static String[] COLUMN_NAMES = new String[]{};
+
+ protected static String[] COLUMN_NAMES = new String[] {};
private Table table;
@@ -108,8 +108,8 @@
public void createClient() {
- assert getTableEntryObjectType() != null
- && getTableColumnNames() != null;
+ if (getTableEntryObjectType() == null)
+ throw new NullPointerException();
getSection().setText(getTitle());
getSection().setDescription(getDescription());
@@ -298,7 +298,7 @@
protected Table getTable() {
return table;
}
-
+
public String[] getTableColumnNames() {
return COLUMN_NAMES;
}