Skip to content

Commit

Permalink
Change virtual to override for GetParser
Browse files Browse the repository at this point in the history
  • Loading branch information
jnyrup committed Feb 7, 2022
1 parent 22c896b commit 178319b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion FluentFTP/Servers/Handlers/NonStopTandemServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public override bool DetectByWelcome(string message) {
/// <summary>
/// Return the default file listing parser to be used with your FTP server.
/// </summary>
public virtual FtpParser GetParser() {
public override FtpParser GetParser() {
return FtpParser.NonStop;
}

Expand Down
2 changes: 1 addition & 1 deletion FluentFTP/Servers/Handlers/OpenVmsServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public override bool IsAbsolutePath(string path) {
/// <summary>
/// Return the default file listing parser to be used with your FTP server.
/// </summary>
public virtual FtpParser GetParser() {
public override FtpParser GetParser() {
return FtpParser.VMS;
}

Expand Down
2 changes: 1 addition & 1 deletion FluentFTP/Servers/Handlers/WindowsCeServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public override bool DetectBySyst(string message) {
/// <summary>
/// Return the default file listing parser to be used with your FTP server.
/// </summary>
public virtual FtpParser GetParser() {
public override FtpParser GetParser() {
return FtpParser.Windows;
}

Expand Down
2 changes: 1 addition & 1 deletion FluentFTP/Servers/Handlers/WindowsIisServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public override bool DetectByWelcome(string message) {
/// <summary>
/// Return the default file listing parser to be used with your FTP server.
/// </summary>
public virtual FtpParser GetParser() {
public override FtpParser GetParser() {
return FtpParser.Windows;
}

Expand Down

0 comments on commit 178319b

Please sign in to comment.