diff --git a/tools/generator/Java.Interop.Tools.Generator.Transformation/JavadocFixups.cs b/tools/generator/Java.Interop.Tools.Generator.Transformation/JavadocFixups.cs index 1da748c16..09e1c3c7d 100644 --- a/tools/generator/Java.Interop.Tools.Generator.Transformation/JavadocFixups.cs +++ b/tools/generator/Java.Interop.Tools.Generator.Transformation/JavadocFixups.cs @@ -100,7 +100,7 @@ static XElement GetMemberJavadoc (XElement typeJavadoc, string elementName, stri return typeJavadoc .Elements (elementName) .Where (e => jniSignature == (string) e.Attribute ("jni-signature") && - name == null ? true : name == (string) e.Attribute ("name")) + (name == null ? true : name == (string) e.Attribute ("name"))) .Elements ("javadoc") .FirstOrDefault (); }