Skip to content

Commit

Permalink
SOS-761 Source formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Park committed Jan 31, 2012
1 parent 88b8772 commit 705e6fb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
Expand Up @@ -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;

/**
Expand Down Expand Up @@ -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(
Expand Down
Expand Up @@ -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>

Expand Down
Expand Up @@ -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>

Expand Down

0 comments on commit 705e6fb

Please sign in to comment.