We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e90540b commit d60132eCopy full SHA for d60132e
com.ibm.wala.cast.python/source/com/ibm/wala/cast/python/util/Util.java
@@ -107,6 +107,7 @@ public static String removeFileProtocolFromPath(String path) {
107
* presented in the CAst.
108
*/
109
public static Collection<String> getNames(Collection<CAstAnnotation> annotations) {
110
+ if (annotations == null) return emptyList();
111
return annotations.stream().map(Util::getName).flatMap(Optional::stream).toList();
112
}
113
0 commit comments