Skip to content

Commit

Permalink
Fix null pointer error for word2vec quick fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
valentjn committed Oct 7, 2019
1 parent 15b4a91 commit 810af5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ public CompletableFuture<List<Either<Command, CodeAction>>> codeAction(
result.add(Either.forRight(codeAction));
}

{
if (match.getSentence() != null) {
String sentence = match.getSentence().getText().trim();
Matcher matcher = Pattern.compile("Dummy[0-9]+").matcher(sentence);
StringBuilder sentencePatternStringBuilder = new StringBuilder();
Expand Down

0 comments on commit 810af5f

Please sign in to comment.