tag:blogger.com,1999:blog-5638372.post110988226970638349..comments2023-10-10T05:22:56.347-05:00Comments on binkley's BLOG: When the Java three-part expression is not equivalentBrian Oxleyhttp://www.blogger.com/profile/06617364377560752378noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-5638372.post-1109935333240459732005-03-04T05:22:00.000-06:002005-03-04T05:22:00.000-06:00Hey, thanks! I tried putting the <String, Stri...Hey, thanks! I tried putting the <String, String> in several places but not between the dot add emptyMap(). Cool.Brian Oxleyhttps://www.blogger.com/profile/06617364377560752378noreply@blogger.comtag:blogger.com,1999:blog-5638372.post-1109934571696832372005-03-04T05:09:00.000-06:002005-03-04T05:09:00.000-06:00This is annoying once and then you get used to it....This is annoying once and then you get used to it. The way to fix it? Instead of<br /><br />return -1 == endIndex<br /> ? Collections.emptyMap()<br /> : makeMap(path.substring(endIndex + 1));<br /><br />do this:<br /><br />return -1 == endIndex<br /> ? Collections.<B><String,String></B>emptyMap()<br /> : makeMap(path.substring(endIndex + 1));Anonymousnoreply@blogger.com