Skip to content

Commit 4a5ab6f

Browse files
committed
SonarCloud fix: java:S125 Sections of code should not be commented out
1 parent 571ec18 commit 4a5ab6f

File tree

43 files changed

+31
-102
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+31
-102
lines changed

java/code/src/com/redhat/rhn/common/db/datasource/CachedStatement.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ private Collection<Object> executeElaboratorBatch(List<Object> resultList, Mode
419419
parametersIn != null ? new HashMap<>(parametersIn) : new HashMap<>();
420420

421421
if (len == 0) {
422-
// Nothing to elaborate, just return;
422+
// Nothing to elaborate, just return
423423
return resultList;
424424
}
425425

java/code/src/com/redhat/rhn/common/hibernate/HibernateFactory.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -481,20 +481,18 @@ protected Object lockObject(Class clazz, Serializable id) {
481481
* @param <T> the entity type
482482
*/
483483
public static <T> T reload(T obj) throws HibernateException {
484-
// assertNotNull(obj);
485484
ClassMetadata cmd = connectionManager.getMetadata(obj);
486485
Serializable id = cmd.getIdentifier(obj, (SessionImplementor) getSession());
487486
Session session = getSession();
488487
session.flush();
489488
session.evict(obj);
490489
/*
491490
* In hibernate 3, the following doesn't work:
492-
* session.load(obj.getClass(), id);
491+
* session.load(obj.getClass(), id)
493492
* load returns the proxy class instead of the persisted class, ie,
494493
* Filter$$EnhancerByCGLIB$$9bcc734d_2 instead of Filter.
495494
* session.get is set to not return the proxy class, so that is what we'll use.
496495
*/
497-
// assertNotSame(obj, result);
498496
return (T) session.get(obj.getClass(), id);
499497
}
500498

java/code/src/com/redhat/rhn/domain/action/salt/ApplyStatesAction.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ public ActionFormatter getFormatter() {
5959

6060
@Override
6161
public String getHistoryDetails(Server server, User currentUser) {
62-
// LocalizationService ls = LocalizationService.getInstance();
6362
StringBuilder retval = new StringBuilder();
6463
retval.append("</br>");
6564
for (ApplyStatesActionResult result : getDetails().getResults()) {

java/code/src/com/redhat/rhn/domain/config/ConfigurationFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ public static ConfigChannel createNewLocalChannel(Server server,
818818
//TODO: put the following line back. It is not here now because Server.findLocal
819819
// does this task for us. It belongs here, but this would currently cause
820820
// an infinite loop based on how setSandboxOverride works.
821-
//server.setSandboxOverride(retval);
821+
//server.setSandboxOverride(retval)
822822
commit(retval);
823823

824824
return retval;

java/code/src/com/redhat/rhn/frontend/action/channel/manage/AddErrataToChannelAction.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,8 @@ public ActionForward execute(ActionMapping mapping,
9393

9494
// used to schedule an asynchronous action to clone errata because it was
9595
// so slow. Is much faster now, just do inline.
96-
//Set<Long> errataIds = RhnSetDecl.setForChannelErrata(currentChan).get(
97-
// user).getElementValues();
98-
//ErrataManager.publishErrataToChannelAsync(currentChan, errataIds, user);
96+
// Set<Long> errataIds = RhnSetDecl.setForChannelErrata(currentChan).get(user).getElementValues()
97+
// ErrataManager.publishErrataToChannelAsync(currentChan, errataIds, user)
9998
List<ErrataOverview> errata = ErrataManager.errataInSet(user,
10099
RhnSetDecl.setForChannelErrata(currentChan).get(user).getLabel())
101100
.stream()

java/code/src/com/redhat/rhn/frontend/action/channel/ssm/BaseSubscribeAction.java

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,6 @@ public class BaseSubscribeAction extends RhnLookupDispatchAction {
8383
static final String UNMATCHED_CHILD_CHANNELS = "unmatched_child_channels";
8484
static final String FOUND_UNMATCHED_CHANNELS = "foundUnmatchedChannels";
8585

86-
/*
87-
Map<Long, List<Long>> successes = new HashMap<Long, List<Long>>();
88-
Map<Long, List<Long>> failures = new HashMap<Long, List<Long>>();
89-
Map<Long, List<Long>> skipped = new HashMap<Long, List<Long>>();
90-
*/
91-
92-
9386
@Override
9487
protected Map<String, String> getKeyMethodMap() {
9588
Map<String, String> map = new HashMap<>();
@@ -209,7 +202,7 @@ public ActionForward confirmUpdateBaseChannels(ActionMapping mapping,
209202
List<Long> servers = serversInSSMWithBase(user, oldBaseChannelId);
210203
List<Server> skippedServers = new LinkedList<>();
211204

212-
// Check if for all servers in the set we can guess base channel;
205+
// Check if for all servers in the set we can guess base channel
213206
// if not add them to the skipped list
214207
for (Long sId : servers) {
215208
Server server = SystemManager.lookupByIdAndUser(sId, user);

java/code/src/com/redhat/rhn/frontend/action/common/BaseSetOperateOnDiffAction.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ public ActionForward operateOnDiff(ActionMapping mapping,
8181
log.debug("operateOnDiff called");
8282

8383
User user = new RequestContext(request).getCurrentUser();
84-
// RhnSet originalSet = getSetDecl().get(user);
8584

8685
RhnSet currentset = updateSet(request);
8786
RhnSetManager.store(currentset);

java/code/src/com/redhat/rhn/frontend/action/common/DownloadFile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ private StreamInfo manualServeByteRange(HttpServletResponse response, String dis
798798
// class instead of using parent execute() (and copy()).
799799
// New copy() method will take into account Content-Range header in response
800800
// and copy only these bytes. Uncomment after fixing following line:
801-
// return getStreamForPath(diskPath, CONTENT_TYPE_OCTET_STREAM);
801+
// return getStreamForPath(diskPath, CONTENT_TYPE_OCTET_STREAM)
802802

803803
// gotta make sure it is end + 1
804804
byte[] chunk = FileUtils.readByteArrayFromFile(actualFile, start, end + 1);

java/code/src/com/redhat/rhn/frontend/action/configuration/channel/BaseCopyToAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ protected ActionForward doCopy(ActionMapping mapping,
131131
// for each destination
132132
// find the dest-channel
133133
// for each file
134-
// cm.copyConfigFile(file.latest.revision, dest-chan, usr);
134+
// cm.copyConfigFile(file.latest.revision, dest-chan, usr)
135135
//
136136
for (Object oIn : destSet) {
137137
Long destid = ((RhnSetElement) oIn).getElement();

java/code/src/com/redhat/rhn/frontend/action/configuration/files/DeleteRevisionAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public ActionForward execute(ActionMapping mapping, ActionForm form,
7575
msgs.add(ActionMessages.GLOBAL_MESSAGE, am);
7676
/*
7777
* Although I would like to just do:
78-
* ConfigActionHelper.processParamMap(request, params);
78+
* ConfigActionHelper.processParamMap(request, params)
7979
* The revision from the request is the one we just deleted,
8080
* so this would cause a LookupException.
8181
*/

java/code/src/com/redhat/rhn/frontend/action/configuration/sdc/ImportFileSubmitAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ private int importSelected(HttpServletRequest request) {
186186

187187
/*
188188
* To accomplish this task, I would like to just do the following line
189-
* importSet.getElements().addAll(selectedSet.getElements());
189+
* importSet.getElements().addAll(selectedSet.getElements())
190190
*
191191
* However, this does not work, because RhnSetElement contains member
192192
* variables for the user and set label, even though the element is

java/code/src/com/redhat/rhn/frontend/action/configuration/ssm/UnsubscribeConfirmAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*/
2828
public class UnsubscribeConfirmAction extends BaseListAction {
2929

30-
/*
30+
/**
3131
* {@inheritDoc}
3232
*/
3333
@Override

java/code/src/com/redhat/rhn/frontend/action/kickstart/test/KickstartHelperTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ public void setUp() throws Exception {
6262
user.addPermanentRole(RoleFactory.ORG_ADMIN);
6363
UserFactory.save(user);
6464
ksdata = KickstartDataTest.createKickstartWithOptions(user.getOrg());
65-
// ksdata = KickstartDataTest.createKickstartWithChannel(user.getOrg());
6665
mockRequest = new RhnMockHttpServletRequest();
6766
mockRequest.setupGetRemoteAddr("127.0.0.1");
6867
request = new RhnHttpServletRequest(mockRequest);
@@ -178,7 +177,6 @@ public void testProxyFetch() {
178177
",1006678487::1152567362.02:21600.0:t15lgsaTRKpX6AxkUFQ11A==:f" +
179178
"js-0-12.rhndev.redhat.com";
180179

181-
// mockRequest.setupAddHeader(KickstartHelper.XRHNPROXYAUTH, proxyheader);
182180
mockRequest.setupGetHeader(KickstartHelper.XRHNPROXYAUTH, proxyheader);
183181
helper = new KickstartHelper(request);
184182
assertEquals("fjs-0-08.rhndev.redhat.com", helper.getKickstartHost());

java/code/src/com/redhat/rhn/frontend/action/multiorg/ChannelConsumeAction.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ protected DataResult<ChannelTreeNode> getDataResult(RequestContext requestContex
4242
Long oid = requestContext.getParamAsLong(RequestContext.ORG_ID);
4343
//grab the trusted org id passed in
4444
Org trustOrg = OrgFactory.lookupById(oid);
45-
//User user = requestContext.getCurrentUser();
4645
User user = UserFactory.findRandomOrgAdmin(trustOrg);
47-
//Org org = user.getOrg();
4846
Org org = requestContext.getCurrentUser().getOrg();
4947

5048
return ChannelManager.trustChannelConsume(org, trustOrg, user, lc);

java/code/src/com/redhat/rhn/frontend/action/rhnpackage/BaseSystemPackagesConfirmAction.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ public ActionForward executePackageAction(ActionMapping mapping,
176176

177177
Long sid = requestContext.getRequiredParam("sid");
178178
User user = requestContext.getCurrentUser();
179-
//updateList(newactions, user.getId());
180179

181180
List<Map<String, Long>> data = PackageListItem.toKeyMaps(getDataResult(request));
182181
int numPackages = data.size();

java/code/src/com/redhat/rhn/frontend/action/systems/SystemSearchAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ protected ActionForward doExecute(HttpServletRequest request, ActionMapping mapp
203203
}
204204

205205
// TODO: Set up combined-form validator
206-
// errs.add(RhnValidationHelper.validateDynaActionForm(this, daForm));
206+
// errs.add(RhnValidationHelper.validateDynaActionForm(this, daForm))
207207
addErrors(request, errs);
208208

209209
ListRhnSetHelper helper = new ListRhnSetHelper(this, request, RhnSetDecl.SYSTEMS);

java/code/src/com/redhat/rhn/frontend/action/systems/WorkWithGroupAction.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ public ActionForward execute(ActionMapping mapping,
5959

6060
RhnSetManager.store(systemSet);
6161

62-
//response.sendRedirect("/rhn/systems/ssm/ListSystems.do");
6362
return mapping.findForward(RhnHelper.DEFAULT_FORWARD);
6463
}
6564
}

java/code/src/com/redhat/rhn/frontend/action/token/ActivationKeyCloneAction.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@
3232
import javax.servlet.http.HttpServletRequest;
3333
import javax.servlet.http.HttpServletResponse;
3434

35-
//import java.util.HashMap;
36-
//import java.util.Map;
37-
38-
3935
/**
4036
* KickstartCloneAction - action for cloning a KS. Can't use BaseKickstartEdit
4137
* action because we have to forward to a different Kickstart vs the one we

java/code/src/com/redhat/rhn/frontend/action/user/test/CreateUserActionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public void testMessageQueueRegistration() {
4848
assertTrue(found);
4949
//don't call contextDestroyed here since it stops hibernate and
5050
//screws everything up ;)
51-
//rl.contextDestroyed(null);
51+
//rl.contextDestroyed(null)
5252
MessageQueue.stopMessaging();
5353
}
5454

java/code/src/com/redhat/rhn/frontend/events/RestartSatelliteEvent.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
*/
2525
public class RestartSatelliteEvent extends BaseEvent implements EventMessage {
2626

27-
//private User user;
28-
2927
/**
3028
* default constructor
3129
* @param currentUser who is creating this event.

java/code/src/com/redhat/rhn/frontend/events/SsmPackagesAction.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,6 @@ public void execute(EventMessage msg) {
8080
long operationId = SsmOperationManager.createOperation(user,
8181
getOperationName(), RhnSetDecl.SYSTEMS.getLabel());
8282

83-
// Explicitly call handle transactions here so the operation creation above
84-
// is persisted before the potentially long running logic below
85-
//handleTransactions(true);
86-
8783
try {
8884
long actionStart = System.currentTimeMillis();
8985

java/code/src/com/redhat/rhn/frontend/listview/ListControl.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,6 @@ public Map<Character, Integer> createIndex(DataResult dr) {
125125
String value = (String)MethodUtil.callMethod(inputRow,
126126
StringUtil.beanify("get " + filterColumn),
127127
new Object[0]);
128-
/* Filter the data if necessary
129-
if (filterValue != null && value != null) {
130-
if (value.indexOf(filterValue) < 0) {
131-
di.remove();
132-
}
133-
}*/
134128
// Make sure that the alpha inputs are converted
135129
// to uppercase
136130
if (value != null) {

java/code/src/com/redhat/rhn/frontend/listview/test/ListControlTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ public void testCreateIndex() {
8383
//cs2.put('F', 2);
8484
//cs2.put('Z', 4);
8585

86-
//Ensure that cs1 and cs2 are equal
87-
//assertTrue(cs1.equals(cs2));
8886
assertNotNull(cs1);
8987

9088
}

java/code/src/com/redhat/rhn/frontend/servlets/PxtCookieManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public Cookie createPxtCookie(Long pxtSessionId, HttpServletRequest request,
6262
// when not using setDomain, default "Host" will be set for the cookie
6363
// there's no need to use domain and besides that it causes trouble,
6464
// when accessing the server within the local network (without FQDN)
65-
// pxtCookie.setDomain(request.getServerName());
65+
// pxtCookie.setDomain(request.getServerName())
6666
if (!userAgentContains(request, "msie")) {
6767
pxtCookie.setMaxAge(timeout);
6868
}

java/code/src/com/redhat/rhn/frontend/servlets/PxtSessionDelegateImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,6 @@ protected void savePxtSession(WebSession pxtSession) {
230230
public void invalidatePxtSession(HttpServletRequest request,
231231
HttpServletResponse response) {
232232

233-
//updateWebUserId(request, response, null);
234233
WebSession pxtSession = getPxtSession(request);
235234
pxtSession.setWebUserId(null);
236235

java/code/src/com/redhat/rhn/frontend/struts/BaseListAction.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535
*/
3636
public abstract class BaseListAction extends RhnListAction {
3737

38-
// public static final String PAGE_LIST = "pageList";
39-
4038
/** {@inheritDoc} */
4139
@Override
4240
public ActionForward execute(ActionMapping mapping,

java/code/src/com/redhat/rhn/frontend/struts/RhnSetHelper.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ public ActionForward selectall(DataResult dr, Map<String, Object> paramsIn) {
142142
public void selectAllData(List result, User user) {
143143
// Get an "unelaborated" DataResult containing all of the
144144
// user's visible systems
145-
// DataResult dr = getDataResult(user, request);
146145

147146
this.setDecl.clear(user);
148147
RhnSet rs = this.setDecl.create(user);

java/code/src/com/redhat/rhn/frontend/taglibs/ListDisplayTag.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,6 @@ public int doStartTag() throws JspException {
794794
if (!getPageList().getIndex().isEmpty() &&
795795
getPageList().size() < getPageList().getTotalSize()) {
796796

797-
//renderViewAllLink(alphaBarContent);
798797
renderAlphabar(alphaBarContent);
799798
}
800799
pageContext.popBody();

java/code/src/com/redhat/rhn/frontend/taglibs/RequireTag.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ public String getAcl() {
7777
*/
7878
public void setMixins(String mix) {
7979
mixins = mix;
80-
//mixins = StringUtils.split(mix, ",");
8180
}
8281

8382
/**
@@ -104,7 +103,7 @@ public int doStartTag() throws JspException {
104103
mixins)) {
105104
// acl methods must be in the following form
106105
// aclXxxYyy(Object context, String[] params) and invoked
107-
// xxx_yyy(param);
106+
// xxx_yyy(param)
108107
return (EVAL_BODY_INCLUDE);
109108
}
110109

java/code/src/com/redhat/rhn/frontend/xmlrpc/schedule/ScheduleHandler.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public int failSystemAction(User loggedInUser, Integer sid, Integer actionId,
147147
@ReadOnly
148148
public Object[] listAllActions(User loggedInUser) {
149149

150-
// the second argument is "PageControl". This is not needed for the api usage;
150+
// the second argument is "PageControl". This is not needed for the api usage
151151
// therefore, null will be used.
152152
return ActionManager.allActions(loggedInUser, null).toArray();
153153
}
@@ -166,7 +166,7 @@ public Object[] listAllActions(User loggedInUser) {
166166
*/
167167
@ReadOnly
168168
public Object[] listCompletedActions(User loggedInUser) {
169-
// the second argument is "PageControl". This is not needed for the api usage;
169+
// the second argument is "PageControl". This is not needed for the api usage
170170
// therefore, null will be used.
171171
DataResult<ScheduledAction> dr = ActionManager.completedActions(loggedInUser, null);
172172
return dr.toArray();
@@ -186,7 +186,7 @@ public Object[] listCompletedActions(User loggedInUser) {
186186
*/
187187
@ReadOnly
188188
public Object[] listInProgressActions(User loggedInUser) {
189-
// the second argument is "PageControl". This is not needed for the api usage;
189+
// the second argument is "PageControl". This is not needed for the api usage
190190
// therefore, null will be used.
191191
DataResult<ScheduledAction> dr = ActionManager.pendingActions(loggedInUser, null);
192192
return dr.toArray();
@@ -206,7 +206,7 @@ public Object[] listInProgressActions(User loggedInUser) {
206206
*/
207207
@ReadOnly
208208
public Object[] listFailedActions(User loggedInUser) {
209-
// the second argument is "PageControl". This is not needed for the api usage;
209+
// the second argument is "PageControl". This is not needed for the api usage
210210
// therefore, null will be used.
211211
DataResult<ScheduledAction> dr = ActionManager.failedActions(loggedInUser, null);
212212
return dr.toArray();
@@ -226,7 +226,7 @@ public Object[] listFailedActions(User loggedInUser) {
226226
*/
227227
@ReadOnly
228228
public Object[] listArchivedActions(User loggedInUser) {
229-
// the second argument is "PageControl". This is not needed for the api usage;
229+
// the second argument is "PageControl". This is not needed for the api usage
230230
// therefore, null will be used.
231231
return ActionManager.archivedActions(loggedInUser, null).toArray();
232232
}
@@ -245,7 +245,7 @@ public Object[] listArchivedActions(User loggedInUser) {
245245
*/
246246
@ReadOnly
247247
public Object[] listAllArchivedActions(User loggedInUser) {
248-
// the second argument is "PageControl". This is not needed for the api usage;
248+
// the second argument is "PageControl". This is not needed for the api usage
249249
// therefore, null will be used.
250250
return ActionManager.allArchivedActions(loggedInUser, null).toArray();
251251
}
@@ -268,7 +268,7 @@ public Object[] listAllArchivedActions(User loggedInUser) {
268268
public Object[] listCompletedSystems(User loggedInUser, Integer actionId) {
269269
Long aid = actionId.longValue();
270270
Action action = ActionManager.lookupAction(loggedInUser, aid);
271-
// the third argument is "PageControl". This is not needed for the api usage;
271+
// the third argument is "PageControl". This is not needed for the api usage
272272
// therefore, null will be used.
273273
DataResult<ActionedSystem> dr = ActionManager.completedSystems(loggedInUser, action, null);
274274
dr.elaborate();
@@ -290,7 +290,7 @@ public Object[] listCompletedSystems(User loggedInUser, Integer actionId) {
290290
*/
291291
@ReadOnly
292292
public Object[] listAllCompletedActions(User loggedInUser) {
293-
// the second argument is "PageControl". This is not needed for the api usage;
293+
// the second argument is "PageControl". This is not needed for the api usage
294294
// therefore, null will be used.
295295
return ActionManager.allCompletedActions(loggedInUser, null).toArray();
296296
}
@@ -313,7 +313,7 @@ public Object[] listAllCompletedActions(User loggedInUser) {
313313
public Object[] listInProgressSystems(User loggedInUser, Integer actionId) {
314314
Long aid = actionId.longValue();
315315
Action action = ActionManager.lookupAction(loggedInUser, aid);
316-
// the third argument is "PageControl". This is not needed for the api usage;
316+
// the third argument is "PageControl". This is not needed for the api usage
317317
// therefore, null will be used.
318318
DataResult<ActionedSystem> dr = ActionManager.inProgressSystems(loggedInUser, action, null);
319319
dr.elaborate();
@@ -339,7 +339,7 @@ public Object[] listInProgressSystems(User loggedInUser, Integer actionId) {
339339
public Object[] listFailedSystems(User loggedInUser, Integer actionId) {
340340
Long aid = actionId.longValue();
341341
Action action = ActionManager.lookupAction(loggedInUser, aid);
342-
// the third argument is "PageControl". This is not needed for the api usage;
342+
// the third argument is "PageControl". This is not needed for the api usage
343343
// therefore, null will be used.
344344
DataResult<ActionedSystem> dr = ActionManager.failedSystems(loggedInUser, action, null);
345345
dr.elaborate();

0 commit comments

Comments
 (0)