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
11b205d0
Kaydet (Commit)
11b205d0
authored
Mar 10, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
wizards: simplify deprecated XTypeProvider.getImplementationId
Change-Id: I9ac8fc460fbdb957f3cae4c2cde42962daca0052
üst
a3cdc0c6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
100 deletions
+4
-100
CallFormWizard.java
wizards/com/sun/star/wizards/form/CallFormWizard.java
+1
-25
CallQueryWizard.java
wizards/com/sun/star/wizards/query/CallQueryWizard.java
+1
-25
CallReportWizard.java
wizards/com/sun/star/wizards/report/CallReportWizard.java
+1
-25
CallTableWizard.java
wizards/com/sun/star/wizards/table/CallTableWizard.java
+1
-25
No files found.
wizards/com/sun/star/wizards/form/CallFormWizard.java
Dosyayı görüntüle @
11b205d0
...
@@ -128,33 +128,9 @@ public class CallFormWizard
...
@@ -128,33 +128,9 @@ public class CallFormWizard
return
(
booleanSupportsService
);
return
(
booleanSupportsService
);
}
}
/** This method returns an array of bytes, that can be used to
* unambiguously distinguish between two sets of types, e.g.
* to realise hashing functionality when the object is introspected.
* Two objects that return the same ID also have to return
* the same set of types in getTypes(). If an unique
* implementation Id cannot be provided this method has to
* return an empty sequence. Important: If the object
* aggregates other objects the ID has to be unique for the
* whole combination of objects.
* @return Array of bytes, in order to distinguish between two sets.
*/
public
byte
[]
getImplementationId
()
public
byte
[]
getImplementationId
()
{
{
byte
[]
byteReturn
=
return
new
byte
[
0
];
{
};
try
{
byteReturn
=
(
PropertyNames
.
EMPTY_STRING
+
this
.
hashCode
()).
getBytes
();
}
catch
(
Exception
exception
)
{
System
.
err
.
println
(
exception
);
}
return
(
byteReturn
);
}
}
/** Return the class name of the component.
/** Return the class name of the component.
...
...
wizards/com/sun/star/wizards/query/CallQueryWizard.java
Dosyayı görüntüle @
11b205d0
...
@@ -133,34 +133,10 @@ public class CallQueryWizard
...
@@ -133,34 +133,10 @@ public class CallQueryWizard
return
(
booleanSupportsService
);
return
(
booleanSupportsService
);
}
}
/** This method returns an array of bytes, that can be used to
* unambiguously distinguish between two sets of types, e.g.
* to realise hashing functionality when the object is introspected.
* Two objects that return the same ID also have to return
* the same set of types in getTypes(). If an unique
* implementation Id cannot be provided this method has to
* return an empty sequence. Important: If the object
* aggregates other objects the ID has to be unique for the
* whole combination of objects.
* @return Array of bytes, in order to distinguish between two sets.
*/
@Override
@Override
public
byte
[]
getImplementationId
()
public
byte
[]
getImplementationId
()
{
{
byte
[]
byteReturn
=
return
new
byte
[
0
];
{
};
try
{
byteReturn
=
(
PropertyNames
.
EMPTY_STRING
+
this
.
hashCode
()).
getBytes
();
}
catch
(
Exception
exception
)
{
System
.
err
.
println
(
exception
);
}
return
(
byteReturn
);
}
}
/** Return the class name of the component.
/** Return the class name of the component.
...
...
wizards/com/sun/star/wizards/report/CallReportWizard.java
Dosyayı görüntüle @
11b205d0
...
@@ -160,33 +160,9 @@ public class CallReportWizard
...
@@ -160,33 +160,9 @@ public class CallReportWizard
return
(
booleanSupportsService
);
return
(
booleanSupportsService
);
}
}
/** This method returns an array of bytes, that can be used to
* unambiguously distinguish between two sets of types, e.g.
* to realise hashing functionality when the object is introspected.
* Two objects that return the same ID also have to return
* the same set of types in getTypes(). If an unique
* implementation Id cannot be provided this method has to
* return an empty sequence. Important: If the object
* aggregates other objects the ID has to be unique for the
* whole combination of objects.
* @return Array of bytes, in order to distinguish between two sets.
*/
public
byte
[]
getImplementationId
()
public
byte
[]
getImplementationId
()
{
{
byte
[]
byteReturn
=
return
new
byte
[
0
];
{
};
try
{
byteReturn
=
(
PropertyNames
.
EMPTY_STRING
+
this
.
hashCode
()).
getBytes
();
}
catch
(
Exception
e
)
{
Logger
.
getLogger
(
CallReportWizard
.
class
.
getName
()).
log
(
Level
.
SEVERE
,
null
,
e
);
}
return
(
byteReturn
);
}
}
/** Return the class name of the component.
/** Return the class name of the component.
...
...
wizards/com/sun/star/wizards/table/CallTableWizard.java
Dosyayı görüntüle @
11b205d0
...
@@ -135,33 +135,9 @@ public class CallTableWizard
...
@@ -135,33 +135,9 @@ public class CallTableWizard
return
(
booleanSupportsService
);
return
(
booleanSupportsService
);
}
}
/** This method returns an array of bytes, that can be used to
* unambiguously distinguish between two sets of types, e.g.
* to realise hashing functionality when the object is introspected.
* Two objects that return the same ID also have to return
* the same set of types in getTypes(). If an unique
* implementation Id cannot be provided this method has to
* return an empty sequence. Important: If the object
* aggregates other objects the ID has to be unique for the
* whole combination of objects.
* @return Array of bytes, in order to distinguish between two sets.
*/
public
byte
[]
getImplementationId
()
public
byte
[]
getImplementationId
()
{
{
byte
[]
byteReturn
=
return
new
byte
[
0
];
{
};
try
{
byteReturn
=
(
PropertyNames
.
EMPTY_STRING
+
this
.
hashCode
()).
getBytes
();
}
catch
(
Exception
exception
)
{
System
.
err
.
println
(
exception
);
}
return
(
byteReturn
);
}
}
/** Return the class name of the component.
/** Return the class name of the component.
...
...
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