private static List<string> CanonicalizePathsHelper(IPlatform platform, List<String> paths) { List<String> concatenatedPaths = new List<string>(); foreach (String pathIter in paths) { string path = pathIter.Trim(); if (path.Length == 0) { throw new JniException(JniResourceManager.Instance.GetString("jvmCfgEmptyPath")); } path = platform.ExpandPath(path, ExpandPathType.Other); concatenatedPaths.Add(path); } return concatenatedPaths; }