Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
83634088
Commit
83634088
authored
13 years ago
by
buczekp
Browse files
Options
Downloads
Patches
Plain Diff
[LMS-2172] fixed error message expectation
SVN: 20861
parent
8690bc25
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
common/source/java/ch/systemsx/cisd/common/io/DefaultFileBasedHierarchicalContent.java
+3
-3
3 additions, 3 deletions
...x/cisd/common/io/DefaultFileBasedHierarchicalContent.java
with
3 additions
and
3 deletions
common/source/java/ch/systemsx/cisd/common/io/DefaultFileBasedHierarchicalContent.java
+
3
−
3
View file @
83634088
...
@@ -68,10 +68,10 @@ class DefaultFileBasedHierarchicalContent implements IHierarchicalContent
...
@@ -68,10 +68,10 @@ class DefaultFileBasedHierarchicalContent implements IHierarchicalContent
public
IHierarchicalContentNode
getNode
(
String
relativePath
)
public
IHierarchicalContentNode
getNode
(
String
relativePath
)
{
{
return
asNode
(
new
File
(
root
,
relativePath
));
return
asNode
(
new
File
(
root
,
relativePath
));
}
}
private
IHierarchicalContentNode
asNode
(
File
file
)
private
IHierarchicalContentNode
asNode
(
File
file
)
{
{
if
(
file
.
exists
())
if
(
file
.
exists
())
{
{
...
@@ -94,7 +94,7 @@ class DefaultFileBasedHierarchicalContent implements IHierarchicalContent
...
@@ -94,7 +94,7 @@ class DefaultFileBasedHierarchicalContent implements IHierarchicalContent
return
containerNode
.
getChildNode
(
relativePath
);
return
containerNode
.
getChildNode
(
relativePath
);
}
}
throw
new
IllegalArgumentException
(
"Resource '"
+
FileUtilities
.
getRelativeFile
(
root
,
file
)
throw
new
IllegalArgumentException
(
"Resource '"
+
FileUtilities
.
getRelativeFile
(
root
,
file
)
+
"' does
n'
t exist"
);
+
"' does
no
t exist
.
"
);
}
}
public
List
<
IHierarchicalContentNode
>
listMatchingNodes
(
final
String
pattern
)
public
List
<
IHierarchicalContentNode
>
listMatchingNodes
(
final
String
pattern
)
...
...
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