I would like to follow conventions including that not exceed 80 characters per line.
I downloaded the PDF explaining the naming class, variables, and speaking a bit of wrapping but it's still light.
It is stated: - break after a comma - break before an operator - prefer high level breaks to lower
But how to manage a simple case as this one :
File logDir = new File(PropertiesLoader.getProperty(SpecificConstant.AdminStorageProperty.LOG_FOLDER.getValue()));
I am tempted to wrap after the parenthesis of getProperty.
If we cut before an operator, must we do that for all the following operators? I often see this code:
String value = SpecificConstant
.AdminStorageProperty
.LOG_FOLDER
.getValue();
What is the better way to wrap lines ?
Thank you.