Skip to content

Commit dee9a82

Browse files
mebigfatguyDave Brosius
andauthored
remove dead allocation (#70)
Co-authored-by: Dave Brosius <dave.brosius@mebigfatguy.com>
1 parent 1fba334 commit dee9a82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/fasterxml/classmate/MemberResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public ResolvedTypeWithMembers resolve(final ResolvedType mainType,
117117
AnnotationConfiguration annotationConfig,
118118
AnnotationOverrides annotationOverrides)
119119
{
120-
List<ResolvedType> types = new ArrayList<ResolvedType>();
120+
List<ResolvedType> types;
121121
HashSet<ClassKey> seenTypes = new HashSet<ClassKey>();
122122

123123
// First: flatten basic type hierarchy (highest to lowest precedence)

0 commit comments

Comments
 (0)