Special Cases
Warnings
// Many tricks for one unused parameter
// CHECKSTYLE:OFF
@SuppressWarnings("unused")
private void addDescription(Type type, Contract contract, String comment) { // NOSONAR
contract.setDescription(createDescription(contract.getType(), comment));
}
// CHECKSTYLE:ONprivate void addDescription(Contract contract, String comment) {
contract.setDescription(createDescription(contract.getType(), comment));
}Logging
Java
Last updated