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
8b05f020
Commit
8b05f020
authored
17 years ago
by
ribeaudc
Browse files
Options
Downloads
Patches
Plain Diff
minor: - Remove unnecessary spaces and add final keyword when possible.
SVN: 4648
parent
266e7b57
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/db/StandardSequenceNameMapper.java
+4
-6
4 additions, 6 deletions
...h/systemsx/cisd/common/db/StandardSequenceNameMapper.java
with
4 additions
and
6 deletions
common/source/java/ch/systemsx/cisd/common/db/StandardSequenceNameMapper.java
+
4
−
6
View file @
8b05f020
...
@@ -29,17 +29,15 @@ import java.util.Set;
...
@@ -29,17 +29,15 @@ import java.util.Set;
public
class
StandardSequenceNameMapper
implements
ISequenceNameMapper
public
class
StandardSequenceNameMapper
implements
ISequenceNameMapper
{
{
private
final
Set
<
String
>
tablesWithoutSequencers
;
private
final
Set
<
String
>
tablesWithoutSequencers
;
private
final
Map
<
String
,
String
>
nonstandardMapping
;
private
final
Map
<
String
,
String
>
nonstandardMapping
;
/**
/**
* Creates an instance with no standard mapping and no tables without sequencers.
* Creates an instance with no standard mapping and no tables without sequencers.
*
*
*/
*/
public
StandardSequenceNameMapper
()
public
StandardSequenceNameMapper
()
{
{
this
(
Collections
.<
String
,
String
>
emptyMap
(),
Collections
.<
String
>
emptySet
());
this
(
Collections
.<
String
,
String
>
emptyMap
(),
Collections
.<
String
>
emptySet
());
}
}
/**
/**
...
@@ -56,7 +54,7 @@ public class StandardSequenceNameMapper implements ISequenceNameMapper
...
@@ -56,7 +54,7 @@ public class StandardSequenceNameMapper implements ISequenceNameMapper
// ISequenceNameMapper
// ISequenceNameMapper
//
//
public
final
String
getSequencerForTable
(
String
tableName
)
public
final
String
getSequencerForTable
(
final
String
tableName
)
{
{
final
String
tableNameInLowerCase
=
tableName
.
toLowerCase
();
final
String
tableNameInLowerCase
=
tableName
.
toLowerCase
();
if
(
tablesWithoutSequencers
.
contains
(
tableNameInLowerCase
))
if
(
tablesWithoutSequencers
.
contains
(
tableNameInLowerCase
))
...
...
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