kwin commented on code in PR #2079:
URL: https://github.com/apache/jackrabbit-oak/pull/2079#discussion_r1957124337


##########
oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/session/ItemImpl.java:
##########
@@ -319,8 +303,39 @@ public String toString() {
 
     //-----------------------------------------------------------< internal 
>---
     @NotNull
-    String getOakName(String name) throws RepositoryException {
-        return sessionContext.getOakName(name);
+    String getOakName() throws RepositoryException {
+        return perform(new ItemOperation<String>(dlg, "getName") {

Review Comment:
   @reschke Do you know why this needs the locking? IMHO the dlg.name is a 
final field so I don't think this requires any locking.



-- 
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: oak-dev-unsubscr...@jackrabbit.apache.org

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

Reply via email to