cid#1557158 Unguarded read
Change-Id: If749fd6fd232beaa44162956bd4f1e992d8e976d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173430 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
parent
acbbf33d67
commit
344945158b
1 changed files with 6 additions and 4 deletions
|
@ -210,11 +210,13 @@ public class _XRowLocate extends MultiMethodTest {
|
|||
|
||||
boolean result = true ;
|
||||
try {
|
||||
synchronized (oObj) {
|
||||
int hash1 = oObj.hashBookmark(bookmark1) ;
|
||||
int hash2 = oObj.hashBookmark(bookmark2) ;
|
||||
log.println("1st hash = " + hash1 + ", 2nd = " + hash2) ;
|
||||
|
||||
result = hash1 != hash2 ;
|
||||
}
|
||||
} catch (SQLException e) {
|
||||
log.println("Exception occurred :" + e) ;
|
||||
result = false ;
|
||||
|
|
Loading…
Reference in a new issue