We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 348d7de commit 1f6b857Copy full SHA for 1f6b857
1 file changed
files/PartsOfPaths.java
@@ -11,8 +11,6 @@ public static void main(String[] args) {
11
Paths.get("PartsOfPaths.java").toAbsolutePath();
12
for(int i = 0; i < p.getNameCount(); i++)
13
System.out.println(p.getName(i));
14
- Path sub = p.subpath(3, p.getNameCount() - 2);
15
- System.out.println(sub);
16
System.out.println("ends with '.java': " +
17
p.endsWith(".java"));
18
for(Path pp : p) {
0 commit comments