Ensure no protobuf string setters are set to null

This commit is contained in:
Jeffrey van Gogh
2017-12-14 08:02:20 +03:00
committed by Vladislav.Soroka
parent 19a29fc604
commit 5caca0ee70
@@ -46,10 +46,10 @@ public abstract class AbstractProjectImportErrorHandler {
return GradleExecutionErrorHandler.createUserFriendlyError(msg, location, quickFixes);
}
@Nullable
@NotNull
public String parseMissingMethod(@NotNull String rootCauseText) {
Matcher matcher = GradleExecutionErrorHandler.MISSING_METHOD_PATTERN.matcher(rootCauseText);
return matcher.find() ? matcher.group(1) : null;
return matcher.find() ? matcher.group(1) : "";
}
/**