ソースを参照

sieve: remove public's from starter implementation

Logan Stucki 9 年 前
コミット
e084511e85
コミット者のEメールアドレスに関連付けられたアカウントが存在しません
共有1 個のファイルを変更した3 個の追加3 個の削除を含む
  1. 3
    3
      exercises/sieve/src/main/java/Sieve.java

+ 3
- 3
exercises/sieve/src/main/java/Sieve.java ファイルの表示

@@ -1,11 +1,11 @@
1 1
 import java.util.List;
2 2
 
3
-public class Sieve {
4
-    public Sieve(int maxPrime) {
3
+class Sieve {
4
+    Sieve(int maxPrime) {
5 5
         throw new UnsupportedOperationException("Delete this statement and provide your own implementation.");
6 6
     }
7 7
 
8
-    public List<Integer> getPrimes() {
8
+    List<Integer> getPrimes() {
9 9
         throw new UnsupportedOperationException("Delete this statement and provide your own implementation.");
10 10
     }
11 11
 }