Skip to content

Commit 5bcb8f8

Browse files
committed
Checkstyle: line length fix + other.
1 parent 3dcb143 commit 5bcb8f8

File tree

2 files changed

+45
-2
lines changed

2 files changed

+45
-2
lines changed

src/main/java/com/github/dockerjava/api/command/AuthCmd.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ public interface AuthCmd extends SyncDockerCmd<AuthResponse> {
2121

2222
/**
2323
* @return The status. Based on it's value you may mean you need to authorise your account, e.g.:
24-
* "Account created. Please see the documentation of the registry http://localhost:5000/v1/ for instructions how to activate it."
24+
* "Account created. Please see the documentation of the registry http://localhost:5000/v1/
25+
* for instructions how to activate it."
2526
* @throws UnauthorizedException
2627
* If you're not authorised (e.g. bad password).
2728
*/

src/test/resources/checkstyle/checkstyle-config.xml

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,52 @@
6464
<module name="StaticVariableName"/>
6565
<module name="TypeName"/>
6666

67-
67+
<!-- Checks for imports -->
68+
<!-- See http://checkstyle.sf.net/config_import.html -->
69+
<module name="AvoidStarImport"/>
70+
<module name="IllegalImport"/> <!-- defaults to sun.* packages -->
71+
<module name="RedundantImport"/>
6872
<module name="UnusedImports">
6973
<property name="processJavadoc" value="true"/>
7074
</module>
75+
76+
<!-- IDEA mathcher? uncomment as last commit -->
77+
<!--<module name="ImportOrder">-->
78+
<!--<property name="groups" value="*,javax,java"/>-->
79+
<!--<property name="ordered" value="true"/>-->
80+
<!--<property name="separated" value="false"/>-->
81+
<!--<property name="option" value="bottom"/>-->
82+
<!--<property name="sortStaticImportsAlphabetically" value="true"/>-->
83+
<!--</module>-->
84+
85+
<!--http://checkstyle.sourceforge.net/config_misc.html#Indentation-->
86+
<!-- 220 errors -->
87+
<!--<module name="Indentation"/>-->
88+
89+
<!-- Checks for Size Violations. -->
90+
<!-- See http://checkstyle.sf.net/config_sizes.html -->
91+
<module name="LineLength">
92+
<property name="max" value="140"/>
93+
<property name="ignorePattern" value="^//.*|^package.*|^import.*|a href|href|http://|https://|ftp://"/>
94+
</module>
95+
<module name="MethodLength"/>
96+
<!-- upto @marcuslinke -->
97+
<!--<module name="ParameterNumber"/>-->
98+
99+
<!-- Checks for whitespace -->
100+
<!-- See http://checkstyle.sf.net/config_whitespace.html -->
101+
<module name="EmptyForIteratorPad"/>
102+
<module name="MethodParamPad"/>
103+
<module name="NoWhitespaceAfter"/>
104+
<module name="NoWhitespaceBefore"/>
105+
<module name="OperatorWrap">
106+
<property name="option" value="eol"/>
107+
</module>
108+
<module name="ParenPad"/>
109+
<module name="TypecastParenPad"/>
110+
<module name="WhitespaceAfter"/>
111+
<module name="WhitespaceAround"/>
112+
71113
</module>
72114

73115
</module>

0 commit comments

Comments
 (0)