Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
isochrone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Institut für Informatik
dbis
dbis-isochrone
isochrone
Commits
5f05553e
Commit
5f05553e
authored
10 years ago
by
Nikolaus Krismer
Browse files
Options
Downloads
Patches
Plain Diff
fixed minor findbugs warning
parent
91d52752
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/it/unibz/inf/isochrone/config/ConfigDataset.java
+0
-11
0 additions, 11 deletions
...ain/java/it/unibz/inf/isochrone/config/ConfigDataset.java
with
0 additions
and
11 deletions
src/main/java/it/unibz/inf/isochrone/config/ConfigDataset.java
+
0
−
11
View file @
5f05553e
...
@@ -17,7 +17,6 @@ import it.unibz.inf.isochrone.util.ResourceHelper;
...
@@ -17,7 +17,6 @@ import it.unibz.inf.isochrone.util.ResourceHelper;
import
java.io.File
;
import
java.io.File
;
import
java.io.IOException
;
import
java.io.IOException
;
import
java.io.InputStream
;
import
java.net.URL
;
import
java.net.URL
;
import
java.text.DateFormat
;
import
java.text.DateFormat
;
import
java.text.ParseException
;
import
java.text.ParseException
;
...
@@ -369,8 +368,6 @@ public class ConfigDataset {
...
@@ -369,8 +368,6 @@ public class ConfigDataset {
final
Pattern
dsConfigPattern
=
Pattern
.
compile
(
DS_CONFIG_PATTERN
);
final
Pattern
dsConfigPattern
=
Pattern
.
compile
(
DS_CONFIG_PATTERN
);
URL
r
=
null
;
URL
r
=
null
;
InputStream
r2
=
null
;
final
Collection
<
String
>
resources
=
new
ArrayList
<>();
final
Collection
<
String
>
resources
=
new
ArrayList
<>();
try
{
try
{
// find resources on disk and add to available ones
// find resources on disk and add to available ones
...
@@ -397,14 +394,6 @@ public class ConfigDataset {
...
@@ -397,14 +394,6 @@ public class ConfigDataset {
}
}
}
catch
(
IOException
e
)
{
}
catch
(
IOException
e
)
{
LOGGER
.
warn
(
"Datasets could not be read. There might be no configured datasets available!"
);
LOGGER
.
warn
(
"Datasets could not be read. There might be no configured datasets available!"
);
}
finally
{
if
(
r2
!=
null
)
{
try
{
r2
.
close
();
}
catch
(
IOException
e
)
{
LOGGER
.
debug
(
"Could not close input stream after searching for config files in classpath"
);
}
}
}
}
if
(
resources
.
size
()
<=
0
)
{
if
(
resources
.
size
()
<=
0
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment