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
d1d2d329
Kaydet (Commit)
d1d2d329
authored
Agu 06, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
java: remove exceptions from throws clauses that are not actually thrown
Change-Id: I9d0f9242c911d9dd05f2229da44a2e8305b3df6a
üst
b082fc64
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
6 additions
and
7 deletions
+6
-7
ComponentTreeTraversal.java
...xamples/DevelopersGuide/Forms/ComponentTreeTraversal.java
+1
-1
ControlLock.java
odk/examples/DevelopersGuide/Forms/ControlLock.java
+1
-1
FLTools.java
odk/examples/DevelopersGuide/Forms/FLTools.java
+1
-1
SpreadsheetDocument.java
odk/examples/DevelopersGuide/Forms/SpreadsheetDocument.java
+1
-1
DocumentEvents.java
sfx2/qa/complex/sfx2/DocumentEvents.java
+1
-1
ChartDocumentTest.java
sfx2/qa/complex/sfx2/undo/ChartDocumentTest.java
+1
-1
DrawingOrPresentationDocumentTest.java
.../complex/sfx2/undo/DrawingOrPresentationDocumentTest.java
+0
-1
No files found.
odk/examples/DevelopersGuide/Forms/ComponentTreeTraversal.java
Dosyayı görüntüle @
d1d2d329
...
...
@@ -55,7 +55,7 @@ class ComponentTreeTraversal implements IFormComponentAction
control model or a <service scope="com.sun.star.form">FormComponents</service>
instance.</p>
*/
protected
boolean
shouldStepInto
(
XIndexContainer
xContainer
)
throws
com
.
sun
.
star
.
uno
.
Exception
protected
boolean
shouldStepInto
(
XIndexContainer
xContainer
)
{
// step down the tree, if possible
XServiceInfo
xSI
=
UNO
.
queryServiceInfo
(
xContainer
);
...
...
odk/examples/DevelopersGuide/Forms/ControlLock.java
Dosyayı görüntüle @
d1d2d329
...
...
@@ -61,7 +61,7 @@ class LockControlModels extends ComponentTreeTraversal
/* ------------------------------------------------------------------ */
@Override
protected
boolean
shouldStepInto
(
XIndexContainer
xContainer
)
throws
com
.
sun
.
star
.
uno
.
Exception
protected
boolean
shouldStepInto
(
XIndexContainer
xContainer
)
{
if
(
!
super
.
shouldStepInto
(
xContainer
)
)
return
false
;
// don't try to be more clever than our base class
...
...
odk/examples/DevelopersGuide/Forms/FLTools.java
Dosyayı görüntüle @
d1d2d329
...
...
@@ -76,7 +76,7 @@ public class FLTools
/* ------------------------------------------------------------------ */
/** returns the name of the given form component
*/
public
static
String
getName
(
Object
aFormComponent
)
throws
com
.
sun
.
star
.
uno
.
Exception
public
static
String
getName
(
Object
aFormComponent
)
{
XNamed
xNamed
=
UnoRuntime
.
queryInterface
(
XNamed
.
class
,
aFormComponent
);
...
...
odk/examples/DevelopersGuide/Forms/SpreadsheetDocument.java
Dosyayı görüntüle @
d1d2d329
...
...
@@ -33,7 +33,7 @@ public class SpreadsheetDocument extends DocumentHelper
super
(
xCtx
,
implCreateBlankDocument
(
xCtx
,
"private:factory/scalc"
)
);
}
public
SpreadsheetDocument
(
XComponentContext
xCtx
,
XComponent
document
)
throws
com
.
sun
.
star
.
uno
.
Exception
public
SpreadsheetDocument
(
XComponentContext
xCtx
,
XComponent
document
)
{
super
(
xCtx
,
document
);
}
...
...
sfx2/qa/complex/sfx2/DocumentEvents.java
Dosyayı görüntüle @
d1d2d329
...
...
@@ -105,7 +105,7 @@ public class DocumentEvents extends JUnitBasedTest
}
//@Test
public
void
testCloseByAPI
()
throws
Exception
public
void
testCloseByAPI
()
{
impl_setupDocCloseTest
();
// closing the doc by API is synchronous, so do this in a separate thread, else we will get a deadlock
...
...
sfx2/qa/complex/sfx2/undo/ChartDocumentTest.java
Dosyayı görüntüle @
d1d2d329
...
...
@@ -47,7 +47,7 @@ import static org.junit.Assert.*;
public
class
ChartDocumentTest
implements
DocumentTest
{
public
ChartDocumentTest
(
final
XMultiServiceFactory
i_orb
)
throws
com
.
sun
.
star
.
uno
.
Exception
,
InterruptedException
public
ChartDocumentTest
(
final
XMultiServiceFactory
i_orb
)
throws
com
.
sun
.
star
.
uno
.
Exception
{
m_textDocument
=
OfficeDocument
.
blankDocument
(
i_orb
,
DocumentType
.
WRITER
);
...
...
sfx2/qa/complex/sfx2/undo/DrawingOrPresentationDocumentTest.java
Dosyayı görüntüle @
d1d2d329
...
...
@@ -165,7 +165,6 @@ public abstract class DrawingOrPresentationDocumentTest extends DocumentTestBase
* verifies the given shape has the given size
*/
private
void
verifyShapeGeometry
(
final
Object
i_shapeObject
,
final
int
i_expectedWidth
,
final
int
i_expectedHeight
)
throws
com
.
sun
.
star
.
uno
.
Exception
{
final
XShape
shape
=
UnoRuntime
.
queryInterface
(
XShape
.
class
,
i_shapeObject
);
final
Size
shapeSize
=
shape
.
getSize
();
...
...
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