summaryrefslogtreecommitdiff
path: root/sw/qa/complex/writer
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 /sw/qa/complex/writer
parenta240a78cc771a89febfe181abe78d2cf16e1970f (diff)
double-checked locking is not thread-safe in Java
found by PMD Change-Id: Ibd4a9139c626932bec56c0b1dd32b4d59c8440b1
Diffstat (limited to 'sw/qa/complex/writer')
-rw-r--r--sw/qa/complex/writer/CheckBookmarks.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/complex/writer/CheckBookmarks.java b/sw/qa/complex/writer/CheckBookmarks.java
index 348844cf4868..0e72bc851bcc 100644
--- a/sw/qa/complex/writer/CheckBookmarks.java
+++ b/sw/qa/complex/writer/CheckBookmarks.java
@@ -71,9 +71,9 @@ class BookmarkHashes {
XTextContent.class,
xBookmark);
buffer.append(sBookmarkname);
- buffer.append(":");
+ buffer.append(':');
buffer.append(xBookmarkAsContent.getAnchor().getString());
- buffer.append(";");
+ buffer.append(';');
}
java.security.MessageDigest sha1 = java.security.MessageDigest.getInstance("SHA-1");
sha1.reset();