HHH-7088 - Fix NPE in TableSourceImpl constructor

This commit is contained in:
Gail Badner 2012-02-20 17:02:54 -08:00
parent 3eccabb79a
commit 315b06ebda
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class TableSourceImpl implements TableSource {
this.schema = schema;
this.catalog = catalog;
// for some reason annotations passing in "" sometimes :(
this.tableName = tableName.equals( "" ) ? null : tableName;
this.tableName = "".equals( tableName ) ? null : tableName;
}
@Override