Showing the changes to Source/Libraries/GSF.ServiceProcess (3 of 147 files). Show all
Unified · Split
| @@ -220,7 +220,7 @@ namespace GSF.ServiceProcess · 219 unmodified lines | |||
| 220 | /// <param name="user">New <see cref="IPrincipal"/> object to be assigned to <see cref="ClientUser"/>.</param> | 220 | /// <param name="user">New <see cref="IPrincipal"/> object to be assigned to <see cref="ClientUser"/>.</param> |
| 221 | internal void SetClientUser(IPrincipal user) | 221 | internal void SetClientUser(IPrincipal user) |
| 222 | { | 222 | { |
| 223 | if (user == null) | 223 | if ((object)user == null) |
| 224 | throw new ArgumentNullException("user"); | 224 | throw new ArgumentNullException("user"); |
| 225 | 225 | ||
| 226 | m_clientUser = user; | 226 | m_clientUser = user; |
| @@ -164,7 +164,7 @@ namespace GSF.ServiceProcess · 163 unmodified lines | |||
| 164 | public static ClientRequest Parse(string text) | 164 | public static ClientRequest Parse(string text) |
| 165 | { | 165 | { |
| 166 | // Input text can't be null. | 166 | // Input text can't be null. |
| 167 | if (text == null) | 167 | if ((object)text == null) |
| 168 | return null; | 168 | return null; |
| 169 | 169 | ||
| 170 | // Input text can't be empty. | 170 | // Input text can't be empty. |
| @@ -1541,7 +1541,7 @@ namespace GSF.ServiceProcess · 1540 unmodified lines | |||
| 1541 | { | 1541 | { |
| 1542 | processName = processName.Trim(); | 1542 | processName = processName.Trim(); |
| 1543 | 1543 | ||
| 1544 | if (FindProcess(processName) == null) | 1544 | if ((object)FindProcess(processName) == null) |
| 1545 | return false; | 1545 | return false; |
| 1546 | 1546 | ||
| 1547 | // The specified process exists, so we'll schedule it, or update its schedule if it is scheduled already. | 1547 | // The specified process exists, so we'll schedule it, or update its schedule if it is scheduled already. |