mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8261880: Change nested classes in java.base to static nested classes where possible
Reviewed-by: redestad
This commit is contained in:
parent
459abd561a
commit
9425d3de83
11 changed files with 15 additions and 15 deletions
|
@ -289,7 +289,7 @@ public class FtpClient extends sun.net.ftp.FtpClient {
|
|||
}
|
||||
}
|
||||
|
||||
private class MLSxParser implements FtpDirParser {
|
||||
private static class MLSxParser implements FtpDirParser {
|
||||
public FtpDirEntry parseLine(String line) {
|
||||
String name = null;
|
||||
int i = line.lastIndexOf(';');
|
||||
|
@ -1762,7 +1762,7 @@ public class FtpClient extends sun.net.ftp.FtpClient {
|
|||
return this;
|
||||
}
|
||||
|
||||
private class FtpFileIterator implements Iterator<FtpDirEntry>, Closeable {
|
||||
private static class FtpFileIterator implements Iterator<FtpDirEntry>, Closeable {
|
||||
|
||||
private BufferedReader in = null;
|
||||
private FtpDirEntry nextFile = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue