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
7cba598a
Kaydet (Commit)
7cba598a
authored
May 03, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Java cleanup, delete some dead code
Change-Id: I4423cc7ec49769e256f73d9b7fba7b78f84f932f
üst
8be40d31
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
49 deletions
+15
-49
Test05.java
odk/examples/java/Storage/Test05.java
+0
-2
OfficeProvider.java
qadevOOo/runner/helper/OfficeProvider.java
+0
-4
ScriptProvider.java
...om/sun/star/script/framework/provider/ScriptProvider.java
+6
-20
FileUpdater.java
scripting/workben/installer/FileUpdater.java
+9
-21
NodeFactory.java
toolkit/test/accessibility/NodeFactory.java
+0
-2
No files found.
odk/examples/java/Storage/Test05.java
Dosyayı görüntüle @
7cba598a
...
...
@@ -145,8 +145,6 @@ public class Test05 implements StorageTest {
XStream
xSubStream2clone
=
m_aTestHelper
.
OpenStream
(
xSubSubStorage
,
"SubStream2"
,
ElementModes
.
READ
|
ElementModes
.
NOCREATE
);
if
(
xSubStream2
==
null
)
return
false
;
// so now the first stream can not be open neither for reading nor for writing
...
...
qadevOOo/runner/helper/OfficeProvider.java
Dosyayı görüntüle @
7cba598a
...
...
@@ -444,10 +444,6 @@ public class OfficeProvider implements AppProvider
if
(
debug
&&
exc
!=
null
&&
exc
.
length
()
!=
0
)
{
if
(
exc
==
null
)
{
exc
=
""
;
}
dbg
(
"Could not connect an Office. "
+
exc
);
}
...
...
scripting/java/com/sun/star/script/framework/provider/ScriptProvider.java
Dosyayı görüntüle @
7cba598a
...
...
@@ -542,25 +542,17 @@ public abstract class ScriptProvider
public
java
.
lang
.
Object
getByName
(
String
aName
)
throws
com
.
sun
.
star
.
container
.
NoSuchElementException
,
com
.
sun
.
star
.
lang
.
WrappedTargetException
{
// TODO needs implementing?
if
(
true
)
{
throw
new
com
.
sun
.
star
.
uno
.
RuntimeException
(
"getByName not implemented"
);
}
return
new
Object
();
throw
new
com
.
sun
.
star
.
uno
.
RuntimeException
(
"getByName not implemented"
);
}
public
String
[]
getElementNames
()
{
// TODO needs implementing?
String
[]
result
=
new
String
[
0
];
if
(
true
)
{
throw
new
com
.
sun
.
star
.
uno
.
RuntimeException
(
"getElementNames not implemented"
);
throw
new
com
.
sun
.
star
.
uno
.
RuntimeException
(
"getElementNames not implemented"
);
}
return
result
;
}
...
...
@@ -585,14 +577,8 @@ public abstract class ScriptProvider
public
boolean
hasElements
()
{
// TODO needs implementing?
boolean
result
=
false
;
if
(
true
)
{
throw
new
com
.
sun
.
star
.
uno
.
RuntimeException
(
"hasElements not implemented"
);
}
return
result
;
throw
new
com
.
sun
.
star
.
uno
.
RuntimeException
(
"hasElements not implemented"
);
}
public
void
replaceByName
(
String
aName
,
java
.
lang
.
Object
aElement
)
throws
com
.
sun
.
star
.
lang
.
IllegalArgumentException
,
com
.
sun
.
star
.
container
.
NoSuchElementException
,
com
.
sun
.
star
.
lang
.
WrappedTargetException
{
...
...
scripting/workben/installer/FileUpdater.java
Dosyayı görüntüle @
7cba598a
...
...
@@ -37,14 +37,10 @@ public class FileUpdater {
try
{
BufferedReader
reader
=
new
BufferedReader
(
new
FileReader
(
in_file
));
count
=
-
1
;
for
(
String
s
=
reader
.
readLine
();
s
!=
null
;
s
=
reader
.
readLine
())
{
//</oor:node>
for
(
String
s
=
reader
.
readLine
();
s
!=
null
;
s
=
reader
.
readLine
())
{
//</oor:node>
count
=
count
+
1
;
if
(
s
!=
null
)
{
s
.
trim
();
xmlArray
[
count
]
=
s
;
}
else
break
;
s
.
trim
();
xmlArray
[
count
]
=
s
;
}
}
catch
(
IOException
ioe
)
{
...
...
@@ -111,14 +107,10 @@ public class FileUpdater {
try
{
BufferedReader
reader
=
new
BufferedReader
(
new
FileReader
(
in_file
));
count
=
-
1
;
for
(
String
s
=
reader
.
readLine
();
s
!=
null
;
s
=
reader
.
readLine
())
{
//</oor:node>
for
(
String
s
=
reader
.
readLine
();
s
!=
null
;
s
=
reader
.
readLine
())
{
//</oor:node>
count
=
count
+
1
;
if
(
s
!=
null
)
{
s
.
trim
();
xmlArray
[
count
]
=
s
;
}
else
break
;
s
.
trim
();
xmlArray
[
count
]
=
s
;
}
}
catch
(
IOException
ioe
)
{
...
...
@@ -187,14 +179,10 @@ public class FileUpdater {
try
{
BufferedReader
reader
=
new
BufferedReader
(
new
FileReader
(
in_file
));
count
=
-
1
;
for
(
String
s
=
reader
.
readLine
();
s
!=
null
;
s
=
reader
.
readLine
())
{
for
(
String
s
=
reader
.
readLine
();
s
!=
null
;
s
=
reader
.
readLine
())
{
count
=
count
+
1
;
if
(
s
!=
null
)
{
s
.
trim
();
xmlArray
[
count
]
=
s
;
}
else
break
;
s
.
trim
();
xmlArray
[
count
]
=
s
;
}
}
catch
(
IOException
ioe
)
{
...
...
toolkit/test/accessibility/NodeFactory.java
Dosyayı görüntüle @
7cba598a
...
...
@@ -135,8 +135,6 @@ class NodeFactory
AccTreeNode
aNode
=
new
AccTreeNode
(
xAccessible
,
xContext
,
sDisplay
,
aParent
);
addDefaultHandlers
(
aNode
,
xContext
);
if
(
aNode
==
null
)
System
.
out
.
println
(
"createDefaultNode == null"
);
return
aNode
;
}
...
...
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