-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from synyx/fix-constructor-creation-with-colle…
…ctions Fix constructor creation with generic types and collections
- Loading branch information
Showing
6 changed files
with
92 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/test/java/org/synyx/beanfiller/testobjects/ArrayConstructorObject.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package org.synyx.beanfiller.testobjects; | ||
|
||
public class ArrayConstructorObject { | ||
|
||
private final String[] values; | ||
|
||
public ArrayConstructorObject(String[] values){ | ||
|
||
this.values = values; | ||
} | ||
|
||
public String[] getValues() { | ||
return values; | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/test/java/org/synyx/beanfiller/testobjects/ListConstructorObject.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package org.synyx.beanfiller.testobjects; | ||
|
||
import java.util.List; | ||
|
||
public class ListConstructorObject { | ||
|
||
private final List<String> values; | ||
|
||
public ListConstructorObject(List<String> values){ | ||
|
||
this.values = values; | ||
} | ||
|
||
public List<String> getValues() { | ||
return values; | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/test/java/org/synyx/beanfiller/testobjects/MapConstructorObject.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package org.synyx.beanfiller.testobjects; | ||
|
||
import java.util.Map; | ||
|
||
public class MapConstructorObject { | ||
|
||
private final Map<Integer, String> values; | ||
|
||
public MapConstructorObject(Map<Integer, String> values){ | ||
|
||
this.values = values; | ||
} | ||
|
||
public Map<Integer, String> getValues() { | ||
return values; | ||
} | ||
} |