Skip to content

Instantly share code, notes, and snippets.

@jongyoul
Created September 29, 2016 07:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jongyoul/c817f985671ce16c8a9cc1d2cb23127a to your computer and use it in GitHub Desktop.
Save jongyoul/c817f985671ce16c8a9cc1d2cb23127a to your computer and use it in GitHub Desktop.
private String getInterpreterProcessKey(String noteId) {
if (getOption().isExistingProcess) {
return Constants.EXISTING_PROCESS;
} else if (getOption().isPerNoteProcess()) {
return noteId;
} else {
return SHARED_PROCESS;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment