Subversion Repository Public Repository

litesoft

Diff Revisions 949 vs 950 for /trunk/Java/GWT/Server/src/org/litesoft/GWT/server/ReportTableDefinition.java

Diff revisions: vs.
  @@ -3,8 +3,6 @@
3 3
4 4 import org.litesoft.GWT.client.widgets.datatables.*;
5 5 import org.litesoft.commonfoundation.base.*;
6 - import org.litesoft.commonfoundation.typeutils.*;
7 - import org.litesoft.commonfoundation.typeutils.Objects;
8 6 import org.litesoft.orsup.base.*;
9 7 import org.litesoft.orsup.otherattributeaccessors.*;
10 8
  @@ -20,7 +18,7 @@
20 18 protected MetaDataForPO<RowType> mPOMD;
21 19
22 20 public ReportTableDefinition( MetaDataForPO<RowType> pPOMD ) {
23 - Objects.assertNotNull( "PO MetaData", mPOMD = pPOMD );
21 + Confirm.isNotNull( "PO MetaData", mPOMD = pPOMD );
24 22 }
25 23
26 24 @SuppressWarnings({"UnusedDeclaration"})
  @@ -47,10 +45,10 @@
47 45 public void addStandardHeaders( Writer pWriter, String... pTitleLines )
48 46 throws IOException {
49 47 List<TableColumnDefinition> zDefinitions = getVisibleTableColumnDefinitions();
50 - if ( Lists.isNullOrEmpty( zDefinitions ) ) {
48 + if ( Currently.isNullOrEmpty( zDefinitions ) ) {
51 49 return;
52 50 }
53 - if ( Objects.isNotNullOrEmpty( pTitleLines ) ) {
51 + if ( Currently.isNotNullOrEmpty( pTitleLines ) ) {
54 52 pWriter.append( " <tr>\n" );
55 53 pWriter.append( " <th align=\"center\" colspan=\"" ).append( String.valueOf( zDefinitions.size() ) )
56 54 .append( "\" class=\"table_head\">" );
  @@ -128,7 +126,7 @@
128 126 return (pSCD instanceof AbstractAttributeAccessorSCDlocal) || (null != getAcceptableRelationship( pSCD ));
129 127 }
130 128 }.createPath( pDottedAttributeName );
131 - if ( Objects.isNullOrEmpty( zPathNodes ) ) {
129 + if ( Currently.isNullOrEmpty( zPathNodes ) ) {
132 130 throw new IllegalStateException( "Path '" + pDottedAttributeName + "' unacceptable for " + mPOMD.getIdentifierName() );
133 131 }
134 132