Skip to content

Commit

Permalink
To string fix for AccessPathElement (#306)
Browse files Browse the repository at this point in the history
Fixes bug which was causing NPE while testing when `constantArguments` is `null`.
  • Loading branch information
shubhamugare authored and lazaroclapp committed Apr 23, 2019
1 parent d4ae917 commit 29dd90c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -61,7 +61,7 @@ public String toString() {
+ "javaElement="
+ javaElement.toString()
+ ", constantArguments="
+ Arrays.deepToString(constantArguments.toArray())
+ Arrays.deepToString(constantArguments != null ? constantArguments.toArray() : null)
+ '}';
}
}

0 comments on commit 29dd90c

Please sign in to comment.