History

1) Removed warnings occuring from new code additions. 2) More reorganization and code clean-up. 3) Globally applied static Endian order classes where possible.

ritchiecarroll committed 12 years ago

Commit 51177ba1 parent 0465735147 files · +968 −906Browse files

Showing the changes to Source/Libraries/GSF.Core/Configuration/ConnectionStringParser.cs (1 of 147 files). Show all

Unified · Split

Source/Libraries/GSF.Core/Configuration/ConnectionStringParser.cs+3−3
@@ -62,7 +62,7 @@ namespace GSF.Configuration · 61 unmodified lines
6262 /// The name of the property as it appears in the connection string.
6363 /// </summary>
6464 public string[] Names;
65−
65+
6666 /// <summary>
6767 /// The default value of the property if its value
6868 /// is not explicitly specified in the connection string.
@@ -275,7 +275,7 @@ namespace GSF.Configuration · 206 unmodified lines
275275 Dictionary<string, string> settings;
276276
277277 // Null objects don't have properties
278− if (settingsObject == null)
278+ if ((object)settingsObject == null)
279279 return string.Empty;
280280
281281 // Get the set of properties which are part of the connection string
@@ -307,7 +307,7 @@ namespace GSF.Configuration · 25 unmodified lines
307307 string value;
308308
309309 // Null objects don't have properties
310− if (settingsObject == null)
310+ if ((object)settingsObject == null)
311311 throw new ArgumentNullException("settingsObject", "Unable to parse connection string because settings object is invalid.");
312312
313313 // Get the set of properties which are part of the connection string

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t