nullability for IDEA-CR-21746

This commit is contained in:
Egor.Ushakov
2017-06-14 13:28:25 +03:00
parent 27f54424ee
commit dce36ba559
@@ -334,7 +334,7 @@ public class MethodBreakpoint extends BreakpointWithHighlighter<JavaMethodBreakp
return getEventMessage(event, getFileName());
}
static String getEventMessage(@NotNull LocatableEvent event, String defaultFileName) {
static String getEventMessage(@NotNull LocatableEvent event, @NotNull String defaultFileName) {
Location location = event.location();
if (event instanceof MethodEntryEvent) {
return getEventMessage(true, ((MethodEntryEvent)event).method(), location, defaultFileName);