From 53498b2e57da23e4e12c5747ec1c4765dc549169 Mon Sep 17 00:00:00 2001
From: gmantele <gmantele@ari.uni-heidelberg.de>
Date: Wed, 6 Aug 2014 18:56:02 +0200
Subject: [PATCH] [TAP] Fix the /tables output: the UCD node was after
 UType...it should be just before (warning raised by TAPLint)

---
 src/tap/metadata/TAPMetadata.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tap/metadata/TAPMetadata.java b/src/tap/metadata/TAPMetadata.java
index 3f1c38f..3aa3898 100644
--- a/src/tap/metadata/TAPMetadata.java
+++ b/src/tap/metadata/TAPMetadata.java
@@ -590,8 +590,8 @@ public class TAPMetadata implements Iterable<TAPSchema>, VOSIResource, TAPResour
 		writeAtt(prefix, "name", c.getADQLName(), writer);
 		writeAtt(prefix, "description", c.getDescription(), writer);
 		writeAtt(prefix, "unit", c.getUnit(), writer);
-		writeAtt(prefix, "utype", c.getUtype(), writer);
 		writeAtt(prefix, "ucd", c.getUcd(), writer);
+		writeAtt(prefix, "utype", c.getUtype(), writer);
 
 		if (c.getDatatype() != null){
 			writer.print(prefix);
-- 
GitLab