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
d7d6f620
Commit
d7d6f620
authored
14 years ago
by
buczekp
Browse files
Options
Downloads
Patches
Plain Diff
[LMS-2172] minor refactoring
SVN: 21000
parent
a32cd17b
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
datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/shared/content/PathInfoProviderBasedHierarchicalContent.java
+5
-5
5 additions, 5 deletions
...red/content/PathInfoProviderBasedHierarchicalContent.java
with
5 additions
and
5 deletions
datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/shared/content/PathInfoProviderBasedHierarchicalContent.java
+
5
−
5
View file @
d7d6f620
...
@@ -255,21 +255,21 @@ class PathInfoProviderBasedHierarchicalContent implements IHierarchicalContent
...
@@ -255,21 +255,21 @@ class PathInfoProviderBasedHierarchicalContent implements IHierarchicalContent
@Override
@Override
protected
IRandomAccessFile
doGetFileContent
()
protected
IRandomAccessFile
doGetFileContent
()
{
{
return
get
File
ContentProvider
().
getReadOnlyRandomAccessFile
();
return
getContentProvider
().
getReadOnlyRandomAccessFile
();
}
}
@Override
@Override
protected
InputStream
doGetInputStream
()
protected
InputStream
doGetInputStream
()
{
{
return
get
File
ContentProvider
().
getInputStream
();
return
getContentProvider
().
getInputStream
();
}
}
private
IFileContentProvider
get
File
ContentProvider
()
private
IFileContentProvider
getContentProvider
()
{
{
if
(
fileContentProviderOrNull
==
null
)
if
(
fileContentProviderOrNull
==
null
)
{
{
File
file
=
doGetFile
();
File
file
=
doGetFile
();
fileContentProviderOrNull
=
getContent
(
file
);
fileContentProviderOrNull
=
get
File
Content
Provider
(
file
);
}
}
return
fileContentProviderOrNull
;
return
fileContentProviderOrNull
;
}
}
...
@@ -290,7 +290,7 @@ class PathInfoProviderBasedHierarchicalContent implements IHierarchicalContent
...
@@ -290,7 +290,7 @@ class PathInfoProviderBasedHierarchicalContent implements IHierarchicalContent
}
}
}
}
private
IFileContentProvider
getContent
(
File
file
)
private
IFileContentProvider
get
File
Content
Provider
(
File
file
)
{
{
if
(
file
.
exists
())
if
(
file
.
exists
())
{
{
...
...
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