android - Copyright information at top of every class -
i read somewhere on either google or android developer site new code needs have this:
/* * copyright (c) 2013 android open source project * * licensed under apache license, version 2.0 (the "license"); * may not use file except in compliance license. * may obtain copy of license @ * * http://www.apache.org/licenses/license-2.0 * * unless required applicable law or agreed in writing, software * distributed under license distributed on "as is" basis, * without warranties or conditions of kind, either express or implied. * see license specific language governing permissions , * limitations under license. */ at top of every class in project, , these types of comments:
/** * implements listeners , call backs location of user can sought */ in code ease of reference, know forgot bookmark page , cannot find information anywhere, know didn't dream it?
thanks
here's found statement: http://source.android.com/source/code-style.html#use-javadoc-standard-comments
note when contribute android's source code. maintain code base, enforce own style guidelines. if you're writing own app, can use style want.
Comments
Post a Comment