/*
- * 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.
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;