mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Cleanup (formatting)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2013 JetBrains s.r.o.
|
||||
* Copyright 2000-2014 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -44,19 +44,23 @@ public class Notification {
|
||||
private Boolean myImportant;
|
||||
private WeakReference<Balloon> myBalloonRef;
|
||||
|
||||
public Notification(@NotNull final String groupDisplayId, @NotNull final String title, @NotNull final String content, @NotNull final NotificationType type) {
|
||||
public Notification(@NotNull String groupDisplayId, @NotNull String title, @NotNull String content, @NotNull NotificationType type) {
|
||||
this(groupDisplayId, title, content, type, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param groupDisplayId this should be a human-readable, capitalized string like "Facet Detector".
|
||||
* It will appear in "Notifications" configurable.
|
||||
* @param title notification title
|
||||
* @param content notification content
|
||||
* @param type notification type
|
||||
* @param listener notification lifecycle listener
|
||||
* @param title notification title
|
||||
* @param content notification content
|
||||
* @param type notification type
|
||||
* @param listener notification lifecycle listener
|
||||
*/
|
||||
public Notification(@NotNull final String groupDisplayId, @NotNull final String title, @NotNull final String content, @NotNull final NotificationType type, @Nullable NotificationListener listener) {
|
||||
public Notification(@NotNull String groupDisplayId,
|
||||
@NotNull String title,
|
||||
@NotNull String content,
|
||||
@NotNull NotificationType type,
|
||||
@Nullable NotificationListener listener) {
|
||||
myGroupId = groupDisplayId;
|
||||
myTitle = title;
|
||||
myContent = content;
|
||||
|
||||
Reference in New Issue
Block a user