From edb10897fdd3e32b0c9c3791b0c0634c65477296 Mon Sep 17 00:00:00 2001
From: gmantele <gmantele@ari.uni-heidelberg.de>
Date: Tue, 16 Jun 2015 11:57:05 +0200
Subject: [PATCH] [ADQL] Fix the problem of DOT inside table name while parsing
 an ADQL query.

---
 src/adql/query/from/ADQLTable.java | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/adql/query/from/ADQLTable.java b/src/adql/query/from/ADQLTable.java
index 9acd436..0d592ea 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&eacute;gory Mantelet (CDS)
- * @version 01/2012
+ * @author Gr&eacute;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);
 	}
 
-- 
GitLab