Checkstyle issue
mgursch opened this issue · 3 comments
Hello
i'm checking my project with checkstyle to find code related issues. It is warning me about this
public static final Parcelable.Creator CREATOR = new Parcelable.Creator() {
public ComplaintData createFromParcel( Parcel source ) {return new ComplaintData(source);}
public ComplaintData[] newArray( int size ) {return new ComplaintData[size];}
};
with the following messages:
'return' is not preceded with whitespace.
'{' is not followed by whitespace.
';' is not followed by whitespace.
'}' is not preceded with whitespace.
Is it possible to fix this issues in the plugin ?
Thanks a lot
It's strange. So the code is not formatted at all? IntelliJ should autoformat the code to match style after generation. What checkstyle and intelliJ version are you using?
Hi
ok i found a way to format this with intellj - sorry for the opened issue
thanks for your help
No problem.