Skip to content

Commit 786741e

Browse files
committed
Minor fix to an interface in Homework 02 assignment
1 parent 3b4d107 commit 786741e

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

homeworks/02-spacescanner/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ public MJTSpaceScanner(Reader missionsReader, Reader rocketsReader, SecretKey se
2727
```java
2828
package bg.sofia.uni.fmi.mjt.space;
2929

30+
import bg.sofia.uni.fmi.mjt.space.exception.CipherException;
31+
import bg.sofia.uni.fmi.mjt.space.exception.TimeFrameMismatchException;
3032
import bg.sofia.uni.fmi.mjt.space.mission.Mission;
3133
import bg.sofia.uni.fmi.mjt.space.mission.MissionStatus;
3234
import bg.sofia.uni.fmi.mjt.space.rocket.Rocket;
@@ -107,7 +109,8 @@ public interface SpaceScannerAPI {
107109
*
108110
* @param from the inclusive beginning of the time frame (inclusive)
109111
* @param to the inclusive end of the time frame (inclusive)
110-
* @return a map where keys are company names and values are their locations with most successful missions in the period
112+
* @return a map where keys are company names and values are their locations with most successful missions
113+
* in the period
111114
* @throws IllegalArgumentException if from or to is null
112115
* @throws TimeFrameMismatchException if to is before from
113116
*/
@@ -138,7 +141,7 @@ public interface SpaceScannerAPI {
138141
* Returns the wiki pages for the rockets used in the N most expensive missions.
139142
* If there are no missions, return an empty list.
140143
*
141-
* @param n the number of wiki pages to be returned
144+
* @param n the number of missions to be returned
142145
* @param missionStatus the status of the missions
143146
* @param rocketStatus the status of the rockets
144147
* @throws IllegalArgumentException if n is less than or equal to 0, or missionStatus or rocketStatus is null

0 commit comments

Comments
 (0)