Wrong number of type arguments
@@ -11,7 +11,7 @@ class ContributorsSerializerTest extends Specification {
def "serialization and deserialization of one contributor"() {
given:
- def contributors = new DefaultContributorsSet<Contributor>()
+ def contributors = new DefaultContributorsSet()
def contributor = new DefaultContributor("myName", "myLogin", "myProfileUrl")
contributors.addContributor(contributor)
@@ -26,7 +26,7 @@ class ContributorsSerializerTest extends Specification {
def "serialization and deserialization of zero contributors"() {
given:
- def contributors = new DefaultContributorsSet<Contributor>()
+ def contributors = new DefaultContributorsSet()
when:
serializer.serialize(contributors)
@@ -40,7 +40,7 @@ class ContributorsSerializerTest extends Specification {
def "serialization and deserialization of 2 contributors"() {
given:
- def contributors = new DefaultContributorsSet<Contributor>()
+ def contributors = new DefaultContributorsSet()
def contributor1 = new DefaultContributor("myName 1", "myLogin 1", "myProfileUrl 1")
def contributor2 = new DefaultContributor("myName 2", "myLogin 2", "myProfileUrl 2")
contributors.addContributor(contributor1)
@@ -57,7 +57,7 @@ class ContributorsSerializerTest extends Specification {
def "serialization and deserialization contributors with special characters"() {
given:
- def contributors = new DefaultContributorsSet<Contributor>()
+ def contributors = new DefaultContributorsSet()
def contributor = new DefaultContributor("my\"Na\\m\fe ", "my\rLo\bg\ni\tn", "\u0000myP\u001Fro\u007Ffi\u009FleUrl ")
contributors.addContributor(contributor)
