Skip to content
Snippets Groups Projects
Commit 8b05f020 authored by ribeaudc's avatar ribeaudc
Browse files

minor: - Remove unnecessary spaces and add final keyword when possible.

SVN: 4648
parent 266e7b57
No related branches found
No related tags found
No related merge requests found
...@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment