Skip to content

Commit 9eb86e7

Browse files
committed
cleanup
1 parent 171c41a commit 9eb86e7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/unit/org/apache/cassandra/utils/AbstractTypeGenerators.java

+2-4
Original file line numberDiff line numberDiff line change
@@ -792,10 +792,8 @@ public interface UserTypeFieldsGen
792792

793793
static UserTypeFieldsGen random()
794794
{
795-
return (rnd, size) -> {
796-
Gen<FieldIdentifier> fieldNameGen = IDENTIFIER_GEN.map(FieldIdentifier::forQuoted);
797-
return Generators.uniqueList(fieldNameGen, i -> size).generate(rnd);
798-
};
795+
Gen<FieldIdentifier> fieldNameGen = IDENTIFIER_GEN.map(FieldIdentifier::forQuoted);
796+
return (rnd, size) -> Generators.uniqueList(fieldNameGen, i -> size).generate(rnd);
799797
}
800798

801799
static UserTypeFieldsGen simpleNames()

0 commit comments

Comments
 (0)