Revision: 18667
          http://sourceforge.net/p/gate/code/18667
Author:   ian_roberts
Date:     2015-05-05 15:31:26 +0000 (Tue, 05 May 2015)
Log Message:
-----------
Don't unset authHeader at init if username is not set, as this will break 
indexes when they are re-opened - the username will be null on deserialization 
because the field is transient, but the authHeader will have been calculated 
last time round and should not be overwritten.

Modified Paths:
--------------
    
mimir/trunk/plugins/sparql/src/gate/mimir/sparql/SPARQLSemanticAnnotationHelper.java

Modified: 
mimir/trunk/plugins/sparql/src/gate/mimir/sparql/SPARQLSemanticAnnotationHelper.java
===================================================================
--- 
mimir/trunk/plugins/sparql/src/gate/mimir/sparql/SPARQLSemanticAnnotationHelper.java
        2015-05-05 15:28:35 UTC (rev 18666)
+++ 
mimir/trunk/plugins/sparql/src/gate/mimir/sparql/SPARQLSemanticAnnotationHelper.java
        2015-05-05 15:31:26 UTC (rev 18667)
@@ -251,8 +251,6 @@
       } catch(UnsupportedEncodingException e) {
         throw new UnsupportedCharsetException("UTF-8");
       }
-    } else {
-      authHeader = null;
     }
     // ensure we have a sparqlRequestMethod set on deserialization
     if(sparqlRequestMethod == null) {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to