You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by GitBox <gi...@apache.org> on 2022/01/26 15:40:13 UTC

[GitHub] [zeppelin] zjffdu commented on a change in pull request #4292: [ZEPPELIN-5642] Provide REST API and SDK to get noteId by notePath

zjffdu commented on a change in pull request #4292:
URL: https://github.com/apache/zeppelin/pull/4292#discussion_r792769624



##########
File path: zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/NoteManager.java
##########
@@ -417,6 +417,11 @@ private boolean isNotePathAvailable(String notePath) {
     return true;
   }
 
+  public synchronized String getNoteIdByPath(String notePath) throws IOException {

Review comment:
       why add `synchronized`?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org