<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/codenarc/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/codenarc/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 10 Sep 2016 23:56:45 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/codenarc/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>#167 SpaceAfterIf rule generates false warning when if is the first statement in a Spock feature method</title><link>https://sourceforge.net/p/codenarc/bugs/167/?limit=25#1db2</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: Chris Mair&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris Mair</dc:creator><pubDate>Sat, 10 Sep 2016 23:56:45 -0000</pubDate><guid>https://sourceforge.net4124a5e6dc487b8969dc707fd68d09ef42837c2d</guid></item><item><title>#167 SpaceAfterIf rule generates false warning when if is the first statement in a Spock feature method</title><link>https://sourceforge.net/p/codenarc/bugs/167/?limit=25#db90</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I'm going to go ahead and close this. If anyone reproduces this with CodeNarc 0.25 or later, please reopen.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris Mair</dc:creator><pubDate>Sat, 10 Sep 2016 23:56:14 -0000</pubDate><guid>https://sourceforge.net93ccc3a636acad12e18359bbb3807b36239cf15a</guid></item><item><title>#168 MDTM handler support</title><link>https://sourceforge.net/p/codenarc/bugs/168/?limit=25#6c5b</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;ahhhh sorry wrong project, sorry. could someone move it to &lt;a href="https://sourceforge.net/projects/mockftpserver/"&gt;https://sourceforge.net/projects/mockftpserver/&lt;/a&gt; &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin Junker</dc:creator><pubDate>Tue, 12 Jul 2016 07:34:47 -0000</pubDate><guid>https://sourceforge.net662de6f8e568504e3a4db6ebc5182e1bff0e3025</guid></item><item><title>MDTM handler support</title><link>https://sourceforge.net/p/codenarc/bugs/168/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Chris,&lt;br/&gt;
I wanna ask if it's possible to integrate a MDTM (https://tools.ietf.org/html/rfc3659#section-3) Handler. I've added an untested hacky Idea. 211 is not the ReplyCode (I think there is no) and return String is not defined. Please tell me what you think about.&lt;/p&gt;
&lt;p&gt;best regards&lt;br/&gt;
Martin&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;public class MdtmCommandHandler extends AbstractFakeCommandHandler {
        private SimpleDateFormat simpleDateFormat = new SimpleDateFormat("YYYYMMDDhhmmss");

        @Override
        protected void handle(Command command, Session session) {
            verifyLoggedIn(session);

            String path = getRealPath(session, command.getRequiredParameter(0));
            String parent = getFileSystem().getParent(path);

            this.replyCodeForFileSystemException = ReplyCodes.READ_FILE_ERROR;
            verifyFileSystemCondition(getFileSystem().exists(parent), parent, "filesystem.doesNotExist");

            // User must have read permission to the parent directory
            verifyReadPermission(session, parent);

            Date lastModified = getFileSystem().getEntry(path).getLastModified();
            String result = simpleDateFormat.format(lastModified);

            sendReply(session, 211, list(result));
        }
    }
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin Junker</dc:creator><pubDate>Tue, 12 Jul 2016 07:33:29 -0000</pubDate><guid>https://sourceforge.net35582ffd91d5b3d91f20a2899650103295f7ee85</guid></item><item><title>#167 SpaceAfterIf rule generates false warning when if is the first statement in a Spock feature method</title><link>https://sourceforge.net/p/codenarc/bugs/167/?limit=25#5ff6</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I was not able to reproduce with the current CodeNarc codebase (0.25.x) with either Groovy 2.1.8 or 2.4.4. There were significant Groovy-related changes in the more recent versions of CodeNarc, specifically version 0.23. I expect that upgrading CodeNarc may fix this problem.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris Mair</dc:creator><pubDate>Sun, 03 Jul 2016 14:57:09 -0000</pubDate><guid>https://sourceforge.nete34720267e9aeeb51cda3a152c4a4105159e811e</guid></item><item><title>#167 SpaceAfterIf rule generates false warning when if is the first statement in a Spock feature method</title><link>https://sourceforge.net/p/codenarc/bugs/167/?limit=25#e120</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;For what it's worth, that is an error message, rather than a rule violation, so that means CodeNarc experienced an error parsing the source code. I'll take a look when I get a chance.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris Mair</dc:creator><pubDate>Thu, 30 Jun 2016 21:06:01 -0000</pubDate><guid>https://sourceforge.net74749e34ea92d4c53f0458774816f09a5fe8d2e1</guid></item><item><title>SpaceAfterIf rule generates false warning when if is the first statement in a Spock feature method</title><link>https://sourceforge.net/p/codenarc/bugs/167/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The SpaceAfterIf rule generates a false warning when the first statement in a Spock feature method is an if statement. The warning message issues is:&lt;/p&gt;
&lt;p&gt;Error from &lt;span&gt;[org.codenarc.rule.formatting.SpaceAfterIfRule]&lt;/span&gt; processing source file &lt;span&gt;[&amp;lt;fully-qualified-filename&amp;gt;]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;This error message is issued even though there is a single blank space following the if. This bug was found with CodeNarc version 0.21 and Groovy version 2.4.4.&lt;/p&gt;
&lt;p&gt;The following test case can be used to reporduce this problem:&lt;/p&gt;
&lt;p&gt;import org.gradle.api.Project&lt;br/&gt;
import org.gradle.testfixtures.ProjectBuilder&lt;br/&gt;
import spock.lang.Specification&lt;/p&gt;
&lt;p&gt;class CodeNarcTestSpec extends Specification {&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;Project project

def setup() {
    project = ProjectBuilder.builder().build()
}

def 'codeNarcTest'() {
    given:
    if (testVar == 'true') {
        println('testing')
    }

    expect:
    project.name == 'test'

    where:
    testVar &amp;lt;&amp;lt; 'true'
}
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;}&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Keith Wagner</dc:creator><pubDate>Thu, 30 Jun 2016 12:34:27 -0000</pubDate><guid>https://sourceforge.neteb830287d6bd622ffb2b86c601ab2987ef331d8a</guid></item><item><title>SpaceAfterIf rule generates false warning when if is the first statement in a Spock feature method</title><link>https://sourceforge.net/p/codenarc/bugs/167/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 167 has been modified: SpaceAfterIf rule generates false warning when if is the first statement in a Spock feature method&lt;br/&gt;
Edited By: Chris Mair (chrismair)&lt;br/&gt;
Status updated: u'open' =&amp;gt; u'closed'&lt;br/&gt;
Owner updated: None =&amp;gt; u'chrismair'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Keith Wagner</dc:creator><pubDate>Thu, 30 Jun 2016 12:34:27 -0000</pubDate><guid>https://sourceforge.net98abc413c4f6be1b1bea5817202855d06d00f220</guid></item><item><title>#166 Codenarc Ant task skipping files it blows up analyzing</title><link>https://sourceforge.net/p/codenarc/bugs/166/?limit=25#15c6</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Re: making the ignore vs fail behavior for parsing errors configurable. Those errors happen on a separate thread, and so failing the Ant Task on parsing errors would require a non-trivial redesign.&lt;/p&gt;
&lt;p&gt;Is the parsing error that you encountered even valid groovy code (e.g. the backslash following the closing brace)? My original thinking was that syntax/compiler errors would end up getting caught when the code was compiled, and so I was not going to worry too much about that -- but perhaps that was too optimistic. I do acknowledge that there is some subset of parsing errors for which it would be beneficial for CodeNarc to notify/fail.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris Mair</dc:creator><pubDate>Sat, 20 Jun 2015 21:41:49 -0000</pubDate><guid>https://sourceforge.netaad82bcce73a08c260085fc463e0c074e8892bda</guid></item><item><title>#166 Codenarc Ant task skipping files it blows up analyzing</title><link>https://sourceforge.net/p/codenarc/bugs/166/?limit=25#80e6</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Yes, please do open an issue about the SpaceAfterClosingBraceRule error.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris Mair</dc:creator><pubDate>Mon, 01 Jun 2015 21:59:43 -0000</pubDate><guid>https://sourceforge.netde09e0fc08ae7ae02717bfd4e1dd8e5c7f3a4a09</guid></item></channel></rss>