jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1333220 - /incubator/jena/Jena2/ARQ/trunk/src/main/java/com/hp/hpl/jena/sparql/expr/nodevalue/NodeValueDouble.java
Date Wed, 02 May 2012 21:36:23 GMT
Author: andy
Date: Wed May  2 21:36:23 2012
New Revision: 1333220

URL: http://svn.apache.org/viewvc?rev=1333220&view=rev
Log:
toString() was not legal SPARQL shortform.

Modified:
    incubator/jena/Jena2/ARQ/trunk/src/main/java/com/hp/hpl/jena/sparql/expr/nodevalue/NodeValueDouble.java

Modified: incubator/jena/Jena2/ARQ/trunk/src/main/java/com/hp/hpl/jena/sparql/expr/nodevalue/NodeValueDouble.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/src/main/java/com/hp/hpl/jena/sparql/expr/nodevalue/NodeValueDouble.java?rev=1333220&r1=1333219&r2=1333220&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/src/main/java/com/hp/hpl/jena/sparql/expr/nodevalue/NodeValueDouble.java
(original)
+++ incubator/jena/Jena2/ARQ/trunk/src/main/java/com/hp/hpl/jena/sparql/expr/nodevalue/NodeValueDouble.java
Wed May  2 21:36:23 2012
@@ -54,7 +54,7 @@ public class NodeValueDouble extends Nod
     { 
         // Preserve lexical form
         if ( getNode() != null ) return super.asString() ;
-        return Double.toString(value) ;
+        return Utils.stringForm(value) ;
     }
     
     @Override



Mime
View raw message