回答編集履歴
1
変数名変更
test
CHANGED
@@ -38,11 +38,11 @@
|
|
38
38
|
}
|
39
39
|
|
40
40
|
class FlatAttrValidator {
|
41
|
-
static boolean checkHouseNumberOfFloors(long
|
41
|
+
static boolean checkHouseNumberOfFloors(long v) {
|
42
|
-
return
|
42
|
+
return v > 0;
|
43
43
|
}
|
44
|
-
static boolean checkHouseNumberOfLifts(int
|
44
|
+
static boolean checkHouseNumberOfLifts(int v) {
|
45
|
-
return
|
45
|
+
return v < 0;
|
46
46
|
}
|
47
47
|
}
|
48
48
|
```
|