Refactored some of the hardware monitoring code and fixed a few code inspection warnings.
This commit is contained in:
@@ -35,7 +35,6 @@
|
||||
|
||||
*/
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
@@ -43,7 +42,7 @@ namespace OpenHardwareMonitor.Collections {
|
||||
|
||||
public class ReadOnlyArray<T> : IReadOnlyArray<T> {
|
||||
|
||||
private T[] array;
|
||||
private readonly T[] array;
|
||||
|
||||
public ReadOnlyArray(T[] array) {
|
||||
this.array = array;
|
||||
|
||||
Reference in New Issue
Block a user