jmark99 commented on a change in pull request #1602:
URL: https://github.com/apache/accumulo/pull/1602#discussion_r417277837
##########
File path:
server/base/src/main/java/org/apache/accumulo/server/fs/VolumeManagerImpl.java
##########
@@ -353,7 +353,7 @@ public Path matchingFileSystem(Path source, Set<String>
options) {
URI optUri = URI.create(opt);
return sourceUri.getScheme().equals(optUri.getScheme())
&& Objects.equals(sourceUri.getAuthority(), optUri.getAuthority());
- }).map((String opt) -> new Path(opt)).findFirst().orElse(null);
+ }).map(Path::new).findFirst().orElse(null);
Review comment:
@ctubbsii I reverted this particular change based upon your suggestion.
Thanks!
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]