Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
4f4c3032
Kaydet (Commit)
4f4c3032
authored
Eki 30, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1326927 silence Suspicious use of non-short-circuit boolean operator
Change-Id: I2973ab6cd021e4a36f11ae97d926faca77ea42be
üst
d77af785
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
_XBreakIterator.java
qadevOOo/tests/java/ifc/i18n/_XBreakIterator.java
+9
-3
No files found.
qadevOOo/tests/java/ifc/i18n/_XBreakIterator.java
Dosyayı görüntüle @
4f4c3032
...
@@ -582,15 +582,21 @@ public class _XBreakIterator extends MultiMethodTest {
...
@@ -582,15 +582,21 @@ public class _XBreakIterator extends MultiMethodTest {
for
(
int
i
=
0
;
i
<
vCharBlockBounds
.
size
()
-
1
;
i
++)
{
for
(
int
i
=
0
;
i
<
vCharBlockBounds
.
size
()
-
1
;
i
++)
{
int
endPos
=
vCharBlockBounds
.
get
(
i
).
endPos
;
int
endPos
=
vCharBlockBounds
.
get
(
i
).
endPos
;
int
startPos
=
vCharBlockBounds
.
get
(
i
+
1
).
startPos
;
int
startPos
=
vCharBlockBounds
.
get
(
i
+
1
).
startPos
;
bCharBlockRes
&=
endPos
==
startPos
;
if
(
endPos
!=
startPos
)
{
bCharBlockRes
=
false
;
}
}
}
log
.
println
(
"Testing for no intersections : "
+
bCharBlockRes
);
log
.
println
(
"Testing for no intersections : "
+
bCharBlockRes
);
int
startPos
=
vCharBlockBounds
.
get
(
0
).
startPos
;
int
startPos
=
vCharBlockBounds
.
get
(
0
).
startPos
;
bCharBlockRes
&=
startPos
==
0
;
if
(
startPos
!=
0
)
{
bCharBlockRes
=
false
;
}
int
endPos
=
vCharBlockBounds
.
get
int
endPos
=
vCharBlockBounds
.
get
(
vCharBlockBounds
.
size
()
-
1
).
endPos
;
(
vCharBlockBounds
.
size
()
-
1
).
endPos
;
bCharBlockRes
&=
endPos
==
UnicodeString
.
length
();
if
(
endPos
!=
UnicodeString
.
length
())
{
bCharBlockRes
=
false
;
}
log
.
println
(
"Regions should starts with 0 and ends with "
log
.
println
(
"Regions should starts with 0 and ends with "
+
UnicodeString
.
length
());
+
UnicodeString
.
length
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment