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
f40120dc
Kaydet (Commit)
f40120dc
authored
Eki 15, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1326293 Dereference after null check
Change-Id: I6ce295873eb2ed1231ad1d95babfcc2c8ff265e8
üst
293dd731
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
16 deletions
+13
-16
_XExactName.java
qadevOOo/tests/java/ifc/beans/_XExactName.java
+13
-16
No files found.
qadevOOo/tests/java/ifc/beans/_XExactName.java
Dosyayı görüntüle @
f40120dc
...
@@ -41,13 +41,12 @@ public class _XExactName extends MultiMethodTest {
...
@@ -41,13 +41,12 @@ public class _XExactName extends MultiMethodTest {
if
(
getting
==
null
)
{
if
(
getting
==
null
)
{
res
=
false
;
res
=
false
;
}
else
{
}
else
{
res
=
getting
.
equals
(
expectedName
);
if
(!
getting
.
equals
(
expectedName
))
{
}
log
.
println
(
"didn't get the expected Name:"
);
log
.
println
(
"getting: "
+
getting
);
if
(!
res
)
{
log
.
println
(
"Expected: "
+
expectedName
);
log
.
println
(
"didn't get the expected Name:"
);
res
=
false
;
log
.
println
(
"getting: "
+
getting
);
}
log
.
println
(
"Expected: "
+
expectedName
);
}
}
nameFor
=
expectedName
.
toUpperCase
();
nameFor
=
expectedName
.
toUpperCase
();
...
@@ -58,13 +57,12 @@ public class _XExactName extends MultiMethodTest {
...
@@ -58,13 +57,12 @@ public class _XExactName extends MultiMethodTest {
if
(
getting
==
null
)
{
if
(
getting
==
null
)
{
res
=
false
;
res
=
false
;
}
else
{
}
else
{
res
&=
getting
.
equals
(
expectedName
);
if
(!
getting
.
equals
(
expectedName
))
{
}
log
.
println
(
"didn't get the expected Name:"
);
log
.
println
(
"getting: "
+
getting
);
if
(!
getting
.
equals
(
expectedName
))
{
log
.
println
(
"Expected: "
+
expectedName
);
log
.
println
(
"didn't get the expected Name:"
);
res
=
false
;
log
.
println
(
"getting: "
+
getting
);
}
log
.
println
(
"Expected: "
+
expectedName
);
}
}
tRes
.
tested
(
"getExactName()"
,
res
);
tRes
.
tested
(
"getExactName()"
,
res
);
...
@@ -83,4 +81,4 @@ public class _XExactName extends MultiMethodTest {
...
@@ -83,4 +81,4 @@ public class _XExactName extends MultiMethodTest {
"Object relation expectedName is missing"
));
"Object relation expectedName is missing"
));
}
}
}
}
}
}
\ No newline at end of file
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