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;
|
Work work = (Work) message;
|
||||||
|
|
||||||
// perform the work
|
// perform the work
|
||||||
double result = calculatePiFor(work.getArg(), work.getNrOfElements())
|
double result = calculatePiFor(work.getArg(), work.getNrOfElements());
|
||||||
|
|
||||||
// reply with the result
|
// reply with the result
|
||||||
getContext().replyUnsafe(new Result(result));
|
getContext().replyUnsafe(new Result(result));
|
||||||
|
|
||||||
} else throw new IllegalArgumentException("Unknown message [" + message + "]");
|
} else throw new IllegalArgumentException("Unknown message [" + message + "]");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// ==================
|
// ==================
|
||||||
// ===== Master =====
|
// ===== Master =====
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue