Commit 45c5b364 authored by Ludovic Dubost's avatar Ludovic Dubost
Browse files

Formatting

parent 2f4ab8d8
......@@ -24,7 +24,7 @@
<web>PublicWebSite.Code</web>
<name>BlockColumnsMacro</name>
<language/>
<defaultLanguage>en</defaultLanguage>
<defaultLanguage></defaultLanguage>
<translation>0</translation>
<creator>xwiki:XWiki.Admin</creator>
<creationDate>1514761200000</creationDate>
......
......@@ -24,7 +24,7 @@
<web>PublicWebSite.Code</web>
<name>BlockHeaderMacro</name>
<language/>
<defaultLanguage>en</defaultLanguage>
<defaultLanguage/>
<translation>0</translation>
<creator>xwiki:XWiki.Admin</creator>
<creationDate>1514761200000</creationDate>
......
......@@ -24,7 +24,7 @@
<web>PublicWebSite.Code</web>
<name>BlockLogosMacro</name>
<language/>
<defaultLanguage>en</defaultLanguage>
<defaultLanguage></defaultLanguage>
<translation>0</translation>
<creator>xwiki:XWiki.Admin</creator>
<creationDate>1514761200000</creationDate>
......
......@@ -24,7 +24,7 @@
<web>PublicWebSite.Code</web>
<name>BlockTestimonialMacro</name>
<language/>
<defaultLanguage>en</defaultLanguage>
<defaultLanguage></defaultLanguage>
<translation>0</translation>
<creator>xwiki:XWiki.Admin</creator>
<creationDate>1514761200000</creationDate>
......@@ -42,7 +42,7 @@
<content/>
<attachment>
<filename>quote.png</filename>
<author>xwiki:XWiki.ldubost</author>
<author>xwiki:XWiki.Admin</author>
<date>1528796228000</date>
<version>1.1</version>
<comment/>
......
......@@ -24,7 +24,7 @@
<web>PublicWebSite.Code</web>
<name>BlockTextMacro</name>
<language/>
<defaultLanguage>en</defaultLanguage>
<defaultLanguage></defaultLanguage>
<translation>0</translation>
<creator>xwiki:XWiki.Admin</creator>
<creationDate>1514761200000</creationDate>
......
......@@ -24,7 +24,7 @@
<web>PublicWebSite.Code</web>
<name>Footer</name>
<language/>
<defaultLanguage>en</defaultLanguage>
<defaultLanguage></defaultLanguage>
<translation>0</translation>
<creator>xwiki:XWiki.Admin</creator>
<creationDate>1514761200000</creationDate>
......@@ -107,7 +107,7 @@
{{/velocity}}</content>
<attachment>
<filename>Collaboration.svg</filename>
<author>XWiki.Catalin</author>
<author>xwiki:XWiki.Admin</author>
<date>1528829762000</date>
<version>1.4</version>
<comment/>
......@@ -116,7 +116,7 @@
</attachment>
<attachment>
<filename>Customer Experience XWiki.svg</filename>
<author>XWiki.Catalin</author>
<author>xwiki:XWiki.Admin</author>
<date>1528829762000</date>
<version>1.3</version>
<comment/>
......@@ -125,7 +125,7 @@
</attachment>
<attachment>
<filename>Information Intelligence XWiki.svg</filename>
<author>XWiki.Catalin</author>
<author>xwiki:XWiki.Admin</author>
<date>1528829762000</date>
<version>1.3</version>
<comment/>
......
......@@ -24,7 +24,7 @@
<web>PublicWebSite.Code</web>
<name>TotemSSX</name>
<language/>
<defaultLanguage>fr</defaultLanguage>
<defaultLanguage></defaultLanguage>
<translation>0</translation>
<creator>xwiki:XWiki.Admin</creator>
<creationDate>1514761200000</creationDate>
......
......@@ -24,7 +24,7 @@
<web>PublicWebSite.Code</web>
<name>WebHome</name>
<language/>
<defaultLanguage>en</defaultLanguage>
<defaultLanguage/>
<translation>0</translation>
<creator>xwiki:XWiki.Admin</creator>
<creationDate>1514761200000</creationDate>
......
......@@ -79,7 +79,7 @@ vcalc.png|vcalc.png|Mike Hoolehan - CTO|We've been pleased and impressed with th
</content>
<attachment>
<filename>Collaborate_XWiki.svg</filename>
<author>xwiki:XWiki.ldubost</author>
<author>xwiki:XWiki.Admin</author>
<date>1528796228000</date>
<version>1.1</version>
<comment/>
......@@ -88,7 +88,7 @@ vcalc.png|vcalc.png|Mike Hoolehan - CTO|We've been pleased and impressed with th
</attachment>
<attachment>
<filename>Customize_XWiki.svg</filename>
<author>xwiki:XWiki.ldubost</author>
<author>xwiki:XWiki.Admin</author>
<date>1528796228000</date>
<version>1.1</version>
<comment/>
......@@ -97,7 +97,7 @@ vcalc.png|vcalc.png|Mike Hoolehan - CTO|We've been pleased and impressed with th
</attachment>
<attachment>
<filename>Facilitate_XWiki.svg</filename>
<author>xwiki:XWiki.ldubost</author>
<author>xwiki:XWiki.Admin</author>
<date>1528796228000</date>
<version>1.1</version>
<comment/>
......@@ -106,7 +106,7 @@ vcalc.png|vcalc.png|Mike Hoolehan - CTO|We've been pleased and impressed with th
</attachment>
<attachment>
<filename>Import_Data_XWiki.svg</filename>
<author>xwiki:XWiki.ldubost</author>
<author>xwiki:XWiki.Admin</author>
<date>1528796228000</date>
<version>1.1</version>
<comment/>
......@@ -115,7 +115,7 @@ vcalc.png|vcalc.png|Mike Hoolehan - CTO|We've been pleased and impressed with th
</attachment>
<attachment>
<filename>Organize_XWiki.svg</filename>
<author>xwiki:XWiki.ldubost</author>
<author>xwiki:XWiki.Admin</author>
<date>1528796228000</date>
<version>1.1</version>
<comment/>
......@@ -124,7 +124,7 @@ vcalc.png|vcalc.png|Mike Hoolehan - CTO|We've been pleased and impressed with th
</attachment>
<attachment>
<filename>Streamline_XWiki.svg</filename>
<author>xwiki:XWiki.ldubost</author>
<author>xwiki:XWiki.Admin</author>
<date>1528796228000</date>
<version>1.1</version>
<comment/>
......@@ -133,7 +133,7 @@ vcalc.png|vcalc.png|Mike Hoolehan - CTO|We've been pleased and impressed with th
</attachment>
<attachment>
<filename>Systematize_XWiki.svg</filename>
<author>xwiki:XWiki.ldubost</author>
<author>xwiki:XWiki.Admin</author>
<date>1528796228000</date>
<version>1.1</version>
<comment/>
......@@ -142,7 +142,7 @@ vcalc.png|vcalc.png|Mike Hoolehan - CTO|We've been pleased and impressed with th
</attachment>
<attachment>
<filename>bk_xwiki_community.jpg</filename>
<author>xwiki:XWiki.ldubost</author>
<author>xwiki:XWiki.Admin</author>
<date>1528796228000</date>
<version>1.1</version>
<comment/>
......@@ -151,7 +151,7 @@ vcalc.png|vcalc.png|Mike Hoolehan - CTO|We've been pleased and impressed with th
</attachment>
<attachment>
<filename>ct-unlimited.png</filename>
<author>xwiki:XWiki.ldubost</author>
<author>xwiki:XWiki.Admin</author>
<date>1528796228000</date>
<version>1.1</version>
<comment/>
......@@ -160,7 +160,7 @@ vcalc.png|vcalc.png|Mike Hoolehan - CTO|We've been pleased and impressed with th
</attachment>
<attachment>
<filename>opensourceinit.png</filename>
<author>xwiki:XWiki.ldubost</author>
<author>xwiki:XWiki.Admin</author>
<date>1528796228000</date>
<version>1.1</version>
<comment/>
......@@ -169,7 +169,7 @@ vcalc.png|vcalc.png|Mike Hoolehan - CTO|We've been pleased and impressed with th
</attachment>
<attachment>
<filename>vcalc.png</filename>
<author>xwiki:XWiki.ldubost</author>
<author>xwiki:XWiki.Admin</author>
<date>1528796228000</date>
<version>1.1</version>
<comment/>
......
......@@ -34,7 +34,7 @@
<date>1514761200000</date>
<contentUpdateDate>1514761200000</contentUpdateDate>
<version>1.1</version>
<title>Préférences</title>
<title>$services.localization.render('admin.preferences.title')</title>
<comment/>
<minorEdit>false</minorEdit>
<syntaxId>xwiki/2.1</syntaxId>
......
......@@ -24,7 +24,7 @@
<web>PublicWebSite.XWiki</web>
<name>FooterMenu</name>
<language/>
<defaultLanguage>en</defaultLanguage>
<defaultLanguage/>
<translation>0</translation>
<creator>xwiki:XWiki.Admin</creator>
<creationDate>1514761200000</creationDate>
......@@ -51,7 +51,7 @@
</content>
<attachment>
<filename>Collaboration.svg</filename>
<author>XWiki.Catalin</author>
<author>xwiki:XWiki.Admin</author>
<date>1528829762000</date>
<version>1.4</version>
<comment/>
......@@ -60,7 +60,7 @@
</attachment>
<attachment>
<filename>Customer Experience XWiki.svg</filename>
<author>XWiki.Catalin</author>
<author>xwiki:XWiki.Admin</author>
<date>1528829762000</date>
<version>1.3</version>
<comment/>
......@@ -69,7 +69,7 @@
</attachment>
<attachment>
<filename>Information Intelligence XWiki.svg</filename>
<author>XWiki.Catalin</author>
<author>xwiki:XWiki.Admin</author>
<date>1528829762000</date>
<version>1.3</version>
<comment/>
......
......@@ -24,7 +24,7 @@
<web>PublicWebSite.XWiki</web>
<name>TopMenu</name>
<language/>
<defaultLanguage>en</defaultLanguage>
<defaultLanguage/>
<translation>0</translation>
<creator>xwiki:XWiki.Admin</creator>
<creationDate>1514761200000</creationDate>
......@@ -45,7 +45,7 @@
* [[Company&gt;&gt;PublicWebSite.XWiki.Company]]</content>
<attachment>
<filename>Collaboration.svg</filename>
<author>XWiki.Catalin</author>
<author>xwiki:XWiki.Admin</author>
<date>1528829762000</date>
<version>1.4</version>
<comment/>
......@@ -54,7 +54,7 @@
</attachment>
<attachment>
<filename>Customer Experience XWiki.svg</filename>
<author>XWiki.Catalin</author>
<author>xwiki:XWiki.Admin</author>
<date>1528829762000</date>
<version>1.3</version>
<comment/>
......@@ -63,7 +63,7 @@
</attachment>
<attachment>
<filename>Information Intelligence XWiki.svg</filename>
<author>XWiki.Catalin</author>
<author>xwiki:XWiki.Admin</author>
<date>1528829762000</date>
<version>1.3</version>
<comment/>
......
maven-shared-archive-resources
\ No newline at end of file
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
<!-- Checkstyle properties for XWiki projects -->
<module name="Checker">
<!--
======================================================================================
Checks that do not require a TreeWalker (sorted alphabetically)
======================================================================================
-->
<module name="FileLength"/>
<module name="FileTabCharacter"/>
<!-- We don't use Checkstyle's facility to check license headers since it's too limited for our needs.
Instead we use http://code.google.com/p/maven-license-plugin/
<module name="Header">
<property name="headerFile" value="${checkstyle.header.file}"/>
<property name="ignoreLines" value="4,5,6,7"/>
</module>
-->
<module name="NewlineAtEndOfFile">
<property name="fileExtensions" value="java, xml, js, css, vm"/>
</module>
<module name="NewlineAtEndOfFile">
<property name="lineSeparator" value="crlf"/>
<property name="fileExtensions" value="bat"/>
</module>
<module name="NewlineAtEndOfFile">
<property name="lineSeparator" value="lf"/>
<property name="fileExtensions" value="sh"/>
</module>
<!-- We'd like to use this one but there's no option to exclude our internal packages
<module name="PackageHtml"/>
-->
<!-- No @author tags -->
<module name="RegexpSingleline">
<property name="format" value="@author"/>
<property name="message" value="No @author tag allowed"/>
</module>
<!-- We cannot use this rule as it fails on our license headers, considering them as copy-pastes!
<module name="StrictDuplicateCode"/>
-->
<!-- We actually have a lot of incomplete translations so we can't really afford this rule
<module name="Translation"/>
-->
<!--
======================================================================================
Checks that require a TreeWalker (sorted alphabetically)
======================================================================================
-->
<module name="TreeWalker">
<!-- Note: for some checks we have defined a warning severity instead of the default error
severity. This is because we'd like to make the build fail on error for those checks
but there are errors to fix first -->
<module name="AbstractClassName">
<!-- We need to override the default format since by default classes ending with Factory are considered
abstract and thus need to be defined with the "abstract" keyword. -->
<property name="format" value="^Abstract.*$"/>
</module>
<module name="AnonInnerLength"/>
<!--module name="ArrayTrailingComma"/-->
<module name="ArrayTypeStyle"/>
<!--module name="AvoidInlineConditionals"/-->
<module name="AvoidNestedBlocks"/>
<module name="AvoidStarImport"/>
<module name="BooleanExpressionComplexity"/>
<!-- This is a good metric but checkstyle doesn't allow to remove JDK's base classes
from the new count thus making this check unusable IMO
<module name="ClassDataAbstractionCoupling"/>
-->
<module name="ClassFanOutComplexity">
<property name="excludedClasses" value="boolean, byte, char, double, float, int, long, short, void,
Boolean, Byte, Character, Double, Float, Integer, Long, Short, Void,
Object, Class, String, StringBuffer, StringBuilder,
ArrayIndexOutOfBoundsException, Exception, RuntimeException, IllegalArgumentException, IllegalStateException, IndexOutOfBoundsException, NullPointerException, Throwable, SecurityException, UnsupportedOperationException,
List, ArrayList, Deque, Queue, LinkedList, Set, HashSet, SortedSet, TreeSet, Map, HashMap, SortedMap, TreeMap, Collections, Collection, Arrays,
ConcurrentHashMap, ConcurrentLinkedDeque, ConcurrentLinkedQueue, DelayQueue, FutureTask, LinkedBlockinDeque, LinkedBlockinQueue, Phaser, PriorityBlockingQueue, RejectedExecutionException, SynchronousQueue,
Logger, LoggerFactory, StringUtils, IOUtils,
Inject, Named, Component, Role, Singleton, Unstable"/>
</module>
<module name="ClassTypeParameterName"/>
<module name="ConstantName"/>
<module name="CovariantEquals"/>
<module name="CyclomaticComplexity"/>
<module name="DeclarationOrder"/>
<module name="DefaultComesLast"/>
<!-- The default values for this one allow everything to pass. Unneeded.
<module name="DescendantToken"/>
-->
<!--module name="DesignForExtension"/-->
<module name="EmptyBlock">
<property name="option" value="text"/>
</module>
<module name="EmptyForInitializerPad"/>
<module name="EmptyForIteratorPad"/>
<module name="EmptyStatement"/>
<module name="EqualsHashCode"/>
<module name="ExecutableStatementCount"/>
<module name="ExplicitInitialization"/>
<module name="FallThrough"/>
<module name="FinalClass"/>
<!--module name="FinalLocalVariable"/-->
<!--module name="FinalParameters"/-->
<!-- Avoid finalizers (this will not find violations that contain linebreaks) -->
<module name="RegexpSinglelineJava">
<property name="format" value="((public)|(protected))\s+void\s+finalize\(\s*\)"/>
<property name="message" value="Avoid finalizers"/>
<property name="ignoreComments" value="true"/>
</module>
<module name="HiddenField">
<property name="tokens" value="VARIABLE_DEF"/>
</module>
<module name="HideUtilityClassConstructor"/>
<!--module name="IllegalCatch"/-->
<module name="IllegalImport"/>
<module name="IllegalInstantiation">
<property name="classes" value="java.lang.Boolean"/>
</module>
<module name="IllegalThrows"/>
<!--module name="IllegalToken"/-->
<!--module name="IllegalTokenText"/-->
<module name="IllegalType"/>
<!--module name="ImportControl"/-->
<!--module name="ImportOrder"/-->
<module name="Indentation"/>
<module name="InnerAssignment"/>
<!--module name="InterfaceIsType"/-->
<module name="JavadocMethod">
<property name="scope" value="public"/>
<property name="allowUndeclaredRTE" value="true"/>
</module>
<module name="JavadocStyle"/>
<module name="JavadocType">
<property name="scope" value="public"/>
<property name="versionFormat" value="\$Id.*\$"/>
</module>
<module name="JavadocVariable">
<property name="scope" value="public"/>
</module>
<module name="JavaNCSS"/>
<module name="LeftCurly">
<property name="option" value="nl"/>
<property name="tokens" value="CLASS_DEF,INTERFACE_DEF"/>
</module>
<module name="LineLength">
<!-- @(\w+\.)+\w+::\w+\( stands for JSNI method calls: @my.package.MyClass::myMethod() -->
<property name="ignorePattern" value="(@version|@see|@link|^import|@(\w+\.)+\w+::\w+\()"/>
<property name="max" value="120"/>
</module>
<module name="LocalFinalVariableName"/>
<module name="LocalVariableName"/>
<!--module name="MagicNumber"/-->
<module name="MemberName"/>
<module name="MethodLength"/>
<!-- Allow for UI methods generated by idea -->
<module name="MethodName">
<property name="format" value="^[a-z][a-zA-Z0-9]*$|^\$\$\$setupUI\$\$\$$"/>
</module>
<module name="MethodParamPad"/>
<!--module name="MissingCtor"/-->
<module name="MissingSwitchDefault"/>
<module name="ModifiedControlVariable"/>
<module name="ModifierOrder"/>
<module name="MultipleStringLiterals">
<property name="ignoreStringsRegexp" value='^("")|("[0-9]")|(" ")|("\]")$'/>
</module>
<module name="MultipleVariableDeclarations"/>
<module name="MutableException"/>
<module name="NeedBraces"/>
<module name="NestedIfDepth">
<property name="max" value="2"/>
</module>
<module name="NestedTryDepth"/>
<module name="NoWhitespaceAfter">
<property name="tokens" value="BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS"/>
</module>
<module name="NoWhitespaceBefore"/>
<module name="NPathComplexity"/>
<module name="OperatorWrap"/>
<module name="PackageDeclaration"/>
<module name="PackageName"/>
<module name="ParameterAssignment"/>
<module name="ParameterName"/>
<module name="ParameterNumber"/>
<module name="ParenPad"/>
<module name="RedundantImport"/>
<module name="RedundantModifier"/>
<!-- No direct printing to System.out or System.err -->
<module name="RegexpSinglelineJava">
<!-- . matches any character, so we need to
escape it and use \. to match dots. -->
<property name="format" value="System\.(out|err)\."/>
<property name="ignoreComments" value="true"/>
</module>
<!--module name="Regexp"/-->
<!--module name="RegexpHeader"/-->
<!--module name="RequireThis">
<property name="checkMethods" value="false"/>
</module-->
<!--module name="RequiredRegexp"/-->
<!-- Increasing the maximum number of allowed return statements, as otherwise
the code will simply use workarounds to hide the same amount of exit points. -->
<module name="ReturnCount">
<property name="max" value="5"/>
<property name="maxForVoid" value="5"/>
</module>
<module name="RightCurly"/>
<module name="SimplifyBooleanExpression"/>
<module name="SimplifyBooleanReturn"/>
<module name="StaticVariableName"/>
<module name="StringLiteralEquality"/>
<!-- We allow clone() implementations that don't call super.clone(), since
some of our classes have this call nested in another method. -->
<!--<module name="SuperClone"/>-->
<module name="SuperFinalize"/>
<!--module name="ThrowsCount"-->
<module name="TodoComment">
<property name="severity" value="warning"/>