Roberto's Programs which he has posted for our use. DBFileReader. I noticed on the Oracle/Sun Comments a copyright notice should be used as well. Since this goes on top of every file I'd like a good header for submission. I am in the final wrap up. Should be finished by Monday.
Hey champ, this header looks very familiar to me I guess you took it from one of the test classes I created, right?
Champ, this is the header I put in all classes that I submitted. Also, I took the "@(#)" characters from the code conventions example provided by Sun (you can take a look at it here). Also, if you look at Java's source code, you'll find them there as well.
One question regarding copyright. Is this program technically Sun's property even though I authored it? If so, do I need to add their copyright to the file?
Well, this is a tough one. I think that the program is technically theirs, even though you are the developer (I think). But the header you posted is pretty much fine, you don't have to add anything else.
Roel De Nijs wrote:Although "Sun Microsystems, Inc." should be replaced, because that's a non-existing company at this moment...
Well, I'm not sure if we can really say that Sun doesn't exist anymore as a company, but I think it would probably be better to replace the part that says "Sun Microsystems, Inc." by "Oracle Corporation".
Roberto Perillo wrote:Also, I took the "@(#)" characters from the code conventions example provided by Sun (you can take a look at it here). Also, if you look at Java's source code, you'll find them there as well.
Thanks Roberto. That's interesting. I wonder what the significance of those characters are? A quick Google threw up nothing.