From 2d227a7349847c799b569a436ce863f1c847b044 Mon Sep 17 00:00:00 2001 From: Ben Gruver Date: Thu, 1 Feb 2018 12:04:27 -0800 Subject: [PATCH] Fix nullable issue in annotations rule --- smali/src/main/antlr/smaliTreeWalker.g | 2 -- 1 file changed, 2 deletions(-) diff --git a/smali/src/main/antlr/smaliTreeWalker.g b/smali/src/main/antlr/smaliTreeWalker.g index f80e8ad7..395932dd 100644 --- a/smali/src/main/antlr/smaliTreeWalker.g +++ b/smali/src/main/antlr/smaliTreeWalker.g @@ -1282,9 +1282,7 @@ annotations returns[Set annotations] } })*) { - if (annotationMap.size() > 0) { $annotations = ImmutableSet.copyOf(annotationMap.values()); - } }; annotation returns[Annotation annotation]