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
427926f3
Commit
427926f3
authored
15 years ago
by
tpylak
Browse files
Options
Downloads
Patches
Plain Diff
minor refactoring
SVN: 14146
parent
0368996a
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
datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/DataStoreServer.java
+5
-8
5 additions, 8 deletions
...emsx/cisd/openbis/dss/generic/server/DataStoreServer.java
with
5 additions
and
8 deletions
datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/DataStoreServer.java
+
5
−
8
View file @
427926f3
...
...
@@ -19,7 +19,6 @@ package ch.systemsx.cisd.openbis.dss.generic.server;
import
static
ch
.
systemsx
.
cisd
.
openbis
.
generic
.
shared
.
GenericSharedConstants
.
DATA_STORE_SERVER_SERVICE_NAME
;
import
static
ch
.
systemsx
.
cisd
.
openbis
.
generic
.
shared
.
GenericSharedConstants
.
DATA_STORE_SERVER_WEB_APPLICATION_NAME
;
import
java.io.File
;
import
java.io.IOException
;
import
java.util.Enumeration
;
import
java.util.Properties
;
...
...
@@ -101,8 +100,6 @@ public class DataStoreServer
private
static
final
int
PREFIX_LENGTH
=
PREFIX
.
length
();
private
static
final
String
SERVICE_PROPERTIES_FILE
=
"etc/service.properties"
;
private
static
final
Logger
operationLog
=
LogFactory
.
getLogger
(
LogCategory
.
OPERATION
,
DataStoreServer
.
class
);
...
...
@@ -199,13 +196,13 @@ public class DataStoreServer
final
static
ConfigParameters
getConfigParameters
()
{
final
Properties
properties
;
if
(
new
File
(
SERVICE_PROPERTIES_FILE
).
exists
()
==
false
)
Properties
properties
;
try
{
properties
=
new
Properties
();
}
else
properties
=
PropertyParametersUtil
.
loadService
Properties
();
}
catch
(
ConfigurationFailureException
ex
)
{
properties
=
PropertyParametersUtil
.
loadProperties
(
SERVICE_PROPERTIES_FILE
);
properties
=
new
Properties
(
);
}
final
Properties
systemProperties
=
System
.
getProperties
();
final
Enumeration
<?>
propertyNames
=
systemProperties
.
propertyNames
();
...
...
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