Przeglądaj źródła

sieve: remove public's from starter implementation

Logan Stucki 9 lat temu
rodzic
commit
e084511e85
Brak konta powiązanego z e-mailem autora
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3
    3
      exercises/sieve/src/main/java/Sieve.java

+ 3
- 3
exercises/sieve/src/main/java/Sieve.java Wyświetl plik

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