summaryrefslogtreecommitdiff
path: root/toolkit/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-13 09:02:41 +0200
committerNoel Grandin <noel@peralex.com>2014-08-20 10:35:51 +0200
commit252ed1708ad5a007e4c47c243595206650876a2b (patch)
treeb2a7a47f8a39c598c25355640a77022918c2d209 /toolkit/qa
parenta240a78cc771a89febfe181abe78d2cf16e1970f (diff)
double-checked locking is not thread-safe in Java
found by PMD Change-Id: Ibd4a9139c626932bec56c0b1dd32b4d59c8440b1
Diffstat (limited to 'toolkit/qa')
-rw-r--r--toolkit/qa/complex/toolkit/Assert.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/qa/complex/toolkit/Assert.java b/toolkit/qa/complex/toolkit/Assert.java
index 0bda0b65c242..eb6ec44dce1e 100644
--- a/toolkit/qa/complex/toolkit/Assert.java
+++ b/toolkit/qa/complex/toolkit/Assert.java
@@ -59,7 +59,7 @@ public class Assert
catch ( NoSuchMethodException e )
{
StringBuilder message = new StringBuilder();
- message.append( "no such method: " ).append( objectClass.getName() ).append( "." ).append( i_methodName ).append( "( " );
+ message.append( "no such method: " ).append( objectClass.getName() ).append( '.' ).append( i_methodName ).append( "( " );
for ( int i=0; i<i_argClasses.length; ++i )
{
message.append( i_argClasses[i].getName() );