Skip to content

Commit

Permalink
Merge pull request #25 from hank-cp/master
Browse files Browse the repository at this point in the history
Change StatefulContext.newId() to return String
  • Loading branch information
Beh01der committed Aug 4, 2016
2 parents e4f4341 + c46cf1a commit 09bcb60
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -2,3 +2,6 @@
/.classpath
/.project
/.settings

.idea
*.iml
4 changes: 2 additions & 2 deletions src/main/java/au/com/ds/ef/StatefulContext.java
Expand Up @@ -80,8 +80,8 @@ protected void setFlow(EasyFlow<? extends StatefulContext> flow) {
this.flow = flow;
}

protected long newId() {
return idCounter++;
protected String newId() {
return Long.toString(idCounter++);
}

public boolean isTerminated() {
Expand Down

0 comments on commit 09bcb60

Please sign in to comment.