Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Raphael
histream
Commits
a90eabaa
Commit
a90eabaa
authored
Jan 12, 2017
by
R.W.Majeed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check for non-null project id
parent
ed46b5a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
histream-i2b2/src/main/java/de/sekmi/histream/i2b2/PostgresVisitStore.java
.../main/java/de/sekmi/histream/i2b2/PostgresVisitStore.java
+3
-0
No files found.
histream-i2b2/src/main/java/de/sekmi/histream/i2b2/PostgresVisitStore.java
View file @
a90eabaa
...
...
@@ -37,6 +37,7 @@ import java.util.Enumeration;
import
java.util.Hashtable
;
import
java.util.Iterator
;
import
java.util.LinkedList
;
import
java.util.Objects
;
import
java.util.logging.Level
;
import
java.util.logging.Logger
;
...
...
@@ -127,6 +128,8 @@ public class PostgresVisitStore extends PostgresExtension<I2b2Visit> implements
idCache
=
new
Hashtable
<>();
this
.
projectId
=
projectId
;
this
.
db
=
connection
;
// require project id
Objects
.
requireNonNull
(
this
.
projectId
,
"non-null projectId required"
);
db
.
setAutoCommit
(
true
);
loadMaxEncounterNum
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment