Skip to content

Commit

Permalink
delete "#nullable enable" from QuickFIX proj files
Browse files Browse the repository at this point in the history
  • Loading branch information
gbirchmeier committed Sep 25, 2024
1 parent b6ab1b5 commit 8d14aa6
Show file tree
Hide file tree
Showing 43 changed files with 34 additions and 87 deletions.
3 changes: 1 addition & 2 deletions QuickFIXn/AbstractInitiator.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#nullable enable
using System.Threading;
using System.Threading;
using System.Collections.Generic;
using System;
using QuickFix.Logger;
Expand Down
1 change: 0 additions & 1 deletion QuickFIXn/AcceptorSocketDescriptor.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#nullable enable
using System.Collections.Generic;
using System.Net;
using QuickFix.Logger;
Expand Down
3 changes: 1 addition & 2 deletions QuickFIXn/ClientHandlerThread.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#nullable enable
using System.Net.Sockets;
using System.Net.Sockets;
using System.Threading;
using System;
using QuickFix.Logger;
Expand Down
3 changes: 1 addition & 2 deletions QuickFIXn/DefaultMessageFactory.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#nullable enable
using System;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
Expand Down
3 changes: 1 addition & 2 deletions QuickFIXn/Fields/Converters/DateTimeConverter.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#nullable enable
using System;
using System;
using System.Collections.Generic;
using System.Globalization;

Expand Down
3 changes: 1 addition & 2 deletions QuickFIXn/Fields/IField.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#nullable enable
using System;
using System;

namespace QuickFix.Fields
{
Expand Down
3 changes: 1 addition & 2 deletions QuickFIXn/HttpServer.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#nullable enable
using System;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
Expand Down
3 changes: 1 addition & 2 deletions QuickFIXn/Logger/CompositeLog.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#nullable enable
using System;
using System;

namespace QuickFix.Logger;

Expand Down
3 changes: 1 addition & 2 deletions QuickFIXn/Logger/CompositeLogFactory.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#nullable enable
using System.Linq;
using System.Linq;

namespace QuickFix.Logger;

Expand Down
3 changes: 1 addition & 2 deletions QuickFIXn/Logger/FileLog.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#nullable enable
using System;
using System;
using QuickFix.Fields.Converters;
using QuickFix.Util;

Expand Down
4 changes: 1 addition & 3 deletions QuickFIXn/Logger/FileLogFactory.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#nullable enable

namespace QuickFix.Logger;
namespace QuickFix.Logger;

/// <summary>
/// Creates a message store that stores messages in a file
Expand Down
4 changes: 1 addition & 3 deletions QuickFIXn/Logger/ILogFactory.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#nullable enable

namespace QuickFix.Logger;
namespace QuickFix.Logger;

/// <summary>
/// Creates a log instance
Expand Down
3 changes: 0 additions & 3 deletions QuickFIXn/Logger/NonSessionLog.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#nullable enable
using System;

namespace QuickFix.Logger;

/// <summary>
Expand Down
4 changes: 1 addition & 3 deletions QuickFIXn/Logger/NullLogFactory.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#nullable enable

namespace QuickFix.Logger;
namespace QuickFix.Logger;

public class NullLogFactory : ILogFactory
{
Expand Down
4 changes: 1 addition & 3 deletions QuickFIXn/Logger/ScreenLog.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#nullable enable

namespace QuickFix.Logger;
namespace QuickFix.Logger;

/// <summary>
/// FIXME - needs to log sessionIDs, timestamps, etc.
Expand Down
4 changes: 1 addition & 3 deletions QuickFIXn/Logger/ScreenLogFactory.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#nullable enable

namespace QuickFix.Logger;
namespace QuickFix.Logger;

public class ScreenLogFactory : ILogFactory
{
Expand Down
3 changes: 1 addition & 2 deletions QuickFIXn/Message/FieldMap.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#nullable enable
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
Expand Down
3 changes: 1 addition & 2 deletions QuickFIXn/Message/FieldNotFoundException.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#nullable enable
using System;
using System;

namespace QuickFix
{
Expand Down
3 changes: 1 addition & 2 deletions QuickFIXn/Message/Group.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#nullable enable
using System;
using System;
using System.Text;

namespace QuickFix
Expand Down
2 changes: 0 additions & 2 deletions QuickFIXn/Message/Header.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#nullable enable
using System;
using System.Text;
using QuickFix.Fields;

Expand Down
3 changes: 1 addition & 2 deletions QuickFIXn/Message/Message.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#nullable enable
using System;
using System;
using System.Text;
using QuickFix.Fields;
using System.Text.RegularExpressions;
Expand Down
2 changes: 0 additions & 2 deletions QuickFIXn/Message/Trailer.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#nullable enable
using System;
using System.Text;
using QuickFix.Fields;

Expand Down
4 changes: 1 addition & 3 deletions QuickFIXn/MessageBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#nullable enable

namespace QuickFix
namespace QuickFix
{
internal class MessageBuilder
{
Expand Down
1 change: 0 additions & 1 deletion QuickFIXn/Session.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#nullable enable
using System;
using System.Collections.Generic;
using System.Threading;
Expand Down
3 changes: 1 addition & 2 deletions QuickFIXn/SessionFactory.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#nullable enable
using System;
using System;
using System.Collections.Generic;
using QuickFix.Logger;
using QuickFix.Store;
Expand Down
3 changes: 1 addition & 2 deletions QuickFIXn/SessionID.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#nullable enable
using System;
using System;

namespace QuickFix
{
Expand Down
3 changes: 1 addition & 2 deletions QuickFIXn/SessionSchedule.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#nullable enable
using System;
using System;
using System.Collections.Generic;

namespace QuickFix
Expand Down
1 change: 0 additions & 1 deletion QuickFIXn/SessionState.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#nullable enable
using System;
using System.Collections.Generic;
using QuickFix.Logger;
Expand Down
3 changes: 1 addition & 2 deletions QuickFIXn/Settings.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#nullable enable
using System.Collections.Generic;
using System.Collections.Generic;

namespace QuickFix
{
Expand Down
3 changes: 1 addition & 2 deletions QuickFIXn/SettingsDictionary.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#nullable enable
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using QuickFix.Fields.Converters;
Expand Down
3 changes: 1 addition & 2 deletions QuickFIXn/SocketInitiatorThread.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#nullable enable
using System;
using System;
using System.Diagnostics;
using System.IO;
using System.Net;
Expand Down
3 changes: 1 addition & 2 deletions QuickFIXn/SocketReader.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#nullable enable
using System.Net.Sockets;
using System.Net.Sockets;
using System.IO;
using System;
using System.Linq;
Expand Down
3 changes: 1 addition & 2 deletions QuickFIXn/Store/FileStore.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#nullable enable
using System;
using System;
using System.Collections.Generic;
using System.Text;
using QuickFix.Util;
Expand Down
4 changes: 1 addition & 3 deletions QuickFIXn/Store/FileStoreFactory.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#nullable enable

namespace QuickFix.Store;
namespace QuickFix.Store;

/// <summary>
/// Creates a message store that stores messages in a file
Expand Down
3 changes: 1 addition & 2 deletions QuickFIXn/Store/MemoryStore.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#nullable enable
using System;
using System;
using System.Collections.Generic;

namespace QuickFix.Store;
Expand Down
3 changes: 1 addition & 2 deletions QuickFIXn/ThreadedSocketAcceptor.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#nullable enable
using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System;
Expand Down
3 changes: 1 addition & 2 deletions QuickFIXn/ThreadedSocketReactor.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#nullable enable
using System.Collections.Generic;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using System.Threading;
Expand Down
3 changes: 1 addition & 2 deletions QuickFIXn/Transport/SocketInitiator.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#nullable enable
using System;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
Expand Down
1 change: 0 additions & 1 deletion QuickFIXn/Transport/SslCertCache.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#nullable enable
using System;
using System.Collections.Generic;
using System.IO;
Expand Down
1 change: 0 additions & 1 deletion QuickFIXn/Transport/SslStreamFactory.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#nullable enable
using System;
using System.Diagnostics;
using System.IO;
Expand Down
3 changes: 1 addition & 2 deletions QuickFIXn/Transport/StreamFactory.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#nullable enable
using System;
using System;
using System.IO;
using System.Linq;
using System.Net;
Expand Down
1 change: 0 additions & 1 deletion QuickFIXn/Util/StringUtil.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#nullable enable
using System.Runtime.InteropServices;

namespace QuickFix.Util
Expand Down
2 changes: 1 addition & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ What's New
finishes loading all the dlls (gbirchmeier, with thanks to diagnosis by Brian Leach aka baffled)
(Note: this may be the cause of spurious "incorrect BeginString" issues that have been observed)
* #877 - throw an exception if Message.ToJSON(dd=null,convertEnumsToDescriptions=true) is called (gbirchmeier)
* #TBD - cleanup/nullable-ize IField-derived classes (gbirchmeier)
* #888 - cleanup/nullable-ize IField-derived classes (gbirchmeier)
* deprecate lower-case-starting function names (renamed to upper-case-starting)
* deprecate <Foo>Field.Obj (renamed to Value)
* deprecate <Foo>Field.getValue/setValue (just use Value getter/setter)
Expand Down

0 comments on commit 8d14aa6

Please sign in to comment.