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
e0fd10bc
Kaydet (Commit)
e0fd10bc
authored
Ara 21, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
cid#1343654 FindBugs: Bad practice (FB.DMI_RANDOM_USED_ONLY_ONCE)
Change-Id: Ifbc362835bc62578851a029e9c5ce8c20184846a
üst
29aec387
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Bootstrap.java
javaunohelper/com/sun/star/comp/helper/Bootstrap.java
+3
-1
No files found.
javaunohelper/com/sun/star/comp/helper/Bootstrap.java
Dosyayı görüntüle @
e0fd10bc
...
...
@@ -314,7 +314,7 @@ public class Bootstrap {
// create random pipe name
String
sPipeName
=
"uno"
+
Long
.
toString
(
(
new
Random
()).
nextLong
()
&
0x7fffffffffffffff
L
);
Long
.
toString
(
randomPipeName
.
nextLong
()
&
0x7fffffffffffffff
L
);
// create call with arguments
String
[]
cmdArray
=
new
String
[
argArray
.
length
+
2
];
...
...
@@ -372,6 +372,8 @@ public class Bootstrap {
return
xContext
;
}
private
static
final
Random
randomPipeName
=
new
Random
();
private
static
void
pipe
(
final
InputStream
in
,
final
PrintStream
out
,
final
String
prefix
)
{
...
...
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