Skip to content

Commit 18ea284

Browse files
author
David Kline (ANALOG)
committed
remove redundant null checks
1 parent 9c5b000 commit 18ea284

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Assets/MixedRealityToolkit/_Core/Definitions/MixedRealityConfigurationProfile.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ public bool EnableInputSystem
8484
{
8585
get
8686
{
87-
return inputSystemType != null &&
88-
inputSystemType?.Type != null &&
87+
return inputSystemType?.Type != null &&
8988
inputActionsProfile != null &&
9089
enableInputSystem;
9190
}
@@ -182,8 +181,7 @@ public bool EnableBoundarySystem
182181
{
183182
get
184183
{
185-
return boundarySystemType != null &&
186-
boundarySystemType?.Type != null &&
184+
return boundarySystemType?.Type != null &&
187185
enableBoundarySystem;
188186
}
189187
private set { enableInputSystem = value; }

0 commit comments

Comments
 (0)