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
17f9b924
Kaydet (Commit)
17f9b924
authored
Agu 01, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
xmerge: simplify static final constructors
Change-Id: I40f98c77c5f922fdce8242dac402feaf534da6bf
üst
ebe8792a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
19 deletions
+7
-19
Version.java
xmerge/source/xmerge/java/org/openoffice/xmerge/Version.java
+2
-8
ConverterInfo.java
...va/org/openoffice/xmerge/util/registry/ConverterInfo.java
+5
-11
No files found.
xmerge/source/xmerge/java/org/openoffice/xmerge/Version.java
Dosyayı görüntüle @
17f9b924
...
@@ -26,15 +26,9 @@ package org.openoffice.xmerge;
...
@@ -26,15 +26,9 @@ package org.openoffice.xmerge;
*/
*/
public
final
class
Version
{
public
final
class
Version
{
private
static
final
Package
pkg
;
private
static
final
Version
version
=
new
Version
()
;
private
static
final
Version
version
;
private
static
final
Package
pkg
=
version
.
getClass
().
getPackage
();
static
{
version
=
new
Version
();
pkg
=
version
.
getClass
().
getPackage
();
}
/**
/**
* Private constructor to provide a singleton instance.
* Private constructor to provide a singleton instance.
...
...
xmerge/source/xmerge/java/org/openoffice/xmerge/util/registry/ConverterInfo.java
Dosyayı görüntüle @
17f9b924
...
@@ -37,19 +37,13 @@ public class ConverterInfo {
...
@@ -37,19 +37,13 @@ public class ConverterInfo {
/**
/**
* Keep track of the valid Office mime types
* Keep track of the valid Office mime types
*/
*/
private
static
String
[]
validOfficeTypes
;
private
static
final
String
[]
validOfficeTypes
=
new
String
[]
{
public
static
String
SxwType
=
"staroffice/sxw"
;
// This needs to be updated to reflect all valid office types.
public
static
String
SxcType
=
"staroffice/sxc"
;
"staroffice/sxw"
,
"staroffice/sxc"
};
static
{
// This needs to be updated to reflect all valid office types.
validOfficeTypes
=
new
String
[
2
];
validOfficeTypes
[
0
]
=
SxwType
;
validOfficeTypes
[
1
]
=
SxcType
;
}
private
String
piJarName
;
private
String
piJarName
;
private
String
piOfficeMime
;
private
String
piOfficeMime
;
private
ArrayList
<
String
>
piDeviceMime
;
private
ArrayList
<
String
>
piDeviceMime
;
...
...
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