Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

[URLyBird 1.1.2] Supplied interface  RSS feed

 
Leszek Zajac
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello.

I have a supplied interface to implement.

Can I change anything in it?
I don't want to add methods, but can I:
1. Change comments to javadoc comments?
2. Indent comments and methods?

The specification says:
"... javadoc style comments must be used for each element of the public interface of each class."
Seems like an inconsitency in specification.
 
Jeroen T Wenting
Ranch Hand
Posts: 1847
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As it's provided in textual form only and not as a sourcefile that should be no problem.
It's the functionality that counts after all...

And you can of course add functionality, just create another interface that extends it
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!