mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8257971: (fs) Remove unused code from WindowsPath.subpath(begin, end)
Reviewed-by: lancea
This commit is contained in:
parent
3342ecaf44
commit
42264b2db4
1 changed files with 0 additions and 2 deletions
|
@ -689,9 +689,7 @@ class WindowsPath implements Path {
|
|||
throw new IllegalArgumentException();
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
Integer[] nelems = new Integer[endIndex - beginIndex];
|
||||
for (int i = beginIndex; i < endIndex; i++) {
|
||||
nelems[i-beginIndex] = sb.length();
|
||||
sb.append(elementAsString(i));
|
||||
if (i != (endIndex-1))
|
||||
sb.append("\\");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue