Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #3179
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Stanimir Stamenkov <s7an10@netscape.net> |
| Newsgroups | comp.lang.java.programmer |
| Subject | [OT] Re: Double always returning 0.0 |
| Date | Thu, 21 Apr 2011 07:30:16 +0300 |
| Organization | A noiseless patient Spider |
| Lines | 26 |
| Message-ID | <ioobsn$i15$1@dont-email.me> (permalink) |
| References | <201104182005433244-jasonsavlov@mecom> <iojj2h$4fn$1@news.metronet.hr> <2011041911160346799-jasonsavlov@mecom> <iok936$uh9$2@news.albasani.net> <2011041911200138175-jasonsavlov@mecom> <iokioc$kmi$1@news.albasani.net> <2011042013535527735-jasonsavlov@gmailcom> <slrniqu851.phi.avl@gamma.logic.tuwien.ac.at> <2011042014193994923-jasonsavlov@gmailcom> <ion8m9$oph$1@news.albasani.net> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Thu, 21 Apr 2011 04:30:15 +0000 (UTC) |
| Injection-Info | mx01.eternal-september.org; posting-host="2F9wFk8uhjDHDbuneVzw7g"; logging-data="18469"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+9GShd0Rdn/grXfGH0SroW" |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.2pre) Gecko/20110420 SeaMonkey/2.1pre |
| In-Reply-To | <ion8m9$oph$1@news.albasani.net> |
| X-Face | )>>ChyF_H<b)u~Zjgo/=wa~;=qyW%.F\L.d^fKL[;y\=tY\]M}2t(a^;PKS}9g|k@\vkA<P Q|4?kcJ52334f:CaCrQZ=]D~txPPh6[y{xHkZ+4/KPKZ~|*K#?EqeP0W]iU*Ldy-hyjh0)N4c.I<m) K}GsUUe0)~24Xp`Jt |
| Cancel-Lock | sha1:hlxpUcGJ6ExH1yg4ayZUI9bAkYA= |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:3179 |
Show key headers only | View raw
Wed, 20 Apr 2011 14:29:35 -0400, /Lew/:
> public Cat() {
> super();
> }
>
> The call to the 'super()' constructor is unnecessary, albeit harmless.
I often want the "default" no-args constructor explicitly declared
but I've setup my environment to trigger warning for empty
undocumented blocks like:
public Cat() {
}
so I usually write it as:
public Cat() {
//super();
}
The commented out |super()| call (implicitly done by the compiler)
acting as documentation.
--
Stanimir
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
Double always returning 0.0 Jason S <jasonsavlov@me.com> - 2011-04-18 20:05 -0400
Re: Double always returning 0.0 markspace <-@.> - 2011-04-18 17:43 -0700
Re: Double always returning 0.0 Jim <jkorman@alltel.net> - 2011-04-18 20:11 -0500
Re: Double always returning 0.0 Screamin Lord Byron <scre@min.dot> - 2011-04-19 11:02 +0200
Re: Double always returning 0.0 Jason S <jasonsavlov@me.com> - 2011-04-19 11:16 -0400
Re: Double always returning 0.0 Lew <noone@lewscanon.com> - 2011-04-19 11:18 -0400
Re: Double always returning 0.0 Jason S <jasonsavlov@me.com> - 2011-04-19 11:20 -0400
Re: Double always returning 0.0 Lew <noone@lewscanon.com> - 2011-04-19 11:57 -0400
Re: Double always returning 0.0 Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-04-19 16:04 +0000
Re: Double always returning 0.0 Jason S <jasonsavlov@me.com> - 2011-04-19 17:22 -0400
Re: Double always returning 0.0 Screamin Lord Byron <scre@min.dot> - 2011-04-19 19:08 +0200
Re: Double always returning 0.0 Lew <noone@lewscanon.com> - 2011-04-19 14:03 -0400
Re: Double always returning 0.0 Lew <noone@lewscanon.com> - 2011-04-19 14:06 -0400
Re: Double always returning 0.0 Jason S <jason.savlov@gmail.com> - 2011-04-20 13:53 -0400
Re: Double always returning 0.0 Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-04-20 18:06 +0000
Re: Double always returning 0.0 Lew <noone@lewscanon.com> - 2011-04-20 14:11 -0400
Re: Double always returning 0.0 Jason S <jason.savlov@gmail.com> - 2011-04-20 14:19 -0400
Re: Double always returning 0.0 Lew <noone@lewscanon.com> - 2011-04-20 14:29 -0400
[OT] Re: Double always returning 0.0 Stanimir Stamenkov <s7an10@netscape.net> - 2011-04-21 07:30 +0300
Re: Double always returning 0.0 Screamin Lord Byron <scre@min.dot> - 2011-04-19 19:05 +0200
Re: Double always returning 0.0 Jason S <jasonsavlov@me.com> - 2011-04-19 13:07 -0400
Re: Double always returning 0.0 Roedy Green <see_website@mindprod.com.invalid> - 2011-04-19 16:30 -0700
csiph-web