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
2d5f3dcf
Kaydet (Commit)
2d5f3dcf
authored
Şub 08, 2016
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
cid#1326918 FB.NP_CLONE_COULD_RETURN_NULL
Change-Id: I875cc2fc868fb4f1f45e90320e1fdaf70fe871d8
üst
d282dec8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
InterfaceContainer.java
...elper/com/sun/star/lib/uno/helper/InterfaceContainer.java
+13
-10
No files found.
javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java
Dosyayı görüntüle @
2d5f3dcf
...
...
@@ -121,6 +121,11 @@ public class InterfaceContainer implements Cloneable
this
.
elementData
=
new
Object
[
initialCapacity
];
}
private
InterfaceContainer
(
Object
[]
data
)
{
elementData
=
data
;
size
=
elementData
==
null
?
0
:
elementData
.
length
;
}
/**
* Trims the capacity of this <tt>ArrayList</tt> instance to be the
* list's current size. An application can use this operation to minimize
...
...
@@ -448,16 +453,14 @@ public class InterfaceContainer implements Cloneable
@Override
synchronized
public
Object
clone
()
{
Object
ret
=
null
;
if
(
elementData
!=
null
)
{
InterfaceContainer
cont
=
new
InterfaceContainer
();
cont
.
elementData
=
new
Object
[
size
];
cont
.
size
=
size
;
System
.
arraycopy
(
elementData
,
0
,
cont
.
elementData
,
0
,
size
);
ret
=
cont
;
}
return
ret
;
Object
[]
data
;
if
(
elementData
==
null
)
{
data
=
null
;
}
else
{
data
=
new
Object
[
size
];
System
.
arraycopy
(
elementData
,
0
,
data
,
0
,
size
);
}
return
new
InterfaceContainer
(
data
);
}
synchronized
public
ListIterator
listIterator
()
{
...
...
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