Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #13425
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!216.196.98.144.MISMATCH!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail |
|---|---|
| NNTP-Posting-Date | Thu, 05 Apr 2012 16:04:52 -0500 |
| Date | Thu, 05 Apr 2012 14:04:39 -0700 |
| From | Patricia Shanahan <pats@acm.org> |
| User-Agent | Thunderbird 1.5.0.2 (Windows/20060308) |
| MIME-Version | 1.0 |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: How to turn off those warning messages during ant build? |
| References | <32649009.2052.1333546152596.JavaMail.geo-discussion-forums@vbsf4> <h6apn71d1mcp6e1cfr6ddr31gavl6d7au7@4ax.com> <15429764.10.1333589060953.JavaMail.geo-discussion-forums@pbae2> <ZdWdndtu2OzTneDSnZ2dnUVZ_q-dnZ2d@earthlink.com> <jlj0kj$imc$1@news.albasani.net> <V%jfr.15578$dq4.14610@newsfe23.iad> |
| In-Reply-To | <V%jfr.15578$dq4.14610@newsfe23.iad> |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Message-ID | <p_qdnRwauqtplePSnZ2dnUVZ_uSdnZ2d@earthlink.com> (permalink) |
| Lines | 37 |
| X-Usenet-Provider | http://www.giganews.com |
| NNTP-Posting-Host | 70.230.201.141 |
| X-Trace | sv3-8Or2ZGPKojlvDI/jk2pkcNYAZsA+SaAW1H6bQNwfJVYan7BzZnkRlqq8DV6hP12K0uDAdqVp21Q26TT!LjBoIic+PppRo4ZM6EwBWkmTjg6hCoPnlsLkeJxYawNuCt46wkZYNfTshd1gVdkufXObc1IeOqvo!j1CyBKIm4Eb1hpzPWvkXMaZrY5uk |
| X-Abuse-and-DMCA-Info | Please be sure to forward a copy of ALL headers |
| X-Abuse-and-DMCA-Info | Otherwise we will be unable to process your complaint properly |
| X-Postfilter | 1.3.40 |
| X-Original-Bytes | 3317 |
| X-Received-Bytes | 3525 |
| Xref | csiph.com comp.lang.java.programmer:13425 |
Show key headers only | View raw
Daniel Pitts wrote: > On 4/4/12 7:39 PM, Lew wrote: ... >> I do not perceive that the OP's understanding is nuanced enough to >> reliably triage warnings that can be suppressed from real trouble. In >> general, warnings represent trouble, and your suggestion to suppress >> them carries risk. In the OP's case, I assess the biggest risk is that >> the technical debt is far deeper than just some raw types. The degree of >> careless that leads "different people" to ignore warnings until there >> are hundreds of them bodes ill indeed for the OP's project. > Well, it could also be that the program was originally written for Java > 1.4. These types of warnings didn't happen in 1.4 because there was no > such thing as raw vs generic types. That was my situation, back when 1.5 came out. My program was warning-free compiled with 1.4. When I switched to 1.5 it got pages of warnings. I needed some time to prepare to fix them, and did not want the generics warnings hiding some other warning. >> >> It's one thing to ignore warnings you inherit from earlier programmers, >> but that doesn't excuse the earlier programmers or solve the problem. > True. Often if I'm working in a source file that has a yellow rash > (warnings show up yellow in my IDE editor), I will spend some time > creating or verifying the Unit tests, and then clean up the warnings. > Even if that source file is "owned" by some other group. > > This approach of course depends on the culture in your shop, and should > be taken with care and tact. And with due attention to the real trade-offs between keeping up to date and staying with a configuration that is working. There are reasons why Oracle's extended support for 1.4.2 does not end until February of next year. I wonder how many programs will be switching from 1.4 to a later JDK during the next few months. We may see this issue again. Patricia
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
How to turn off those warning messages during ant build? zyng <xsli2@yahoo.com> - 2012-04-04 06:29 -0700
Re: How to turn off those warning messages during ant build? Lew <lewbloch@gmail.com> - 2012-04-04 10:54 -0700
Re: How to turn off those warning messages during ant build? Roedy Green <see_website@mindprod.com.invalid> - 2012-04-04 13:05 -0700
Re: How to turn off those warning messages during ant build? Lew <lewbloch@gmail.com> - 2012-04-04 18:24 -0700
Re: How to turn off those warning messages during ant build? Patricia Shanahan <pats@acm.org> - 2012-04-04 19:15 -0700
Re: How to turn off those warning messages during ant build? Lew <noone@lewscanon.com> - 2012-04-04 19:39 -0700
Re: How to turn off those warning messages during ant build? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-04-05 09:46 -0700
Re: How to turn off those warning messages during ant build? Lew <lewbloch@gmail.com> - 2012-04-05 11:42 -0700
Re: How to turn off those warning messages during ant build? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-05 19:46 -0400
Re: How to turn off those warning messages during ant build? Gene Wirchenko <genew@ocis.net> - 2012-04-05 19:35 -0700
Re: How to turn off those warning messages during ant build? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-12 20:27 -0400
Re: How to turn off those warning messages during ant build? Gene Wirchenko <genew@ocis.net> - 2012-04-12 19:29 -0700
Re: How to turn off those warning messages during ant build? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-13 21:07 -0400
Re: How to turn off those warning messages during ant build? Lew <lewbloch@gmail.com> - 2012-04-14 12:53 -0700
Re: How to turn off those warning messages during ant build? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-14 16:16 -0400
Re: How to turn off those warning messages during ant build? Lew <lewbloch@gmail.com> - 2012-04-14 13:37 -0700
Re: How to turn off those warning messages during ant build? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-14 17:29 -0400
Re: How to turn off those warning messages during ant build? Leif Roar Moldskred <leifm@dimnakorr.com> - 2012-04-15 01:25 -0500
Re: How to turn off those warning messages during ant build? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-04-15 10:30 -0300
Re: How to turn off those warning messages during ant build? Leif Roar Moldskred <leifm@dimnakorr.com> - 2012-04-15 11:16 -0500
Re: How to turn off those warning messages during ant build? Arne Vajhøj <arne@vajhoej.dk> - 2012-05-05 20:48 -0400
Re: How to turn off those warning messages during ant build? Gene Wirchenko <genew@ocis.net> - 2012-04-15 19:54 -0700
Re: How to turn off those warning messages during ant build? Arne Vajhøj <arne@vajhoej.dk> - 2012-05-05 20:47 -0400
Re: How to turn off those warning messages during ant build? Gene Wirchenko <genew@ocis.net> - 2012-05-07 09:31 -0700
Re: How to turn off those warning messages during ant build? Gene Wirchenko <genew@ocis.net> - 2012-04-15 19:58 -0700
Re: How to turn off those warning messages during ant build? Arne Vajhøj <arne@vajhoej.dk> - 2012-05-05 20:50 -0400
Re: How to turn off those warning messages during ant build? Gene Wirchenko <genew@ocis.net> - 2012-05-07 09:33 -0700
Re: How to turn off those warning messages during ant build? Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-04-05 22:41 -0400
Re: How to turn off those warning messages during ant build? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-04-06 19:53 -0300
Re: How to turn off those warning messages during ant build? Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-04-06 21:35 -0400
Re: How to turn off those warning messages during ant build? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-12 20:33 -0400
Re: How to turn off those warning messages during ant build? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-04-13 21:16 -0300
Re: How to turn off those warning messages during ant build? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-13 21:03 -0400
Re: How to turn off those warning messages during ant build? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-04-13 22:51 -0300
Re: How to turn off those warning messages during ant build? Arne Vajhøj <arne@vajhoej.dk> - 2012-05-05 20:51 -0400
Re: How to turn off those warning messages during ant build? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-12 20:29 -0400
Re: How to turn off those warning messages during ant build? Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-04-12 21:28 -0400
Re: How to turn off those warning messages during ant build? Arne Vajhøj <arne@vajhoej.dk> - 2012-04-13 21:04 -0400
Re: How to turn off those warning messages during ant build? Patricia Shanahan <pats@acm.org> - 2012-04-05 14:04 -0700
csiph-web