From cd281b5f9041a04e89ade081b8d3e257c5046461 Mon Sep 17 00:00:00 2001
From: tjc <tjc@ee4ac58c-ac51-4696-9907-e4b3aa274f04>
Date: Tue, 22 Apr 2008 09:46:17 +0000
Subject: [PATCH] strip out double quotes

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@7277 ee4ac58c-ac51-4696-9907-e4b3aa274f04
---
 uk/ac/sanger/artemis/chado/ChadoTransactionManager.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/uk/ac/sanger/artemis/chado/ChadoTransactionManager.java b/uk/ac/sanger/artemis/chado/ChadoTransactionManager.java
index 3cc769564..6d3655248 100644
--- a/uk/ac/sanger/artemis/chado/ChadoTransactionManager.java
+++ b/uk/ac/sanger/artemis/chado/ChadoTransactionManager.java
@@ -1444,6 +1444,10 @@ public class ChadoTransactionManager
          int index = qualifierString.indexOf("=");
          qualifierString = qualifierString.substring(index+1);
          
+         // strip out double quotes
+         if(qualifierString.startsWith("\"\""))
+           qualifierString = qualifierString.replaceAll("\"\"", "\"");
+         
          if(qualifierName.equals("Dbxref"))
          {
            logger4j.debug(uniquename+"  in handleReservedTags() DELETE db="+
-- 
GitLab