Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #21664

unused statics?

Newsgroups comp.lang.java.programmer
Date 2013-01-24 12:23 -0800
Message-ID <263f14ba-8542-4ec5-9e23-0a91da46e62d@googlegroups.com> (permalink)
Subject unused statics?
From bob smith <bob@coolfone.comze.com>

Show all headers | View raw


So, I found this in one of my classes:

static int ctr = 0;

It turns out it wasn't being used anywhere.  I thought Eclipse would warn
me about this, but it didn't.  I looked thru the options, and I couldn't find anything to change.

Is there any way to get warned about those unused statics?

Thanks.

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

unused statics? bob smith <bob@coolfone.comze.com> - 2013-01-24 12:23 -0800
  Re: unused statics? Lew <lewbloch@gmail.com> - 2013-01-24 12:31 -0800
    Re: unused statics? Arne Vajhøj <arne@vajhoej.dk> - 2013-01-24 15:45 -0500
      Re: unused statics? Patricia Shanahan <pats@acm.org> - 2013-01-24 13:15 -0800
        Re: unused statics? markspace <markspace@nospam.nospam> - 2013-01-24 13:54 -0800
        Re: unused statics? Arne Vajhøj <arne@vajhoej.dk> - 2013-01-24 18:07 -0500
          Re: unused statics? Lew <lewbloch@gmail.com> - 2013-01-24 17:16 -0800
            Re: unused statics? Arne Vajhøj <arne@vajhoej.dk> - 2013-01-24 20:31 -0500
              Re: unused statics? Arne Vajhøj <arne@vajhoej.dk> - 2013-01-24 20:35 -0500
            Re: unused statics? Patricia Shanahan <pats@acm.org> - 2013-01-24 17:38 -0800
            Re: unused statics? Magnus Warker <magnus@mailinator.com> - 2013-01-25 05:29 +0100
            Re: unused statics? lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-01-25 08:42 +0000
          Re: unused statics? Gene Wirchenko <genew@telus.net> - 2013-01-25 09:36 -0800
            Re: unused statics? Arne Vajhøj <arne@vajhoej.dk> - 2013-02-24 17:55 -0500
  Re: unused statics? Arne Vajhøj <arne@vajhoej.dk> - 2013-01-24 15:43 -0500
  Re: unused statics? Roedy Green <see_website@mindprod.com.invalid> - 2013-01-26 02:53 -0800
    Re: unused statics? Arne Vajhøj <arne@vajhoej.dk> - 2013-01-26 16:37 -0500

csiph-web