Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #34049
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Eric Sosman <esosman@comcast-dot-net.invalid> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Why does Java argue about making a class instance |
| Date | Mon, 28 Mar 2016 18:30:02 -0400 |
| Organization | A noiseless patient Spider |
| Lines | 13 |
| Message-ID | <ndcb3f$6k6$1@dont-email.me> (permalink) |
| References | <nd6orl$k7m$1@reader1.panix.com> <nd6pps$ee3$1@dont-email.me> <ndbb9g$k7m$3@reader1.panix.com> <ndbv1r$kj1$2@dont-email.me> <f195eaee-53f0-4e78-9409-c99b7bae1126@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Mon, 28 Mar 2016 22:26:55 -0000 (UTC) |
| Injection-Info | mx02.eternal-september.org; posting-host="2d081e2f7155c28005d4472f67c2f43d"; logging-data="6790"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+KfRyfO94UEgAnJdyCi7Yw" |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 |
| In-Reply-To | <f195eaee-53f0-4e78-9409-c99b7bae1126@googlegroups.com> |
| Cancel-Lock | sha1:TSLxwTmMj4Sz0A/+7WqvRA3SB88= |
| Xref | csiph.com comp.lang.java.programmer:34049 |
Show key headers only | View raw
On 3/28/2016 6:17 PM, FredK wrote:
> I don't see why CollectVarsVisitor is even written as an inner class - it does not seem to reference anything in the Main class. Perhaps it should just be a separate class of its own.
It looked to me like it should probably become a static nested
class instead of an inner class. If so, it could do just as well
as an entirely separate top-level class -- but it's so short that
the bother of managing an additional file might not be worth it.
It'd be okay either way, though.
--
esosman@comcast-dot-net.invalid
"Don't be afraid of work. Make work afraid of you." -- TLM
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Why does Java argue about making a class instance Popping mad <rainbow@colition.gov> - 2016-03-26 19:44 +0000
Re: Why does Java argue about making a class instance Joerg Meier <joergmmeier@arcor.de> - 2016-03-26 21:01 +0100
Re: Why does Java argue about making a class instance Popping mad <rainbow@colition.gov> - 2016-03-28 13:19 +0000
Re: Why does Java argue about making a class instance Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-03-28 14:59 -0400
Re: Why does Java argue about making a class instance Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-03-26 16:04 -0400
Re: Why does Java argue about making a class instance Popping mad <rainbow@colition.gov> - 2016-03-28 13:24 +0000
Re: Why does Java argue about making a class instance Arne Vajhøj <arne@vajhoej.dk> - 2016-03-28 09:50 -0400
Re: Why does Java argue about making a class instance Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-03-28 15:04 -0400
Re: Why does Java argue about making a class instance FredK <fred.l.kleinschmidt@gmail.com> - 2016-03-28 15:17 -0700
Re: Why does Java argue about making a class instance Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-03-28 18:30 -0400
Re: Why does Java argue about making a class instance Andreas Leitgeb <avl@logic.at> - 2016-03-26 20:17 +0000
Re: Why does Java argue about making a class instance Arne Vajhøj <arne@vajhoej.dk> - 2016-03-28 10:10 -0400
Re: Why does Java argue about making a class instance Roedy Green <inquiry@mindprod.com> - 2016-06-29 00:56 -0700
csiph-web