Click here to Skip to main content
15,881,413 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
public void metrics( MGroup mgroup, detail Detail)
{
if (object.isNull(registry)){
LOGGER.info("ERROR:null");
return;
}
string code = Detail.getcode();
if(objects.isNull(code){
LOGGER.debug("code is null)
return;
}

stringbuffer ID= new stringbuffer();
if(objects.nonNull(mgroup.getsummary())){
ID.append(mgroup.getsummary().getprocessor());
ID.append(mgroup.getsummary().getinstitute());
}

if(code.startswith(constants.FILE_1)){
acceptcounter(ID.toString());
}
elseif(code.startswith(constants.FILE_2)){
rejecttcounter(ID.toString());
}
elseif(code.startswith(constants.FILE_3)){
failedcounter(ID.toString());
}
}

What I have tried:

Mine are not valid , please do write the answers
Posted
Comments
Richard MacCutchan 11-May-21 7:12am    
"please do write the answers"
You need to tell us the question.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900