Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Dockerized Testing Toolkit
Testrunner OpenJDK11 JUnit5-Jupiter
Commits
7c086338
Verified
Commit
7c086338
authored
Dec 29, 2020
by
Lukas Wiest
🚂
Browse files
fix(app): buildClasspath: check if folder exists before walk-through
parent
0c576205
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/de/hftstuttgart/modocot/Testrunner.java
View file @
7c086338
...
...
@@ -111,6 +111,11 @@ public class Testrunner
{
path
=
path
.
substring
(
0
,
path
.
length
()
-
1
);
File
pathFile
=
new
File
(
path
);
if
(!
pathFile
.
exists
()
||
!
pathFile
.
isDirectory
())
{
continue
;
}
for
(
File
file
:
Objects
.
requireNonNull
(
pathFile
.
listFiles
()))
{
if
(
file
.
isFile
()
&&
file
.
getName
().
endsWith
(
".jar"
))
...
...
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