Hey Ted,

FYI, we added trailing spaces check on purpose.  Please open a discussion
rather than making a random decision. If anything our checkstyle is far too
lenient which has led to poor consistency and missing comments.
On Sep 9, 2015 11:18 AM, "Ted Dunning" <ted.dunn...@gmail.com> wrote:

> Checkstyle is clearly being too picky here.
>
> The only problem with spaces at the end of a line is that some tools strip
> them out automagically.  This leads to format changes that make reviews
> (very slightly) more difficult.
>
> I would be willing to fix the checkstyle profile to be less draconian if
> you would be willing to file the JIRA.
>
>
>
> On Wed, Sep 9, 2015 at 5:14 AM, Edmon Begoli <ebeg...@gmail.com> wrote:
>
> > and I am sorry to bug you with this but to me, this was a prefectly
> > formatted javadoc and I was surprised to see build failing on it:
> >
> > /** Abstract class for StorePlugin implementations.
> >  * See StoragePlugin for description of the interface intent and its
> > methods.
> >  */
> > public abstract class AbstractStoragePlugin implements StoragePlugin{
> >   static final org.slf4j.Logger logger =
> > org.slf4j.LoggerFactory.getLogger(AbstractStoragePlugin.class);
> >
> > However, it had a space before the end of the line first line, and
> > checkstyle did not like it. I was using vim, not IDE.
> >
> > I am switching to IDEA ...
> >
> >
> > On Tue, Sep 8, 2015 at 11:48 PM, Edmon Begoli <ebeg...@gmail.com> wrote:
> >
> > > I am running build on my fork, and Maven build is failing on the
> > > checkstyle:
> > >
> > > excerpt ...
> > >
> > > [INFO] --- maven-checkstyle-plugin:2.12.1:check
> (checkstyle-validation) @
> > > drill-java-exec ---
> > >
> > > [INFO] Starting audit...
> > >
> > >
> >
> /Users/ebegoli/drill/exec/java-exec/src/main/java/org/apache/drill/exec/store/AbstractStoragePlugin.java:31:
> > > Line matches the illegal pattern '\s+$'.
> > >
> > >
> >
> /Users/ebegoli/drill/exec/java-exec/src/main/java/org/apache/drill/exec/store/AbstractStoragePlugin.java:33:
> > > Line matches the illegal pattern '\s+$'.
> > >
> > >
> >
> /Users/ebegoli/drill/exec/java-exec/src/main/java/org/apache/drill/exec/store/dfs/easy/EasyFormatPlugin.java:118:
> > > Line matches the illegal pattern '\s+$'.
> > >
> > >
> >
> /Users/ebegoli/drill/exec/java-exec/src/main/java/org/apache/drill/exec/store/StoragePlugin.java:30:
> > > Line matches the illegal pattern '\s+$'.
> > >
> > >
> >
> /Users/ebegoli/drill/exec/java-exec/src/main/java/org/apache/drill/exec/store/StoragePlugin.java:35:
> > > Line matches the illegal pattern '\s+$'.
> > >
> > >
> >
> /Users/ebegoli/drill/exec/java-exec/src/main/java/org/apache/drill/exec/store/StoragePlugin.java:44:
> > > Line matches the illegal pattern '\s+$'.
> > >
> > >
> >
> /Users/ebegoli/drill/exec/java-exec/src/main/java/org/apache/drill/exec/store/StoragePlugin.java:45:
> > > Line matches the illegal pattern '\s+$'.
> > >
> > >
> >
> /Users/ebegoli/drill/exec/java-exec/src/main/java/org/apache/drill/exec/store/StoragePlugin.java:71:
> > > Line matches the illegal pattern '\s+$'.
> > >
> > >
> >
> /Users/ebegoli/drill/exec/java-exec/src/main/java/org/apache/drill/exec/store/StoragePlugin.java:74:
> > > Line matches the illegal pattern '\s+$'.
> > >
> > > Audit done.
> > >
> > > It looks like Javadoc checkstyle if failing. These are included in my
> > pull:
> > >
> > > https://github.com/apache/drill/pull/139
> > >
> > >
> > > Can someone please advise how do I and should I either suppress these
> or
> > > fix the issue.
> > >
> > > It is a properly structured javadoc. Starts with /** and ends with */.
> > >
> > > Not sure what else is required, but I will happy to fix it to make it
> > pass
> > > the checkstyle.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
>

Reply via email to