Skip to content

Commit

Permalink
Merge pull request robinrodricks#836 from jnyrup/GetParser
Browse files Browse the repository at this point in the history
Change virtual to override for GetParser
  • Loading branch information
robinrodricks authored Feb 13, 2022
2 parents b5d0ce3 + 178319b commit b05f366
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 b05f366

Please sign in to comment.