RSS

Java Boolean Getters Should Use “get” Prefix, not “is”

Sun, Sep 17, 2006    (No Ratings, Click to rate this article!) Loading ... Loading ...

Technology


Interesting, I always wondered about this. According to this blog entry, all getters and setters that are generated should use the “get” prefix for getters, the only time “is” is allowed according to the spec is when generating a getter for a primitive type.

Well, looks like I’ll be cracking open the Refactor > Rename wizards a bit.

Share This on Your Favorite Social Network:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Fark
  • Furl
  • Propeller
  • Reddit
  • Technorati
  • StumbleUpon
  • description
  • MisterWong
  • TwitThis
  • Slashdot
  • SphereIt
, ,

This post was written by:

Riyad Kalla - who has written 1599 posts on The “Break it Down” Blog.

Bringing you summarized technical news, announcement and reviews quickly and to the point.

Leave a Reply