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
49b80784
Commit
49b80784
authored
17 years ago
by
ribeaudc
Browse files
Options
Downloads
Patches
Plain Diff
minor:
- Some 'final' added. SVN: 3214
parent
4332b5eb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bds/source/java/ch/systemsx/cisd/bds/storage/filesystem/HardLinkMaker.java
+3
-3
3 additions, 3 deletions
...h/systemsx/cisd/bds/storage/filesystem/HardLinkMaker.java
with
3 additions
and
3 deletions
bds/source/java/ch/systemsx/cisd/bds/storage/filesystem/HardLinkMaker.java
+
3
−
3
View file @
49b80784
...
@@ -56,7 +56,7 @@ public final class HardLinkMaker implements ILinkMaker
...
@@ -56,7 +56,7 @@ public final class HardLinkMaker implements ILinkMaker
private
final
List
<
String
>
createLnCmdLine
(
final
File
srcFile
,
final
File
destFile
)
private
final
List
<
String
>
createLnCmdLine
(
final
File
srcFile
,
final
File
destFile
)
{
{
List
<
String
>
tokens
=
new
ArrayList
<
String
>();
final
List
<
String
>
tokens
=
new
ArrayList
<
String
>();
tokens
.
add
(
linkExecPath
);
tokens
.
add
(
linkExecPath
);
tokens
.
add
(
srcFile
.
getAbsolutePath
());
tokens
.
add
(
srcFile
.
getAbsolutePath
());
// The destination file does not yet exist. Is going to be created and is the link.
// The destination file does not yet exist. Is going to be created and is the link.
...
@@ -87,7 +87,7 @@ public final class HardLinkMaker implements ILinkMaker
...
@@ -87,7 +87,7 @@ public final class HardLinkMaker implements ILinkMaker
// ILinkMaker
// ILinkMaker
//
//
public
final
File
tryCreateLink
(
final
java
.
io
.
File
file
,
final
java
.
io
.
File
destDir
,
final
String
nameOrNull
)
public
final
File
tryCreateLink
(
final
File
file
,
final
File
destDir
,
final
String
nameOrNull
)
throws
EnvironmentFailureException
throws
EnvironmentFailureException
{
{
assert
file
!=
null
&&
file
.
isFile
()
:
"Given file can not be null and must be a file."
;
assert
file
!=
null
&&
file
.
isFile
()
:
"Given file can not be null and must be a file."
;
...
@@ -111,7 +111,7 @@ public final class HardLinkMaker implements ILinkMaker
...
@@ -111,7 +111,7 @@ public final class HardLinkMaker implements ILinkMaker
final
boolean
ok
=
ProcessExecutionHelper
.
runAndLog
(
cmd
,
rootLogger
,
rootLogger
);
final
boolean
ok
=
ProcessExecutionHelper
.
runAndLog
(
cmd
,
rootLogger
,
rootLogger
);
if
(
ok
==
false
)
if
(
ok
==
false
)
{
{
String
message
=
loggerRecorder
.
getLogContent
();
final
String
message
=
loggerRecorder
.
getLogContent
();
if
(
message
.
length
()
==
0
)
if
(
message
.
length
()
==
0
)
{
{
return
null
;
return
null
;
...
...
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