aboutsummaryrefslogtreecommitdiff
path: root/src/eclipseAgent/lombok/eclipse/agent
diff options
context:
space:
mode:
authorRawi01 <Rawi01@users.noreply.github.com>2020-09-18 13:01:52 +0200
committerRawi01 <Rawi01@users.noreply.github.com>2020-09-18 13:01:52 +0200
commitf2698ea13d0bc57d36b3a7cd0940754d4c1935c5 (patch)
tree9ddcf7de35cceeab2d0968b05b9f6f3e99143d36 /src/eclipseAgent/lombok/eclipse/agent
parent25f91eb7b21ec0330db66ad962898d10b8da262d (diff)
downloadlombok-f2698ea13d0bc57d36b3a7cd0940754d4c1935c5.tar.gz
lombok-f2698ea13d0bc57d36b3a7cd0940754d4c1935c5.tar.bz2
lombok-f2698ea13d0bc57d36b3a7cd0940754d4c1935c5.zip
Add missing null check
Diffstat (limited to 'src/eclipseAgent/lombok/eclipse/agent')
-rw-r--r--src/eclipseAgent/lombok/eclipse/agent/PatchJavadoc.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eclipseAgent/lombok/eclipse/agent/PatchJavadoc.java b/src/eclipseAgent/lombok/eclipse/agent/PatchJavadoc.java
index a91e4d8b..4e48aa81 100644
--- a/src/eclipseAgent/lombok/eclipse/agent/PatchJavadoc.java
+++ b/src/eclipseAgent/lombok/eclipse/agent/PatchJavadoc.java
@@ -53,6 +53,7 @@ public class PatchJavadoc {
if (iCompilationUnit instanceof CompilationUnit) {
CompilationUnit compilationUnit = (CompilationUnit) iCompilationUnit;
Map<String, String> docs = EclipseAugments.CompilationUnit_javadoc.get(compilationUnit);
+ if (docs == null) return null;
String signature = getSignature(sourceMethod);
String rawJavadoc = docs.get(signature);