Skip to content

Commit 5ecbb31

Browse files
commit
1 parent 70edc0e commit 5ecbb31

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/org/springframework/samples/petclinic/system/FaultController.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ public String stressMemory(@RequestParam(defaultValue = "500") int size) {
3232
}
3333

3434
private long fibonacciIterative(int n) {
35-
if (n <= 1)
35+
if (n <= 1) {
3636
return n;
37+
}
3738

3839
long prev = 0, curr = 1;
3940
for (int i = 2; i <= n; i++) {

0 commit comments

Comments
 (0)