Refactored some of the hardware monitoring code and fixed a few code inspection warnings.
This commit is contained in:
@@ -41,7 +41,7 @@ using System.Collections.Generic;
|
||||
namespace OpenHardwareMonitor.Hardware {
|
||||
|
||||
public class SensorVisitor : IVisitor {
|
||||
private SensorEventHandler handler;
|
||||
private readonly SensorEventHandler handler;
|
||||
|
||||
public SensorVisitor(SensorEventHandler handler) {
|
||||
if (handler == null)
|
||||
|
||||
Reference in New Issue
Block a user