Skip to content

Commit 9dc8e22

Browse files
committed
Fixed the last parts of the JavaDoc
1 parent 19b44ba commit 9dc8e22

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

code/src/Dealing.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ public void deal(int agent, Card card) {
127127
/**
128128
* Returns a random dealing to the specified number of agents
129129
* @param agents Number of agents to be dealt to.
130+
* @return The randomized dealing
130131
*/
131132
public Dealing randomize(int agents) {
132133
// Make this dealing empty

code/src/StateDealingMap.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ private void addToMap(Dealing dealing, Dealing point) {
186186

187187
/**
188188
* @param playerID Agent that is being dealt to
189-
* @param DealingState current state of the dealing, keeping track of the previously dealt card
189+
* @param state current state of the dealing, keeping track of the previously dealt card
190190
* @return List of all possible dealings that result from soFar when player playerID gets any new card
191191
*/
192192
private ArrayList<DealingState> dealCardTo(int playerID, DealingState state) {

0 commit comments

Comments
 (0)