瀏覽代碼

Update DuplicateDeleter.java

Git-Leon 6 年之前
父節點
當前提交
301347c8c4
沒有帳戶連結到提交者的電子郵件
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      src/main/java/com/zipcodewilmington/looplabs/DuplicateDeleter.java

+ 2
- 2
src/main/java/com/zipcodewilmington/looplabs/DuplicateDeleter.java 查看文件

@@ -4,7 +4,7 @@ package com.zipcodewilmington.looplabs;
4 4
  * Created by leon on 1/25/18.
5 5
  */
6 6
 public abstract class DuplicateDeleter<T> implements DuplicateDeleterInterface<T> {
7
-    protected final T[] array;
7
+    protected T[] array;
8 8
 
9 9
     public DuplicateDeleter(T[] intArray) {
10 10
         this.array = intArray;
@@ -12,4 +12,4 @@ public abstract class DuplicateDeleter<T> implements DuplicateDeleterInterface<T
12 12
 
13 13
     abstract public T[] removeDuplicates(int maxNumberOfDuplications);
14 14
     abstract public T[] removeDuplicatesExactly(int exactNumberOfDuplications);
15
-}
15
+}