Please don't forget Eclipse users. It's hard enough to contribute to
Infinispan for non-IDEA users; if you enforce specific style rules, at
the very least provide compatible formatters for the other IDEs or the
barrier for contributors becomes too high.
Galder: to answer your specific question I'd personally say you should
revert the offending commit. I don't know who did it nor who merged
it, but it's just not nice for others that such things get merged
carelessly. Errors can be forgiven, but should be fixed by those who
create the mess ;)
On 16 August 2016 at 16:37, Galder ZamarreƱo <galder(a)redhat.com> wrote:
Hi all,
After integrating [1] I'm getting build errors such as:
[INFO] --- maven-checkstyle-plugin:2.17:checkstyle (checkstyle) @ infinispan-core ---
[INFO] Starting audit...
/home/g/0/infinispan/git/core/src/main/java/org/infinispan/marshall/core/internal/InternalExternalizerTable.java:55:
error: Using the '.*' form of import should be avoided -
org.infinispan.marshall.exts.*.
/home/g/0/infinispan/git/core/src/main/java/org/infinispan/marshall/core/ExternalizerTable.java:76:
error: Using the '.*' form of import should be avoided -
org.infinispan.marshall.exts.*.
/home/g/0/infinispan/git/core/src/test/java/org/infinispan/filter/CompositeKeyValueFilterConverter.java:11:1:
error: Duplicate import to line 10 - org.infinispan.metadata.Metadata.
Even after installing the latest style for IntelliJ [2], reformatting
InternalExternalizerTable.java won't fix those how errors.
So, what do we do? :(
Cheers,
[1]
https://github.com/infinispan/infinispan/commit/313b19301055c6267c6f2ea90...
[2]
https://github.com/infinispan/infinispan/blob/master/ide-settings/intelli...
--
Galder ZamarreƱo
Infinispan, Red Hat
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev