Skip to content

Commit c119f25

Browse files
author
siquanlv
committed
ai review test
1 parent 3d43540 commit c119f25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/net/lvsq/jgossip/BuggyCalculator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ public double divide(int numerator, int a) {
1717
return numerator / a;
1818
}
1919

20-
public int multiply(int a, int c) {
20+
public int multiply(int a, int b) {
2121
// 潜在 Bug 3: 整数溢出未检查
22-
return a * c;
22+
return a * b;
2323
}
2424

2525
public String concatenateStrings(String s1, String s2) {

0 commit comments

Comments
 (0)