Permalink
Browse files

SOS-761 Source formatting

  • Loading branch information...
1 parent 88b8772 commit 705e6fb7329508eb70b65e96db2b5feda16ba67d @lionah lionah committed Jan 31, 2012
@@ -43,7 +43,7 @@
import com.liferay.portlet.announcements.service.AnnouncementsEntryService;
import com.liferay.portlet.announcements.service.AnnouncementsEntryServiceWrapper;
-import java.util.ArrayList;
+import java.util.Collections;
import java.util.List;
/**
@@ -116,11 +116,14 @@ protected void sendNotificationEvent(AnnouncementsEntry announcementEntry)
JSONFactoryUtil.createJSONObject();
notificationEventJSONObject.put("body", announcementEntry.getTitle());
- notificationEventJSONObject.put("entryId", announcementEntry.getEntryId());
- notificationEventJSONObject.put("groupId", announcementEntry.getClassPK());
+ notificationEventJSONObject.put(
+ "entryId", announcementEntry.getEntryId());
+ notificationEventJSONObject.put(
+ "groupId", announcementEntry.getClassPK());
notificationEventJSONObject.put("portletId", PortletKeys.ANNOUNCEMENTS);
notificationEventJSONObject.put("title", "x-sent-a-new-announcement");
- notificationEventJSONObject.put("userId", announcementEntry.getUserId());
+ notificationEventJSONObject.put(
+ "userId", announcementEntry.getUserId());
NotificationEvent notificationEvent =
NotificationEventFactoryUtil.createNotificationEvent(
@@ -34,7 +34,7 @@ if (portletPlid != 0) {
</span>
<span class="portlet-icon">
- <liferay-portlet:icon-portlet portlet='<%= PortletLocalServiceUtil.getPortletById(company.getCompanyId(), portletId) %>' />
+ <liferay-portlet:icon-portlet portlet="<%= PortletLocalServiceUtil.getPortletById(company.getCompanyId(), portletId) %>" />
</span>
</div>
@@ -49,7 +49,7 @@ else {
</span>
<span class="portlet-icon">
- <liferay-portlet:icon-portlet portlet='<%= PortletLocalServiceUtil.getPortletById(company.getCompanyId(), portletId) %>' />
+ <liferay-portlet:icon-portlet portlet="<%= PortletLocalServiceUtil.getPortletById(company.getCompanyId(), portletId) %>" />
</span>
</div>

0 comments on commit 705e6fb

Please sign in to comment.