Commit d80f41ad authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

vfs: use List#copyOf instead of Guava's ImmutableList

Acked-by: Lea Morschel
Acked-by: Paul Millar
Acked-by: Albert Rossi
Target: master
parent 483a418d
......@@ -20,7 +20,6 @@
package org.dcache.nfs;
import com.google.common.base.Splitter;
import com.google.common.collect.ImmutableList;
import com.google.common.io.Files;
import com.google.common.net.InetAddresses;
import com.google.common.net.InternetDomainName;
......@@ -127,7 +126,7 @@ public class FsExport {
_allRoot = builder.isAllRoot();
_withPnfs = builder.isWithPnfs();
_index = getExportIndex(_path);
_layoutTypes = ImmutableList.copyOf(builder.getLayoutTypes());
_layoutTypes = List.copyOf(builder.getLayoutTypes());
}
public static int getExportIndex(String path) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment