From: <fm...@rh...> - 2008-12-02 00:07:47
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><style type="text/css"><!-- #msg DL { border : 1px #006 solid; background-color : #369; padding : 6px; color : #fff; } #msg DT { float : left; width : 6em; font-weight : bold; } #msg DL, #msg DT, #msg UL, #msg LI { font-family : arial,helvetica,sans-serif; font-size : 10pt; } h3 { font-family : arial,helvetica,sans-serif; font-size : 10pt; font-weight : bold; } #msg PRE { overflow : auto; white-space : normal; background-color : #ffc; border : 1px #fc0 solid; padding : 6px; } #msg UL, PRE, .diff { overflow : auto; } #patch h4 { font-family : arial,helvetica,sans-serif; font-size : 10pt; } #patch h4 { padding: 8px; background : #369; color : #fff; margin : 0; } #patch .propset h4, #patch .binary h4 {margin: 0;} #patch pre {padding:0;line-height:1.2em;margin:0;} #patch .diff {background:#eeeeee;padding: 0 0 10px 0;} #patch .propset .diff, #patch .binary .diff {padding: 10px 0;} #patch span {display:block;padding:0 10px;} #patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;} #patch .add {background:#ddffdd;} #patch .rem {background:#ffdddd;} #patch .lines, .info {color:#888888;background:#ffffff;} .diff { width : 100%; } #msg DL { border : 1px #006 solid; background-color : #369; padding : 6px; color : #fff; } #msg DT { float : left; width : 6em; font-weight : bold; } #msg DL, #msg DT, #msg UL, #msg LI { font-family : arial,helvetica,sans-serif; font-size : 10pt; } h3 { font-family : arial,helvetica,sans-serif; font-size : 10pt; font-weight : bold; } #msg PRE { overflow : auto; white-space : normal; background-color : #ffc; border : 1px #fc0 solid; padding : 6px; } #msg UL, PRE, .diff { overflow : auto; } #patch h4 { font-family : arial,helvetica,sans-serif; font-size : 10pt; } #patch h4 { padding: 8px; background : #369; color : #fff; margin : 0; } #patch .propset h4, #patch .binary h4 {margin: 0;} #patch pre {padding:0;line-height:1.2em;margin:0;} #patch .diff {background:#eeeeee;padding: 0 0 10px 0;} #patch .propset .diff, #patch .binary .diff {padding: 10px 0;} #patch span {display:block;padding:0 10px;} #patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;} #patch .add {background:#ddffdd;} #patch .rem {background:#ffdddd;} #patch .lines, .info {color:#888888;background:#ffffff;} .diff { width : 100%; } --></style> <title>[rhq-project.org rhq] [2157] RHQ-1048 - Removed unused code </title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>2157</dd> <dt>Author</dt> <dd>fmatar</dd> <dt>Date</dt> <dd>2008-12-01 18:07:45 -0600 (Mon, 01 Dec 2008)</dd> </dl> <h3>Log Message</h3> <pre>RHQ-1048 - Removed unused code </pre> <h3>Modified Paths</h3> <ul> <li><a href="#rhqtrunkmodulesenterpriseguiportalwarsrcmainjavaorgrhqenterpriseguieventEventHistoryUIBeanjava">rhq/trunk/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/event/EventHistoryUIBean.java</a></li> </ul> </div> <div id="patch"> <h3>Diff</h3> <a id="rhqtrunkmodulesenterpriseguiportalwarsrcmainjavaorgrhqenterpriseguieventEventHistoryUIBeanjava"></a> <div class="modfile"><h4>Modified: rhq/trunk/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/event/EventHistoryUIBean.java (2156 => 2157)</h4> <pre class="diff"> <span class="info">--- rhq/trunk/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/event/EventHistoryUIBean.java 2008-12-01 23:55:20 UTC (rev 2156) +++ rhq/trunk/modules/enterprise/gui/portal-war/src/main/java/org/rhq/enterprise/gui/event/EventHistoryUIBean.java 2008-12-02 00:07:45 UTC (rev 2157) </span><span class="lines">@@ -35,7 +35,6 @@ </span><span class="cx"> import org.rhq.enterprise.gui.common.framework.PagedDataTableUIBean; import org.rhq.enterprise.gui.common.paging.PageControlView; import org.rhq.enterprise.gui.common.paging.PagedListDataModel; </span><span class="rem">-import org.rhq.enterprise.gui.legacy.ParamConstants; </span><span class="cx"> import org.rhq.enterprise.gui.legacy.WebUser; import org.rhq.enterprise.gui.legacy.util.MonitorUtils; import org.rhq.enterprise.gui.util.EnterpriseFacesContextUtility; </span><span class="lines">@@ -111,17 +110,11 @@ </span><span class="cx"> Resource requestResource = EnterpriseFacesContextUtility.getResourceIfExists(); EventManagerLocal manager = LookupUtil.getEventManager(); Subject subject = EnterpriseFacesContextUtility.getSubject(); </span><span class="rem">- Resource resource = EnterpriseFacesContextUtility.getResource(); - </span><span class="cx"> WebUser user = EnterpriseFacesContextUtility.getWebUser(); </span><span class="rem">- - Map pref = user.getPreferences().getMetricRangePreference(true); </span><span class="add">+ Map<String, ?> pref = user.getPreferences().getMetricRangePreference(true); </span><span class="cx"> long begin = (Long) pref.get(MonitorUtils.BEGIN); long end = (Long) pref.get(MonitorUtils.END); </span><span class="rem">- Integer lastN = (Integer) pref.get(MonitorUtils.LASTN); </span><span class="cx"> </span><span class="rem">- int resourceId = FacesContextUtility.getRequiredRequestParameter(ParamConstants.RESOURCE_ID_PARAM, - Integer.class); </span><span class="cx"> int eventId = -1; try { eventId = FacesContextUtility.getRequiredRequestParameter("eventId", Integer.class); </span> </pre> </div> </div> </body> </html> |