質問編集履歴

3

2017/03/11 04:37

投稿

ponkotate
ponkotate

スコア13

test CHANGED
File without changes
test CHANGED
@@ -28,7 +28,7 @@
28
28
 
29
29
 
30
30
 
31
- public static IAaa of(Xxx x, Yyy y) {
31
+ public static Aaa of(Xxx x, Yyy y) {
32
32
 
33
33
  return new Aaa(x, y);
34
34
 

2

2017/03/11 04:37

投稿

ponkotate
ponkotate

スコア13

test CHANGED
File without changes
test CHANGED
@@ -94,7 +94,7 @@
94
94
 
95
95
 
96
96
 
97
- public static Bbb(Xxx x, Yyy y, Zzz z) {
97
+ public static Bbb of(Xxx x, Yyy y, Zzz z) {
98
98
 
99
99
  return new Bbb(x, y, z);
100
100
 

1

2017/03/11 04:37

投稿

ponkotate
ponkotate

スコア13

test CHANGED
File without changes
test CHANGED
@@ -84,9 +84,19 @@
84
84
 
85
85
 
86
86
 
87
- Bbb(Xxx x, Yyy y) {
87
+ private Bbb(Xxx x, Yyy y, Zzz z) {
88
88
 
89
89
  super(Aaa.of(x, y));
90
+
91
+ // do something
92
+
93
+ }
94
+
95
+
96
+
97
+ public static Bbb(Xxx x, Yyy y, Zzz z) {
98
+
99
+ return new Bbb(x, y, z);
90
100
 
91
101
  }
92
102