The Source for Java Technology Collaboration
User: Password:



Rich Unger

Rich Unger's Blog

Commonly Solved Problems

Posted by richunger on October 05, 2006 at 05:18 PM | Comments (3)

Google just introduced Code Search, which lets you search "public source code", which I imagine is every OSS project they could lay eyes on. My first search (because I was just looking at the new version of commons-lang), was for "file:StringUtils.java".

There were about 400 hits.

There were even lots of different StringUtils classes in different apache products.  Though, it is clear these numbers are slightly inflated, as different versions of the same file come up.

My, but we love to solve that StringUtils problem :)

Bookmark blog post: del.icio.us del.icio.us Digg Digg DZone DZone Furl Furl Reddit Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment

  • Finally an easy way to find such hidden gems as line 320 of this :)

    Posted by: kirillcool on October 05, 2006 at 10:26 PM

  • This new Code Search is just like Koders: http://www.koders.com/

    it seems google sometimes also copy ideas from third parts ;)

    Posted by: felipegaucho on October 06, 2006 at 02:53 AM

  • Yep, this code search looks great - except that java.net code is not being indexed.

    It's not that surprising. Most search engines won't index dev.java.net pages at all because they're only available through HTTPS.

    Posted by: grlea on October 08, 2006 at 07:46 PM



Only logged in users may post comments. Login Here.


Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds