java - Check Style Indentation violation - 'public' have incorrect indentation level 4, expected level should be 8 -


i getting checkstyle sonar violation on indendation rule (com.puppycrawl.tools.checkstyle.checks.indentation)

'public' have incorrect indentation level 4, expected level should 8.

at line

    public response getitem(@pathparam(code) final programcode programcode, 

in intelliji, kindly suggest on how change indentation level 8

open preferences (cmd + , on mac, ctrl + alt + s on windows), , go editor -> code style -> java. on tabs , indents spaces can set indents 8.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -