aboutsummaryrefslogtreecommitdiff
path: root/src/eclipseAgent
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-10-08 20:18:06 +0200
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-10-08 20:18:06 +0200
commitac3b47d79eec82b2681c502fecce534b3b90cbfe (patch)
tree8230b66731d335e0a6ae0efc5ff24590e182f2ba /src/eclipseAgent
parent96d02e66b7fc911cb2e2b5973b71d673294fb36e (diff)
parentf2698ea13d0bc57d36b3a7cd0940754d4c1935c5 (diff)
downloadlombok-ac3b47d79eec82b2681c502fecce534b3b90cbfe.tar.gz
lombok-ac3b47d79eec82b2681c502fecce534b3b90cbfe.tar.bz2
lombok-ac3b47d79eec82b2681c502fecce534b3b90cbfe.zip
Merge branch 'javadoc-fix' of git://github.com/Rawi01/lombok into Rawi01-javadoc-fix
# Conflicts: # src/eclipseAgent/lombok/eclipse/agent/PatchJavadoc.java
Diffstat (limited to 'src/eclipseAgent')
-rw-r--r--src/eclipseAgent/lombok/eclipse/agent/PatchJavadoc.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eclipseAgent/lombok/eclipse/agent/PatchJavadoc.java b/src/eclipseAgent/lombok/eclipse/agent/PatchJavadoc.java
index 19a0383a..f5678154 100644
--- a/src/eclipseAgent/lombok/eclipse/agent/PatchJavadoc.java
+++ b/src/eclipseAgent/lombok/eclipse/agent/PatchJavadoc.java
@@ -51,7 +51,9 @@ public class PatchJavadoc {
ICompilationUnit iCompilationUnit = sourceMethod.getCompilationUnit();
if (iCompilationUnit instanceof CompilationUnit) {
CompilationUnit compilationUnit = (CompilationUnit) iCompilationUnit;
+
Map<String, String> docs = CompilationUnit_javadoc.get(compilationUnit);
+ if (docs == null) return null;
String signature = getSignature(sourceMethod);
String rawJavadoc = docs.get(signature);