uschindler commented on a change in pull request #579:
URL: https://github.com/apache/lucene/pull/579#discussion_r778883566
##########
File path:
lucene/misc/src/java/org/apache/lucene/misc/store/HardlinkCopyDirectoryWrapper.java
##########
@@ -66,7 +67,7 @@ public void copyFrom(Directory from, String srcFile, String
destFile, IOContext
// only try hardlinks if we have permission to access the files
// if not super.copyFrom() will give us the right exceptions
suppressedException =
- LegacySecurityManager.doPrivileged(
+ doPrivileged(
Review comment:
Now we can also remove the cast in next line. As doPrivileged is not
overloaded.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]