Skip to content
Snippets Groups Projects
Commit fbeb58f6 authored by gmantele's avatar gmantele
Browse files

[TAP] Fix ConcurrentModificationException when copying a TAPTable.

parent b40638f4
No related branches found
No related tags found
No related merge requests found
...@@ -872,7 +872,7 @@ public class TAPTable implements DBTable { ...@@ -872,7 +872,7 @@ public class TAPTable implements DBTable {
copy.setSchema(schema); copy.setSchema(schema);
Collection<TAPColumn> collColumns = columns.values(); Collection<TAPColumn> collColumns = columns.values();
for(TAPColumn col : collColumns) for(TAPColumn col : collColumns)
copy.addColumn((TAPColumn)col.copy()); copy.addColumn((TAPColumn)col.copy(col.getDBName(), col.getADQLName(), null));
copy.setDescription(description); copy.setDescription(description);
copy.setOtherData(otherData); copy.setOtherData(otherData);
copy.setType(type); copy.setType(type);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment