Added missing semicolon to Pi.java
This commit is contained in:
parent
a1cd8a9f37
commit
90d6844b4a
1 changed files with 4 additions and 3 deletions
|
|
@ -98,13 +98,14 @@ public class Pi {
|
|||
Work work = (Work) message;
|
||||
|
||||
// perform the work
|
||||
double result = calculatePiFor(work.getArg(), work.getNrOfElements())
|
||||
double result = calculatePiFor(work.getArg(), work.getNrOfElements());
|
||||
|
||||
// reply with the result
|
||||
getContext().replyUnsafe(new Result(result));
|
||||
|
||||
} else throw new IllegalArgumentException("Unknown message [" + message + "]");
|
||||
}
|
||||
}
|
||||
|
||||
// ==================
|
||||
// ===== Master =====
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue