回答編集履歴

2

文言調整

2016/09/19 06:43

投稿

退会済みユーザー
test CHANGED
@@ -1,4 +1,4 @@
1
- いいえ new しないでいいものなんて ENUM 以外ありません。
1
+ いいえ new しないでいいクラスは基本ありません。
2
2
 
3
3
 
4
4
 

1

削除忘れ部分

2016/09/19 06:43

投稿

退会済みユーザー
test CHANGED
@@ -8,9 +8,7 @@
8
8
 
9
9
  ```java
10
10
 
11
- 963 public static Calendar More ...getInstance()
11
+ 963 public static Calendar getInstance() {
12
-
13
- 964 {
14
12
 
15
13
  965 Calendar cal = createCalendar(TimeZone.getDefaultRef(), Locale.getDefault());
16
14
 
@@ -24,9 +22,7 @@
24
22
 
25
23
  1013 private static Calendar createCalendar(TimeZone zone,
26
24
 
27
- 1014 Locale aLocale)
25
+ 1014 Locale aLocale) {
28
-
29
- 1015 {
30
26
 
31
27
  1016 // If the specified locale is a Thai locale, returns a BuddhistCalendar
32
28