kinow commented on code in PR #2136:
URL: https://github.com/apache/jena/pull/2136#discussion_r1438905643


##########
jena-core/src/main/java/org/apache/jena/ext/xerces/impl/dv/xs/FloatDV.java:
##########
@@ -157,7 +157,17 @@ private int compareTo(XFloat val) {
 
         private String canonical;
         @Override
-        public synchronized String toString() {
+        public String toString() {
+            if ( canonical == null ) {
+                synchronized (this) {

Review Comment:
   :ok_hand: 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to