回答編集履歴

2

.

2018/05/14 04:38

投稿

gingertail
gingertail

スコア317

test CHANGED
@@ -1,6 +1,6 @@
1
1
  ```java
2
2
 
3
- private static boolean check(String str) {
3
+ private static boolean checkDouble(String str) {
4
4
 
5
5
  /*double dummy =*/ Double.parseDouble(str);
6
6
 

1

.

2018/05/14 04:38

投稿

gingertail
gingertail

スコア317

test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  private static boolean check(String str) {
4
4
 
5
- double dummy = Double.parseDouble(str);
5
+ /*double dummy =*/ Double.parseDouble(str);
6
6
 
7
7
  return true;
8
8