tag:blogger.com,1999:blog-1678953374726316352.post8617580021882917493..comments2019-05-22T13:22:50.297-04:00Comments on Trevor Harrison's blog: Searching for common bugsUnknownnoreply@blogger.comBlogger1125tag:blogger.com,1999:blog-1678953374726316352.post-44604846013461080132007-11-03T17:04:00.000-04:002007-11-03T17:04:00.000-04:00Actually, the correct way to say this is "".equals...Actually, the correct way to say this is "".equals(s). That's because there will be a NullPointerException if s == null the old way, and the Java Language Specification requires s.equals(null) to be always false.Anonymoushttps://www.blogger.com/profile/10599703865282023025noreply@blogger.com