Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Instrument Control
NomadCommandSystem
Commits
18699062
Commit
18699062
authored
Jan 29, 2015
by
helene ortiz
Browse files
No commit message
No commit message
parent
97bd69c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/fr/ill/ics/util/FileHelper.java
View file @
18699062
...
...
@@ -22,7 +22,6 @@ import java.io.File;
import
java.io.FilenameFilter
;
import
java.util.Set
;
import
java.util.TreeSet
;
import
java.util.logging.Level
;
import
java.util.logging.Logger
;
public
class
FileHelper
{
...
...
@@ -51,9 +50,7 @@ public class FileHelper {
String
[]
children
=
dir
.
list
(
filter
);
// append full path to file names
if
(
children
==
null
)
{
LOGGER
.
log
(
Level
.
WARNING
,
"Either the "
+
path
+
" directory does not exist or is not a directory"
);
}
else
{
if
(
children
!=
null
)
{
for
(
int
i
=
0
;
i
<
children
.
length
;
i
++)
{
if
(
withFullPath
)
{
children
[
i
]
=
path
+
children
[
i
];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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