Skip to content

Commit

Permalink
Fix all build WARNING messaged (cont.)
Browse files Browse the repository at this point in the history
  • Loading branch information
FanDjango committed Sep 28, 2024
1 parent 658f344 commit f5d71e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions FluentFTP.VBExamples/ExecuteFTPCommand.vb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Imports FluentFTP.Exceptions

Namespace Examples
Friend Module ExecuteFTPCommandExample
<Obsolete("Please refactor calling code to use normal Visual Basic assignment")>
Sub Execute()
Using conn = New FtpClient("127.0.0.1", "ftptest", "ftptest")
conn.Connect()
Expand All @@ -18,6 +19,7 @@ Namespace Examples
End Using
End Sub

<Obsolete("Please refactor calling code to use normal Visual Basic assignment")>
Async Function ExecuteAsync() As Task
Dim token = New CancellationToken()

Expand Down
4 changes: 2 additions & 2 deletions FluentFTP/Helpers/Parsers/WindowsParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ private static DateTime ParseDateTime(BaseFtpClient client, string lastModifiedS
"MM'-'dd'-'yy hh':'mmtt", "MM'-'dd'-'yy HH':'mm", "MM'-'dd'-'yyyy hh':'mmtt",
"yyyy'-'MM'-'dd hh':'mmtt", "yyyy'-'MM'-'dd HH':'mm", "yyyy'-'MM'-'dd hh':'mmtt"
};
private static int OffsetLengthDirectory = 10;
private static int OffsetLengthFile = 1;
//private static int OffsetLengthDirectory = 10;
//private static int OffsetLengthFile = 1;

#endregion
}
Expand Down

0 comments on commit f5d71e4

Please sign in to comment.