Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2007

Tip: Looking for answers? Try searching our database.

RangeCheck Method in java.util.ArrayList

Thread view: 
Muggle - 06 Aug 2007 21:21 GMT
Hello everyone,

I recently went through the source code for the ArrayList.java in
java.util(Java 6).  I noticed a private method with the signature
"private void RangeCheck(int index)".

Why does the name RangeCheck ignore suggested naming convention ? And
what prevents the authors from renaming it properly as it is a private
method ?

Thank you
Muggle.
Arne Vajhøj - 06 Aug 2007 21:49 GMT
> I recently went through the source code for the ArrayList.java in
> java.util(Java 6).  I noticed a private method with the signature
[quoted text clipped - 3 lines]
> what prevents the authors from renaming it properly as it is a private
> method ?

Unless you can get someone from SUN's Java team to comment then
all answers will be guesswork.

My guess is that it is simply a mistake and that it has not
been fixed, because noone has noticed it.

Stuff like that happen all the time in the real world.

Arne


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.