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
8e3f7214
Kaydet (Commit)
8e3f7214
authored
Eki 14, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
casting before calling getClass() is a waste of time
Change-Id: Id88aa9e43b736e6fdeaf098a952dae5421468f83
üst
db4870bc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
MultiPropertyTest.java
qadevOOo/runner/lib/MultiPropertyTest.java
+3
-3
CalcRTL.java
sc/qa/complex/sc/CalcRTL.java
+2
-5
No files found.
qadevOOo/runner/lib/MultiPropertyTest.java
Dosyayı görüntüle @
8e3f7214
...
...
@@ -359,7 +359,7 @@ public class MultiPropertyTest extends MultiMethodTest
{
if
(!
util
.
utils
.
isVoid
(
oldValue
)
&&
oldValue
instanceof
Any
)
{
oldValue
=
AnyConverter
.
toObject
(
new
Type
(
((
Any
)
oldValue
)
.
getClass
()),
oldValue
);
oldValue
=
AnyConverter
.
toObject
(
new
Type
(
oldValue
.
getClass
()),
oldValue
);
}
log
.
println
(
"result = "
+
toString
(
resValue
));
}
...
...
@@ -393,7 +393,7 @@ public class MultiPropertyTest extends MultiMethodTest
{
if
(!
util
.
utils
.
isVoid
(
oldValue
)
&&
oldValue
instanceof
Any
)
{
oldValue
=
AnyConverter
.
toObject
(
new
Type
(
((
Any
)
oldValue
)
.
getClass
()),
oldValue
);
oldValue
=
AnyConverter
.
toObject
(
new
Type
(
oldValue
.
getClass
()),
oldValue
);
}
log
.
println
(
"result = "
+
toString
(
resValue
));
}
...
...
@@ -427,7 +427,7 @@ public class MultiPropertyTest extends MultiMethodTest
{
if
(!
util
.
utils
.
isVoid
(
oldValue
)
&&
oldValue
instanceof
Any
)
{
oldValue
=
AnyConverter
.
toObject
(
new
Type
(
((
Any
)
oldValue
)
.
getClass
()),
oldValue
);
oldValue
=
AnyConverter
.
toObject
(
new
Type
(
oldValue
.
getClass
()),
oldValue
);
}
log
.
println
(
"result = "
+
toString
(
resValue
));
}
...
...
sc/qa/complex/sc/CalcRTL.java
Dosyayı görüntüle @
8e3f7214
...
...
@@ -403,11 +403,8 @@ public class CalcRTL
"' has changed"
);
try
{
if
(!
util
.
utils
.
isVoid
(
oldValue
)
&&
oldValue
instanceof
Any
)
{
oldValue
=
AnyConverter
.
toObject
(
new
Type
(((
Any
)
oldValue
).
getClass
()),
oldValue
);
if
(!
util
.
utils
.
isVoid
(
oldValue
)
&&
oldValue
instanceof
Any
)
{
oldValue
=
AnyConverter
.
toObject
(
new
Type
(
oldValue
.
getClass
()),
oldValue
);
}
System
.
out
.
println
(
"old = "
+
toString
(
oldValue
));
...
...
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