Quick refactor #2.

keep-around/23b8b9e8830874d5f04b57600c3660bddce1287b
Pingex aka Raphaël 9 years ago
parent a754f46337
commit e1c38102f8

@ -11,7 +11,7 @@ public class AuditResult
/**
* Result code for this audit
*/
private ResultCode opCode;
private ResultCode opcode;
/**
* Details message about what happened. Mostly used with FAIL and WARN opcodes.
@ -25,25 +25,25 @@ public class AuditResult
/**
* Full constructor, with sub audits.
* @param opCode The result code of the operation.
* @param opcode The result code of the operation.
* @param message Optional message, pass `null` for no message.
* @param subAuditsResults A result for each sub audit.
*/
public AuditResult(ResultCode opCode, String message, List<Entry<IAuditComponentProvider, AuditResult>> subAuditsResults)
public AuditResult(ResultCode opcode, String message, List<Entry<IAuditComponentProvider, AuditResult>> subAuditsResults)
{
this.opCode = opCode;
this.opcode = opcode;
this.message = message;
this.subAuditsResults = subAuditsResults;
}
/**
* Constructor without sub audits.
* @param opCode The result code of the operation.
* @param opcode The result code of the operation.
* @param message Optional message, pass `null` for no message.
*/
public AuditResult(ResultCode opCode, String message)
public AuditResult(ResultCode opcode, String message)
{
this.opCode = opCode;
this.opcode = opcode;
this.message = message;
this.subAuditsResults = null;
}
@ -51,9 +51,9 @@ public class AuditResult
/**
* Result code for this audit
*/
public ResultCode getOpCode()
public ResultCode getOpcode()
{
return opCode;
return opcode;
}
/**