diff --git a/src/adql/query/from/ADQLTable.java b/src/adql/query/from/ADQLTable.java index 9acd436324b4ba4bf228457f2a875c5fdc888ce1..0d592eac91b217d1a6ba8269ae5b5a68a1716a95 100644 --- a/src/adql/query/from/ADQLTable.java +++ b/src/adql/query/from/ADQLTable.java @@ -16,7 +16,8 @@ package adql.query.from; * You should have received a copy of the GNU Lesser General Public License * along with ADQLLibrary. If not, see <http://www.gnu.org/licenses/>. * - * Copyright 2012 - UDS/Centre de DonnĂ©es astronomiques de Strasbourg (CDS) + * Copyright 2012-2015 - UDS/Centre de DonnĂ©es astronomiques de Strasbourg (CDS), + * Astronomisches Rechen Institut (ARI) */ import java.util.ArrayList; @@ -37,8 +38,8 @@ import adql.query.TextPosition; * It represents any item of the clause FROM: a table name or a sub-query.<br /> * A table reference may have an alias (MUST if it is a sub-query). * - * @author Grégory Mantelet (CDS) - * @version 01/2012 + * @author Grégory Mantelet (CDS;ARI) + * @version 06/2015 */ public class ADQLTable implements ADQLObject, FromContent { @@ -83,7 +84,7 @@ public class ADQLTable implements ADQLObject, FromContent { * @param table Name of the table. */ public ADQLTable(String schema, String table){ - this(table); + setTableName(table); setSchemaName(schema); }