Re: check the history source code comment

"Oliver Burn" <[email protected]>
Newsgroups gmane.comp.java.audit.checkstyle.user
Message-ID <[email protected]>
Ahh - in that case I still believe the answer is no.

On 3/19/07, Srilakshmanan, Lakshman <
[email protected]> wrote:
>
>  Hi,
>
>
>
> I believe caucabin was asking whether checkstyle could detect duplicate
> code that are commented out. I believe what he is looking for will be the
> feature in CPD (copy and paste detector) but to include line in comments as
> well.
>
>
>
> Thanks
>
> Lakshman
>   ------------------------------
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Oliver Burn
> *Sent:* Monday, 19 March 2007 4:58 PM
> *To:* [email protected]
> *Subject:* Re: [Checkstyle-user] check the history source code comment
>
>
>
> I am not sure I understand the question. If you are asking if Checkstyle
> can check the the commented out code as if it was real code, the answer is
> no.
>
> On 3/19/07, *caucabin caucabin* <[email protected]> wrote:
>
> In source code ,always see like this code:
>
>
>
>     // int size = p_steps.size();
>     // for (int i = 0; i < size; i++)
>
>      final int size = p_steps.size();
>      for (int i = 0; i < size; i++)
>
> The comment part is a history source code,  we can get the history code
> from the  version control tool, and don't want to see it in the code. so if
> have a checker to check this type comment?
> could you give me some suggest ?
>
> Thanks
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Checkstyle-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/checkstyle-user
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Checkstyle-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/checkstyle-user
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Checkstyle-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.