File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Code style generall Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Reply locked New topic

Code style generall

Gennadi Oreper

Joined: Mar 09, 2006
Posts: 9

Have somebody try to check your code with CheckStyle?

Little questions:
- Is it to pay attention also in e.g. 'choises.txt' that maximum line width is 80?
- If I have any method 'public void doStuff(String value)' checkStyle says, that the parameter should be final declared? Is it needed by String or int?
- at javadoc comments i have a warning: 'line has trailing spaces' (at 2nd line)

What is really important of all it?

Thanks a lot...

_ ____________________ _ <br />SCJP - 1.4<br />SCJD (B&S) - In Progress<br />_ ____________________ _
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Closing this duplicated topic.

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
I agree. Here's the link:
subject: Code style generall
jQuery in Action, 3rd edition