The following document contains the results of Checkstyle 6.18 with sun_checks.xml ruleset.
| Category | Rule | Violations | Severity |
|---|---|---|---|
| blocks | EmptyBlock | 1 | Error |
| coding | AvoidInlineConditionals | 3 | Error |
| HiddenField | 16 | Error | |
| InnerAssignment | 1 | Error | |
| MagicNumber | 59 | Error | |
| design | DesignForExtension | 84 | Error |
| javadoc | JavadocMethod | 124 | Error |
| JavadocPackage | 2 | Error | |
| JavadocType | 9 | Error | |
| JavadocVariable | 21 | Error | |
| misc | FinalParameters | 101 | Error |
| NewlineAtEndOfFile | 3 | Error | |
| modifier | RedundantModifier | 1 | Error |
| naming | ConstantName | 2 | Error |
| regexp | RegexpSingleline
|
26 | Error |
| sizes | LineLength | 108 | Error |
| ParameterNumber | 1 | Error | |
| whitespace | FileTabCharacter | 4 | Error |
| WhitespaceAfter | 2 | Error | |
| WhitespaceAround | 4 | Error |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Error | misc | NewlineAtEndOfFile | File does not end with a newline. | |
| Error | javadoc | JavadocType | Missing a Javadoc comment. | 15 |
| Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 18 |
| Error | naming | ConstantName | Name 'text' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 18 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 93). | 19 |
| Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 19 |
| Error | naming | ConstantName | Name 'bytes' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 19 |
| Error | design | DesignForExtension | Method 'wrapNovel' is not designed for extension - needs to be abstract, final or empty. | 21 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 21 |
| Error | coding | MagicNumber | '80' is a magic number. | 24 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 29 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 34 |
| Error | coding | HiddenField | 'bytes' hides a field. | 35 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 90). | 38 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Error | javadoc | JavadocType | Missing a Javadoc comment. | 7 |
| Error | regexp | RegexpSingleline | Line has trailing spaces. | 8 |
| Error | design | DesignForExtension | Method 'testConcat' is not designed for extension - needs to be abstract, final or empty. | 9 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 9 |
| Error | whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 11 |
| Error | coding | MagicNumber | '3' is a magic number. | 14 |
| Error | coding | MagicNumber | '4' is a magic number. | 15 |
| Error | coding | MagicNumber | '3' is a magic number. | 16 |
| Error | coding | MagicNumber | '3' is a magic number. | 17 |
| Error | regexp | RegexpSingleline | Line has trailing spaces. | 19 |
| Error | design | DesignForExtension | Method 'testRightTrim' is not designed for extension - needs to be abstract, final or empty. | 20 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 20 |
| Error | whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 22 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Error | misc | NewlineAtEndOfFile | File does not end with a newline. | |
| Error | javadoc | JavadocPackage | Missing package-info.java file. | |
| Error | javadoc | JavadocType | Missing a Javadoc comment. | 3 |
| Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 5 |
| Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 6 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 8 |
| Error | misc | FinalParameters | Parameter a should be final. | 8 |
| Error | coding | HiddenField | 'a' hides a field. | 8 |
| Error | misc | FinalParameters | Parameter b should be final. | 8 |
| Error | coding | HiddenField | 'b' hides a field. | 8 |
| Error | misc | FinalParameters | Parameter index should be final. | 23 |
| Error | misc | FinalParameters | Parameter start should be final. | 32 |
| Error | misc | FinalParameters | Parameter end should be final. | 32 |
| Error | misc | FinalParameters | Parameter index should be final. | 41 |
| Error | misc | FinalParameters | Parameter start2 should be final. | 46 |
| Error | misc | FinalParameters | Parameter end2 should be final. | 46 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Error | sizes | LineLength | Line is longer than 80 characters (found 99). | 4 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 100). | 9 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 99). | 10 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 100). | 11 |
| Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 31 |
| Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 32 |
| Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 33 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 35 |
| Error | modifier | RedundantModifier | Redundant 'public' modifier. | 35 |
| Error | misc | FinalParameters | Parameter seq should be final. | 35 |
| Error | coding | HiddenField | 'seq' hides a field. | 35 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 39 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 45 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 49 |
| Error | misc | FinalParameters | Parameter target should be final. | 54 |
| Error | coding | AvoidInlineConditionals | Avoid inline conditionals. | 70 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 84). | 74 |
| Error | misc | FinalParameters | Parameter cbuf should be final. | 74 |
| Error | misc | FinalParameters | Parameter off should be final. | 74 |
| Error | misc | FinalParameters | Parameter len should be final. | 74 |
| Error | whitespace | WhitespaceAround | '<' is not followed by whitespace. | 75 |
| Error | whitespace | WhitespaceAround | '<' is not followed by whitespace. | 75 |
| Error | whitespace | WhitespaceAround | '||' is not preceded with whitespace. | 75 |
| Error | misc | FinalParameters | Parameter n should be final. | 90 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 93). | 93 |
| Error | misc | FinalParameters | Parameter readAheadLimit should be final. | 110 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 95). | 111 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Error | misc | NewlineAtEndOfFile | File does not end with a newline. | |
| Error | javadoc | JavadocType | Missing a Javadoc comment. | 24 |
| Error | design | DesignForExtension | Method 'testReadEmptyString' is not designed for extension - needs to be abstract, final or empty. | 26 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 26 |
| Error | design | DesignForExtension | Method 'testReady' is not designed for extension - needs to be abstract, final or empty. | 30 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 30 |
| Error | design | DesignForExtension | Method 'testReadsStringsCorrectly' is not designed for extension - needs to be abstract, final or empty. | 37 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 37 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 97). | 41 |
| Error | design | DesignForExtension | Method 'testMarkAndReset' is not designed for extension - needs to be abstract, final or empty. | 45 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 45 |
| Error | coding | MagicNumber | '5' is a magic number. | 60 |
| Error | coding | MagicNumber | '5' is a magic number. | 60 |
| Error | coding | MagicNumber | '5' is a magic number. | 62 |
| Error | coding | MagicNumber | '5' is a magic number. | 67 |
| Error | design | DesignForExtension | Method 'testIllegalArguments' is not designed for extension - needs to be abstract, final or empty. | 71 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 71 |
| Error | coding | MagicNumber | '10' is a magic number. | 74 |
| Error | coding | MagicNumber | '11' is a magic number. | 76 |
| Error | coding | MagicNumber | '10' is a magic number. | 82 |
| Error | coding | MagicNumber | '11' is a magic number. | 88 |
| Error | coding | MagicNumber | '5' is a magic number. | 94 |
| Error | coding | MagicNumber | '5' is a magic number. | 100 |
| Error | coding | MagicNumber | '11' is a magic number. | 106 |
| Error | design | DesignForExtension | Method 'testMethodsThrowWhenClosed' is not designed for extension - needs to be abstract, final or empty. | 125 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 125 |
| Error | coding | MagicNumber | '10' is a magic number. | 136 |
| Error | coding | MagicNumber | '10' is a magic number. | 142 |
| Error | coding | MagicNumber | '10' is a magic number. | 142 |
| Error | coding | MagicNumber | '10' is a magic number. | 148 |
| Error | coding | MagicNumber | '10' is a magic number. | 154 |
| Error | coding | MagicNumber | '10' is a magic number. | 166 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 82). | 179 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 92). | 183 |
| Error | misc | FinalParameters | Parameter charSequence should be final. | 183 |
| Error | javadoc | JavadocMethod | Expected @param tag for 'charSequence'. | 183 |
| Error | javadoc | JavadocMethod | Expected @throws tag for 'IOException'. | 183 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 88). | 196 |
| Error | coding | AvoidInlineConditionals | Avoid inline conditionals. | 196 |
| Error | coding | MagicNumber | '5' is a magic number. | 202 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 89). | 214 |
| Error | coding | AvoidInlineConditionals | Avoid inline conditionals. | 214 |
| Error | coding | MagicNumber | '5' is a magic number. | 221 |
| Error | coding | MagicNumber | '5' is a magic number. | 237 |
| Error | coding | MagicNumber | '5' is a magic number. | 239 |
| Error | coding | MagicNumber | '5' is a magic number. | 239 |
| Error | coding | MagicNumber | '5' is a magic number. | 241 |
| Error | coding | MagicNumber | '5' is a magic number. | 243 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 87). | 248 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 248 |
| Error | misc | FinalParameters | Parameter reader should be final. | 248 |
| Error | coding | MagicNumber | '10' is a magic number. | 250 |
| Error | coding | MagicNumber | '10' is a magic number. | 250 |
| Error | coding | MagicNumber | '10' is a magic number. | 251 |
| Error | coding | MagicNumber | '10' is a magic number. | 252 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 83). | 255 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 255 |
| Error | misc | FinalParameters | Parameter reader should be final. | 255 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Error | javadoc | JavadocType | Missing a Javadoc comment. | 5 |
| Error | whitespace | WhitespaceAround | '{' is not preceded with whitespace. | 5 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 9 |
| Error | misc | FinalParameters | Parameter e should be final. | 9 |
| Error | regexp | RegexpSingleline | Line has trailing spaces. | 12 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Error | javadoc | JavadocType | Missing a Javadoc comment. | 5 |
| Error | whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 7 |
| Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 7 |
| Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 8 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 10 |
| Error | misc | FinalParameters | Parameter s should be final. | 10 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 14 |
| Error | coding | MagicNumber | '16' is a magic number. | 15 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 18 |
| Error | misc | FinalParameters | Parameter chars should be final. | 18 |
| Error | coding | HiddenField | 'chars' hides a field. | 18 |
| Error | misc | FinalParameters | Parameter length should be final. | 18 |
| Error | coding | HiddenField | 'length' hides a field. | 18 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 23 |
| Error | misc | FinalParameters | Parameter index should be final. | 33 |
| Error | misc | FinalParameters | Parameter start should be final. | 38 |
| Error | misc | FinalParameters | Parameter end should be final. | 38 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 44 |
| Error | misc | FinalParameters | Parameter s should be final. | 44 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 51 |
| Error | misc | FinalParameters | Parameter len should be final. | 51 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 57 |
| Error | misc | FinalParameters | Parameter length should be final. | 57 |
| Error | coding | HiddenField | 'length' hides a field. | 57 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 61 |
| Error | misc | FinalParameters | Parameter ch should be final. | 61 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 67 |
| Error | misc | FinalParameters | Parameter start should be final. | 67 |
| Error | misc | FinalParameters | Parameter end should be final. | 67 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 72 |
| Error | misc | FinalParameters | Parameter start should be final. | 72 |
| Error | misc | FinalParameters | Parameter end should be final. | 72 |
| Error | regexp | RegexpSingleline | Line has trailing spaces. | 83 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Error | javadoc | JavadocPackage | Missing package-info.java file. | |
| Error | javadoc | JavadocType | Missing a Javadoc comment. | 7 |
| Error | whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 9 |
| Error | design | DesignForExtension | Method 'test' is not designed for extension - needs to be abstract, final or empty. | 9 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 9 |
| Error | design | DesignForExtension | Method 'testSetLength' is not designed for extension - needs to be abstract, final or empty. | 15 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 15 |
| Error | design | DesignForExtension | Method 'testDelete' is not designed for extension - needs to be abstract, final or empty. | 22 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 22 |
| Error | design | DesignForExtension | Method 'testAppendChar' is not designed for extension - needs to be abstract, final or empty. | 29 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 29 |
| Error | design | DesignForExtension | Method 'testAppendStringBuilder2' is not designed for extension - needs to be abstract, final or empty. | 36 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 36 |
| Error | design | DesignForExtension | Method 'testBlank' is not designed for extension - needs to be abstract, final or empty. | 44 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 44 |
| Error | design | DesignForExtension | Method 'testCharAt' is not designed for extension - needs to be abstract, final or empty. | 52 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 52 |
| Error | design | DesignForExtension | Method 'testSubsequence' is not designed for extension - needs to be abstract, final or empty. | 60 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 60 |
| Error | coding | MagicNumber | '3' is a magic number. | 63 |
| Error | design | DesignForExtension | Method 'testSubsequence2' is not designed for extension - needs to be abstract, final or empty. | 66 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 66 |
| Error | coding | MagicNumber | '4' is a magic number. | 69 |
| Error | design | DesignForExtension | Method 'testSubsequence3' is not designed for extension - needs to be abstract, final or empty. | 72 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 72 |
| Error | coding | MagicNumber | '6' is a magic number. | 75 |
| Error | design | DesignForExtension | Method 'testSubstring' is not designed for extension - needs to be abstract, final or empty. | 78 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 78 |
| Error | coding | MagicNumber | '4' is a magic number. | 81 |
| Error | design | DesignForExtension | Method 'testRightTrimEmpty' is not designed for extension - needs to be abstract, final or empty. | 84 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 84 |
| Error | design | DesignForExtension | Method 'testRightTrimNoSpace' is not designed for extension - needs to be abstract, final or empty. | 89 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 89 |
| Error | coding | MagicNumber | '3' is a magic number. | 91 |
| Error | design | DesignForExtension | Method 'testRightTrimSpacesOnly' is not designed for extension - needs to be abstract, final or empty. | 94 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 94 |
| Error | design | DesignForExtension | Method 'testRightTrimSpacesAfterLetters' is not designed for extension - needs to be abstract, final or empty. | 99 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 99 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 83). | 101 |
| Error | coding | MagicNumber | '3' is a magic number. | 101 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Error | javadoc | JavadocType | Missing a Javadoc comment. | 24 |
| Error | whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 26 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 26 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 96). | 30 |
| Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 30 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 102). | 32 |
| Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 32 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 99). | 34 |
| Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 34 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 87). | 36 |
| Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 36 |
| Error | regexp | RegexpSingleline | Line has trailing spaces. | 41 |
| Error | misc | FinalParameters | Parameter reader should be final. | 45 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 83). | 50 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 87). | 51 |
| Error | regexp | RegexpSingleline | Line has trailing spaces. | 53 |
| Error | misc | FinalParameters | Parameter resource should be final. | 57 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 85). | 62 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 85). | 63 |
| Error | regexp | RegexpSingleline | Line has trailing spaces. | 65 |
| Error | misc | FinalParameters | Parameter resource should be final. | 70 |
| Error | misc | FinalParameters | Parameter charset should be final. | 70 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 136). | 72 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 82). | 76 |
| Error | regexp | RegexpSingleline | Line has trailing spaces. | 78 |
| Error | misc | FinalParameters | Parameter text should be final. | 82 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 84). | 83 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 87). | 87 |
| Error | regexp | RegexpSingleline | Line has trailing spaces. | 89 |
| Error | misc | FinalParameters | Parameter in should be final. | 93 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 85). | 98 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 82). | 99 |
| Error | regexp | RegexpSingleline | Line has trailing spaces. | 101 |
| Error | misc | FinalParameters | Parameter in should be final. | 106 |
| Error | misc | FinalParameters | Parameter charset should be final. | 106 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 84). | 107 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 85). | 111 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 82). | 112 |
| Error | regexp | RegexpSingleline | Line has trailing spaces. | 114 |
| Error | misc | FinalParameters | Parameter file should be final. | 119 |
| Error | misc | FinalParameters | Parameter charset should be final. | 119 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 121). | 121 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 127 |
| Error | misc | FinalParameters | Parameter reader should be final. | 127 |
| Error | misc | FinalParameters | Parameter close should be final. | 127 |
| Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 136 |
| Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 137 |
| Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 138 |
| Error | coding | MagicNumber | '80' is a magic number. | 138 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 108). | 139 |
| Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 139 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 87). | 140 |
| Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 140 |
| Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 141 |
| Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 142 |
| Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 143 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 145 |
| Error | misc | FinalParameters | Parameter reader should be final. | 145 |
| Error | coding | HiddenField | 'reader' hides a field. | 145 |
| Error | misc | FinalParameters | Parameter closeReader should be final. | 145 |
| Error | coding | HiddenField | 'closeReader' hides a field. | 145 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 96). | 151 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 83). | 152 |
| Error | regexp | RegexpSingleline | Line has trailing spaces. | 154 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 88). | 155 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 96). | 158 |
| Error | misc | FinalParameters | Parameter maxWidth should be final. | 161 |
| Error | coding | HiddenField | 'maxWidth' hides a field. | 161 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 91). | 168 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 93). | 169 |
| Error | regexp | RegexpSingleline | Line has trailing spaces. | 171 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 86). | 172 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 106). | 176 |
| Error | misc | FinalParameters | Parameter stringWidth should be final. | 176 |
| Error | coding | HiddenField | 'stringWidth' hides a field. | 176 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 96). | 182 |
| Error | regexp | RegexpSingleline | Line has trailing spaces. | 184 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 81). | 185 |
| Error | misc | FinalParameters | Parameter newLine should be final. | 188 |
| Error | coding | HiddenField | 'newLine' hides a field. | 188 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 94). | 194 |
| Error | regexp | RegexpSingleline | Line has trailing spaces. | 196 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 88). | 197 |
| Error | misc | FinalParameters | Parameter extraWordChars should be final. | 201 |
| Error | coding | HiddenField | 'extraWordChars' hides a field. | 201 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 94). | 207 |
| Error | regexp | RegexpSingleline | Line has trailing spaces. | 209 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 88). | 210 |
| Error | misc | FinalParameters | Parameter extraWordChars should be final. | 214 |
| Error | coding | HiddenField | 'extraWordChars' hides a field. | 214 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 89). | 219 |
| Error | regexp | RegexpSingleline | Line has trailing spaces. | 221 |
| Error | misc | FinalParameters | Parameter includeWordChars should be final. | 225 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 94). | 232 |
| Error | regexp | RegexpSingleline | Line has trailing spaces. | 234 |
| Error | misc | FinalParameters | Parameter excludeWordChars should be final. | 238 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 91). | 245 |
| Error | regexp | RegexpSingleline | Line has trailing spaces. | 247 |
| Error | misc | FinalParameters | Parameter insertHyphens should be final. | 251 |
| Error | coding | HiddenField | 'insertHyphens' hides a field. | 251 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 96). | 257 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 96). | 258 |
| Error | regexp | RegexpSingleline | Line has trailing spaces. | 260 |
| Error | misc | FinalParameters | Parameter breakWords should be final. | 264 |
| Error | coding | HiddenField | 'breakWords' hides a field. | 264 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 90). | 270 |
| Error | regexp | RegexpSingleline | Line has trailing spaces. | 272 |
| Error | misc | FinalParameters | Parameter out should be final. | 275 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 129). | 277 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 95). | 288 |
| Error | regexp | RegexpSingleline | Line has trailing spaces. | 290 |
| Error | misc | FinalParameters | Parameter file should be final. | 294 |
| Error | misc | FinalParameters | Parameter charset should be final. | 294 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 107). | 295 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 94). | 303 |
| Error | regexp | RegexpSingleline | Line has trailing spaces. | 305 |
| Error | misc | FinalParameters | Parameter file should be final. | 308 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 96). | 313 |
| Error | regexp | RegexpSingleline | Line has trailing spaces. | 315 |
| Error | misc | FinalParameters | Parameter filename should be final. | 318 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 96). | 323 |
| Error | regexp | RegexpSingleline | Line has trailing spaces. | 325 |
| Error | misc | FinalParameters | Parameter filename should be final. | 329 |
| Error | misc | FinalParameters | Parameter charset should be final. | 329 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 91). | 334 |
| Error | regexp | RegexpSingleline | Line has trailing spaces. | 335 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 349 |
| Error | misc | FinalParameters | Parameter reader should be final. | 350 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 358 |
| Error | misc | FinalParameters | Parameter chars should be final. | 358 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 84). | 366 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 366 |
| Error | sizes | ParameterNumber | More than 7 parameters (found 8). | 366 |
| Error | misc | FinalParameters | Parameter in should be final. | 366 |
| Error | misc | FinalParameters | Parameter out should be final. | 366 |
| Error | misc | FinalParameters | Parameter newLine should be final. | 366 |
| Error | misc | FinalParameters | Parameter maxWidth should be final. | 366 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 116). | 367 |
| Error | misc | FinalParameters | Parameter stringWidth should be final. | 367 |
| Error | misc | FinalParameters | Parameter extraWordChars should be final. | 367 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 87). | 368 |
| Error | misc | FinalParameters | Parameter insertHyphens should be final. | 368 |
| Error | misc | FinalParameters | Parameter breakWords should be final. | 368 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 96). | 382 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 81). | 385 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 90). | 389 |
| Error | blocks | EmptyBlock | Must have at least one statement. | 395 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 97). | 402 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 97). | 406 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 115). | 408 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 107). | 417 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 97). | 431 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 136). | 432 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 126). | 433 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 99). | 442 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 82). | 455 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 85). | 460 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 460 |
| Error | misc | FinalParameters | Parameter a should be final. | 460 |
| Error | misc | FinalParameters | Parameter b should be final. | 460 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 464 |
| Error | misc | FinalParameters | Parameter ch should be final. | 464 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 116). | 468 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 468 |
| Error | misc | FinalParameters | Parameter stringWidth should be final. | 468 |
| Error | misc | FinalParameters | Parameter s should be final. | 468 |
| Error | misc | FinalParameters | Parameter maxWidthDouble should be final. | 469 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 473 |
| Error | misc | FinalParameters | Parameter s should be final. | 474 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 490 |
| Error | misc | FinalParameters | Parameter s should be final. | 490 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 499 |
| Error | misc | FinalParameters | Parameter word should be final. | 500 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 514 |
| Error | misc | FinalParameters | Parameter s should be final. | 514 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 88). | 520 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 520 |
| Error | misc | FinalParameters | Parameter line should be final. | 520 |
| Error | misc | FinalParameters | Parameter word should be final. | 520 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 115). | 525 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 525 |
| Error | misc | FinalParameters | Parameter out should be final. | 525 |
| Error | misc | FinalParameters | Parameter word should be final. | 525 |
| Error | misc | FinalParameters | Parameter newLine should be final. | 525 |
| Error | misc | FinalParameters | Parameter insertHyphens should be final. | 525 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 94). | 527 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 118). | 530 |
| Error | coding | InnerAssignment | Inner assignments should be avoided. | 530 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 107). | 545 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 545 |
| Error | misc | FinalParameters | Parameter out should be final. | 545 |
| Error | misc | FinalParameters | Parameter line should be final. | 545 |
| Error | misc | FinalParameters | Parameter newLine should be final. | 545 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| Error | javadoc | JavadocType | Missing a Javadoc comment. | 20 |
| Error | whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 22 |
| Error | design | DesignForExtension | Method 'testLongLineSplitsOnWhiteSpace' is not designed for extension - needs to be abstract, final or empty. | 26 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 26 |
| Error | design | DesignForExtension | Method 'testLongLineTwoSpaces' is not designed for extension - needs to be abstract, final or empty. | 31 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 31 |
| Error | design | DesignForExtension | Method 'testLongLineALotOfWhiteSpace' is not designed for extension - needs to be abstract, final or empty. | 36 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 36 |
| Error | design | DesignForExtension | Method 'testPrecedingWhitespaceConserved' is not designed for extension - needs to be abstract, final or empty. | 41 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 41 |
| Error | design | DesignForExtension | Method 'testPrecedingWhitespaceLongWord' is not designed for extension - needs to be abstract, final or empty. | 46 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 46 |
| Error | design | DesignForExtension | Method 'testWhitespacePreservedAfterNewLine' is not designed for extension - needs to be abstract, final or empty. | 51 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 51 |
| Error | design | DesignForExtension | Method 'testShortLineNoWhitespace' is not designed for extension - needs to be abstract, final or empty. | 56 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 56 |
| Error | design | DesignForExtension | Method 'testShortLineHasWhitespace' is not designed for extension - needs to be abstract, final or empty. | 61 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 61 |
| Error | design | DesignForExtension | Method 'testEmpty' is not designed for extension - needs to be abstract, final or empty. | 66 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 66 |
| Error | design | DesignForExtension | Method 'testOneLetter' is not designed for extension - needs to be abstract, final or empty. | 71 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 71 |
| Error | design | DesignForExtension | Method 'testSpaceThenOneLetter' is not designed for extension - needs to be abstract, final or empty. | 76 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 76 |
| Error | design | DesignForExtension | Method 'testNewLine' is not designed for extension - needs to be abstract, final or empty. | 81 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 81 |
| Error | design | DesignForExtension | Method 'testCarriageRemoved' is not designed for extension - needs to be abstract, final or empty. | 86 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 86 |
| Error | design | DesignForExtension | Method 'testWhitespaceConservedAfterNewLine' is not designed for extension - needs to be abstract, final or empty. | 91 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 91 |
| Error | design | DesignForExtension | Method 'testWrapRightTrimsWhitespaceBeforeNewLine' is not designed for extension - needs to be abstract, final or empty. | 96 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 96 |
| Error | design | DesignForExtension | Method 'testLongWordForcesBreak' is not designed for extension - needs to be abstract, final or empty. | 101 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 101 |
| Error | design | DesignForExtension | Method 'testLongWordForcesBreakNoHyphens' is not designed for extension - needs to be abstract, final or empty. | 106 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 106 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 114). | 108 |
| Error | coding | MagicNumber | '6' is a magic number. | 108 |
| Error | design | DesignForExtension | Method 'breakOnComma' is not designed for extension - needs to be abstract, final or empty. | 111 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 111 |
| Error | design | DesignForExtension | Method 'noHyphenAfterDigits' is not designed for extension - needs to be abstract, final or empty. | 116 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 116 |
| Error | design | DesignForExtension | Method 'breakOnCommas' is not designed for extension - needs to be abstract, final or empty. | 121 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 121 |
| Error | design | DesignForExtension | Method 'longThenShort' is not designed for extension - needs to be abstract, final or empty. | 126 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 126 |
| Error | design | DesignForExtension | Method 'longThenShortWithMoreLines' is not designed for extension - needs to be abstract, final or empty. | 131 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 131 |
| Error | design | DesignForExtension | Method 'testEndWithNewLine' is not designed for extension - needs to be abstract, final or empty. | 136 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 136 |
| Error | design | DesignForExtension | Method 'spaceAndQuestionMark' is not designed for extension - needs to be abstract, final or empty. | 141 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 141 |
| Error | design | DesignForExtension | Method 'dontBreakOnQuestionMark' is not designed for extension - needs to be abstract, final or empty. | 146 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 146 |
| Error | design | DesignForExtension | Method 'testBreakOnQuote' is not designed for extension - needs to be abstract, final or empty. | 151 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 151 |
| Error | design | DesignForExtension | Method 'testBreakQuoteInMiddle' is not designed for extension - needs to be abstract, final or empty. | 156 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 156 |
| Error | design | DesignForExtension | Method 'testBuilder' is not designed for extension - needs to be abstract, final or empty. | 161 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 161 |
| Error | coding | MagicNumber | '6' is a magic number. | 163 |
| Error | design | DesignForExtension | Method 'testShortThenLong' is not designed for extension - needs to be abstract, final or empty. | 166 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 166 |
| Error | design | DesignForExtension | Method 'testLongWhitespaceThenWord' is not designed for extension - needs to be abstract, final or empty. | 171 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 171 |
| Error | design | DesignForExtension | Method 'testLongWhitespaceLastLine' is not designed for extension - needs to be abstract, final or empty. | 176 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 176 |
| Error | design | DesignForExtension | Method 'testLongWhitespaceThenNewLine' is not designed for extension - needs to be abstract, final or empty. | 181 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 181 |
| Error | design | DesignForExtension | Method 'testConserveWhitespace' is not designed for extension - needs to be abstract, final or empty. | 186 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 186 |
| Error | design | DesignForExtension | Method 'testLeftTrimLeadingEmpty' is not designed for extension - needs to be abstract, final or empty. | 195 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 195 |
| Error | design | DesignForExtension | Method 'testLeftTrimLeadingSpaces0' is not designed for extension - needs to be abstract, final or empty. | 202 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 202 |
| Error | design | DesignForExtension | Method 'testLeftTrimLeadingSpaces1' is not designed for extension - needs to be abstract, final or empty. | 209 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 209 |
| Error | design | DesignForExtension | Method 'testLeftTrimLeadingSpaces3' is not designed for extension - needs to be abstract, final or empty. | 216 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 216 |
| Error | design | DesignForExtension | Method 'testRightTrimAtEnd' is not designed for extension - needs to be abstract, final or empty. | 227 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 227 |
| Error | design | DesignForExtension | Method 'testRightTrimNoSpace' is not designed for extension - needs to be abstract, final or empty. | 232 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 232 |
| Error | design | DesignForExtension | Method 'testRightTrimEmpty' is not designed for extension - needs to be abstract, final or empty. | 237 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 237 |
| Error | design | DesignForExtension | Method 'testRightTrimOnlySpace' is not designed for extension - needs to be abstract, final or empty. | 242 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 242 |
| Error | design | DesignForExtension | Method 'testStringWidth' is not designed for extension - needs to be abstract, final or empty. | 251 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 251 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 103). | 253 |
| Error | coding | MagicNumber | '4' is a magic number. | 253 |
| Error | design | DesignForExtension | Method 'testNewLineOverride' is not designed for extension - needs to be abstract, final or empty. | 257 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 257 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 86). | 259 |
| Error | design | DesignForExtension | Method 'testSetWordChars' is not designed for extension - needs to be abstract, final or empty. | 263 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 263 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 92). | 265 |
| Error | design | DesignForExtension | Method 'testIncludeWordChars' is not designed for extension - needs to be abstract, final or empty. | 269 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 269 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 118). | 271 |
| Error | design | DesignForExtension | Method 'testExcludeWordChars' is not designed for extension - needs to be abstract, final or empty. | 275 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 275 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 121). | 277 |
| Error | design | DesignForExtension | Method 'testDontBreakLongWords' is not designed for extension - needs to be abstract, final or empty. | 281 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 281 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 96). | 283 |
| Error | coding | MagicNumber | '6' is a magic number. | 283 |
| Error | design | DesignForExtension | Method 'testDontBreakLongWords2' is not designed for extension - needs to be abstract, final or empty. | 287 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 287 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 95). | 289 |
| Error | coding | MagicNumber | '6' is a magic number. | 289 |
| Error | design | DesignForExtension | Method 'testFromInputStream' is not designed for extension - needs to be abstract, final or empty. | 293 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 293 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 109). | 295 |
| Error | coding | MagicNumber | '6' is a magic number. | 296 |
| Error | design | DesignForExtension | Method 'testFromFile' is not designed for extension - needs to be abstract, final or empty. | 299 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 299 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 106). | 301 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 123). | 302 |
| Error | coding | MagicNumber | '6' is a magic number. | 302 |
| Error | design | DesignForExtension | Method 'testWriterThrows' is not designed for extension - needs to be abstract, final or empty. | 305 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 305 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 93). | 310 |
| Error | misc | FinalParameters | Parameter cbuf should be final. | 310 |
| Error | misc | FinalParameters | Parameter off should be final. | 310 |
| Error | misc | FinalParameters | Parameter len should be final. | 310 |
| Error | design | DesignForExtension | Method 'testWrapToFileThrows' is not designed for extension - needs to be abstract, final or empty. | 326 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 326 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 107). | 328 |
| Error | design | DesignForExtension | Method 'testCloseReaderThrows' is not designed for extension - needs to be abstract, final or empty. | 331 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 331 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 91). | 336 |
| Error | misc | FinalParameters | Parameter cbuf should be final. | 336 |
| Error | misc | FinalParameters | Parameter off should be final. | 336 |
| Error | misc | FinalParameters | Parameter len should be final. | 336 |
| Error | design | DesignForExtension | Method 'testFromFileDoesNotExist' is not designed for extension - needs to be abstract, final or empty. | 347 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 347 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 106). | 349 |
| Error | coding | MagicNumber | '6' is a magic number. | 349 |
| Error | design | DesignForExtension | Method 'testMaxWidthZero' is not designed for extension - needs to be abstract, final or empty. | 352 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 352 |
| Error | design | DesignForExtension | Method 'testWrapToFile' is not designed for extension - needs to be abstract, final or empty. | 357 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 357 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 90). | 360 |
| Error | design | DesignForExtension | Method 'testImportanceOfBeingEarnest' is not designed for extension - needs to be abstract, final or empty. | 368 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 368 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 85). | 370 |
| Error | coding | MagicNumber | '20' is a magic number. | 371 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 88). | 372 |
| Error | design | DesignForExtension | Method 'testTheBlackGang' is not designed for extension - needs to be abstract, final or empty. | 375 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 375 |
| Error | coding | MagicNumber | '20' is a magic number. | 378 |
| Error | design | DesignForExtension | Method 'testTreasureIsland' is not designed for extension - needs to be abstract, final or empty. | 382 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 382 |
| Error | coding | MagicNumber | '80' is a magic number. | 385 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 81). | 386 |
| Error | design | DesignForExtension | Method 'testIsUtilityClass' is not designed for extension - needs to be abstract, final or empty. | 389 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 389 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 394 |
| Error | misc | FinalParameters | Parameter text should be final. | 394 |
| Error | misc | FinalParameters | Parameter expected should be final. | 394 |
| Error | coding | MagicNumber | '6' is a magic number. | 395 |
| Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 400 |
| Error | misc | FinalParameters | Parameter args should be final. | 400 |
| Error | coding | MagicNumber | '128' is a magic number. | 403 |
| Error | coding | MagicNumber | '1024' is a magic number. | 403 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 120). | 404 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 87). | 408 |
| Error | coding | MagicNumber | '80' is a magic number. | 410 |
| Error | coding | MagicNumber | '100' is a magic number. | 413 |
| Error | coding | MagicNumber | '1000' is a magic number. | 414 |
| Error | sizes | LineLength | Line is longer than 80 characters (found 94). | 420 |
| Error | coding | MagicNumber | '1000' is a magic number. | 420 |


NAFED tenders to purchase 100,000 tonnes corn: Trade
The tender closes on December 3 with offers having to remain valid up to December 24.
by ReutersIndian group NAFED has issued an international tender to purchase and import up to 100,000 tonnes of corn (maize), European traders said on Wednesday.
The corn should be sourced from Ukraine, they said.
The tender closes on December 3 with offers having to remain valid up to December 24.


Learning Reflection
What is your long term goal and or career pathway?
Senior Full-Stack Web Developer. I really want to excel at this skill.
Find a great team to work with while being able to learn from them every day.
For every piece of work experience I gain to be as translatable as possible to other jobs in the industry (I'm sure this is the case since we all use similar tools for web dev).
Work on large impactful projects.
What skills (non-technical - human skills) would you like to see
developed
in
yourself while at EDA?
I would like to be much more articulate for my thoughts and ideas.
Connect with people better.
A description of your own strengths and limitations
My strengths: I work well independently, especially once I understand the big picture. But, I also dive into the details and enjoy the analytical side of things - I not afraid to ask alot of questions if something doesn't make sense.
My weaknesses: I sometimes find it difficult to articulate my ideas as concisely as I want to. I don't usually follow the exact guidelines when learning something new. I often like to jump ahead to see what I'm getting into before going back to the earlier steps - I feel much more comfortable after figuring out how all the pieces match up.
Based on the above description, a commitment to how you will manage your
workload in this programme. This should include - an explanation of how you will manage
yourself
to work productively and safely with other learners, facilitators and industry/community
representatives.
For foundations, I will be fine as I have a bit of experience from some short online courses on Udemy. Since I can do this remotely, there are no constraints to when I can focus on this. I really do enjoy it so it won't be a problem.
For tougher tasks, I will be able to hack away at things until I get it right, otherwise there are always other students and facilitators which I will always be willing to ask for help.
For bootcamp, I expect it to be much tougher but I enjoy learning with others, espeically in small groups where I can easily voice my questions and opinions. As long as I can do that, the learning should be even more efficient for me.
I enjoy helping others as it solidifies my knowledge too and this can be easier done in person.
A commitment as to how and where you will seek help in a timely way.
Google, then ask for help ASAP. I should not hold back on questions.
A description of what you expect from the facilitation team:
To be very tolerant on providing help, not just for me, but for other students too as we have a vast range of programming experiences. To help me learn how to learn for myself, and not just to give me an answer.
I have high expectations on the content that we will learn - something more than I can learn from taking online courses byself, something that will definitely help me find a job in the industry.
Any scheduling information such as block-out times when you are
committed to
other things. For example, you might have whanau commitments such as school drop-offs. It’s
important to plan these in.
Nothing during normal office hours, but I compete in national powerlifting, so that training is just as important as this bootcamp to me. I can't always stay late during bootcamp because of this.


A demo of a simple waterfall chart. This Waterfall chart shows declining data and has a total column half way through the data too. It also has a key so you can label the differences between up and down columns. There's also a total column at the end which is optional (but is the default).
 Put this where you want the chart to show up:

This is the code that generates the chart - it should be placed AFTER the

tag:


Some weeks ago, I moved my RootFS on my RaspPi to my trusted Iomega 1 terabit USB HDD because of failing SD cards, and have since used the unused HDD space as a file server and media centre, so all of my music, videos & photos are held there. But then realized that if that drive failed, I've lost the lot, including my emoncms files & backups.
A bit of online searching and I found copy.com which is a online 'cloud' backup service offering 20GB of free 'forever' online storage, owned by Barracuda - the online security & backup experts, and using their own (not rented) servers.
I'm using it now to backup my system - the lot, using their desktop app (gui) but after a bit of digging in their forum, I see that they have just released a client for RaspPi albeit in beta, which will run from the command line, which I'm hoping to integrate and use in preference to the Windows desktop app, especially as uploads are pretty slow compared with local backups. Oh, and they have free mobile apps allowing you to access data on the move.
So why have I posted it in the Sale/Wants/Services forum, well copy.com?r=TYWkfH is an affiliate link which if you signup from that link then both you and I will get an extra 5GB of free storage making it 20Gb instead of the standard 15GB.
If however you don't want to use the affiliate link (and get 15GB) then just visit copy.com directly.
Paul
Re: 20gB free cloud space
By way of update, I've now installed the copy.com client on my Raspberry Pi and made a first sync of a portion of my media files, which went well, so I thought I'd document it here in case anyone wants to try it.
First, download the client, and to run the script;
and that's it, the contents of /mnt/hdd/folder_that_you_want_to_sync should start to sync to your copy.com online account.
It's only a beta client at this time, so maybe a little rough around the edges, but between the Barracuda technical team and the clever guys in this forum, I'm sure that it will develop over time.
Paul
Re: 20gB free cloud space
Hi Paul, I've signed up, looks good. Thanks for the extra info.
John
Re: 20gB free cloud space
Just copied my music collection. its a lot faster that bt cloud.
do we keep the extra 5 gig forever or is it just for so long?
- Jim
Re: 20gB free cloud space
Barracuda have stated;
"Storage gained through our referral program is yours for the lifetime of your account. We will not be revoking any of the bonuses unless a user breaks the terms of our referral program."
So I guess it's your to keep!
By the way, I found this post Daemonize CopyConsole as a Service in Ubuntu Linux which looks useful, although I don't have time to try it at the moment.
Paul
Re: 20gB free cloud space
For info, Barracuda (Copy) have just released a new version of the Raspberry Pi client - v1.40.0148, which appears quite stable and will be published as a GA release as from next week. If you are using the older RaspPi client, it's worth upgrading.
Paul
Re: 20gB free cloud space
I just signed up via your link Paul. Do you get an extra 5GB for each person that joins using your referral link?
Re: 20gB free cloud space
I thought that I had explained this in post #1 of this thread?
Paul


--- layout: post title: "Helmets" ---
This is an argument that’s come up over and over again lately as more Australian cities implement public bike hire programs which are failing.
I’ll state my position again: helmets should not be compulsory for adults. The kind of riding a casual cyclist commuting on a 30kg public bike does is extremely low risk. It’s clear helmets are a barrier to more people cycling while similar programs in helmet-less nations have flourished. The more people cycling, the more demand for cycling infrastructure, the more aware and accepting motorists will be of cyclists and the safer cycling becomes for everyone. It’s simple.
Because I am a glutton for punishment, I read the comments on articles like this one from Wade Wallace and there are two arguments that infuriate me the most.
Yes, the bicycles are the sturdy sit-up and beg type, but they are still vulnerable to what you call the biggest threat: traffic. Well, that’s why I always put my helmet on.
Are we so accustomed to the nanny state that someone would be against a law being repealed because they currently adhere to the law as it makes them feel personally safer? Repealing the law doesn’t mean you’re not allowed to wear a helmet if you want to! Many people would still wear helmets, I would still wear a helmet 99% of the time. Ahh!
Cycle deaths in Australia are numbered each year in the 100s, in the U.K. they number in the 1000s (and are apparently in the increase). Cycle helmets save lives (lots and lots of them) - simple as that.
That is not the argument. No one is arguing that you’re less likely to die in a crash if you’re not wearing a helmet. The argument is that the net safety gain of having many more bikes and less cars on the road, net general health gains of having more people more active and net environmental and societal gains from quiet, safer, zero emission transportation far outweighs the benefit of having a helmet on by law in bike accident situations which, even if the law was repealed, people would be wearing helmets in anyway.


{%extends 'base.html'%} {% block styles %} {{super ()}} {% endblock %} {%block content%}
Subscribe
Enroll to our website.
Get updates on new posts


openNode
this widget provides an "ui-treeList-open
"
style class which opens the node and its parents during widget initialization.
Just decorate a node like this:
Node

Enhance LI items to be selectable applying ui-state-active
style when click
selectable
option specified.
jQuery('.selector').treeList({ selectable: false });
selectable
option, after init.
//getter
var isSelectable = jQuery('.selector').treeList('option', 'selectable');
//setter
jQuery('.selector').treeList('option', 'selectable', false );
This event is triggered when the user clicks an item
onSelect
event as an init option.
jQuery('.selector').treeList({ onSelect: function(e, ui) { ... }});
change
event by type: treeListchange
.
jQuery('.selector').bind('treeListonSelect', function(event, ui) {...});
Remove the treeList functionality completely. This will return the element back to its pre-init state.
Sets selected item/s. If no value is specified, will act as a getter.
Sets nodes to be opened.
Sets nodes to be closed.
This widget uses the jQuery UI CSS Framework to style its look and feel. Use the ThemeRoller tool to create and download custom themes that are easy to build and maintain.
If a deeper level of customization is needed, there are widget-specific classes referenced within the widgetTreeList.css stylesheet that can be modified. These classes are shown below.
.ui-treeList {list-style-type:none;position:relative;margin:0px 0px 0px 0px;padding:5px 5px 5px 5px;}
.ui-treeList ul{list-style-type:none;margin:0px 0px 0px 0px;padding:5px 5px 5px 5px;}
.ui-treeList li {margin:5px 0px 0px 0px;padding:1px 1px 1px 1px;position:relative;}
.ui-treeList li:first-letter {margin:0px 0px 0px 20px;}
.ui-treeList li div.ui-treeList-toggle {width:16px;height:16px;margin:5px 0px 0px 0px;position:absolute;top:0px;left:2px;}
.ui-treeList .ui-treeList-childs {}
.ui-treeList .ui-treeList-open { }
.ui-treeList .ui-treeList-item { }
.ui-treeList .ui-treeList-itemEmpty {height:10px;}
.ui-treeList .ui-sortable-placeholder {border-style:dashed; border-width:thin; min-height:20px;}


Hello from Germany!
Yup, we made it to Germany in one piece! But we’re beyond exhausted so I’m going to keep this short with a brain dump and some thoughts on our first day here.
-
Confession: I actually packed all of the Lululemon I own in my checked suitcase. I wanted to make sure that it didn’t get lost in the ocean somewhere on the way over here with the rest of our stuff. Seriously, that stuff is way too expensive for me to be messing around, haha.
-
Both kids miraculously slept on the plane. Unfortunately, the hubs and I did not. It was hard trying to get comfortable and we were just too excited. The same thing happened before we even left for the country where we couldn’t nap because of how excited we were. And now we’re paying for it. And it doesn’t help that the kids’ schedules are now off.
Oh well, we’ll live. All in the name of a good adventure 😉
-
One of the first things I noticed about Germany is how GREEN it is. And I’m not just talking about it’s vegetation (which is beautiful by the way!). As we were driving to our hotel, we passed numerous wind turbines, solar panels, and noticed that a lot of the homes had skylights for natural light. And so far, out of every place we’ve been to in the short 4 hours that we’ve been here, not a single place has heard of an AC. Not that I’m complaining though, it’s so refreshing to see another country striving to make energy efficient improvements.
-
Speaking of the AC, I can see why most places don’t own one. The weather here has been beautiful! Slightly overcast, zero humidity, a light breeze, and in the low 80′s. I looked it up and apparently the weather here is similar to the Pacific Northwest. Our short trip to Seattle proved how beautiful it was so I’ll take it.
-
I also noticed on the drive that all of the street lights and street signs look very modern. A lot of the buildings look modern as well. And I’ve concluded that Europeans have such a way with styling themselves and their businesses without looking like they’re trying too hard. Everything I’ve seen so far has been an effortless mix of eclectic and modern, and a perfect balance of new and old with a little IKEA thrown in there. I’m a closet decor nerd so needless to say, I’m impressed with everything I’ve seen so far. Do I sound like the blog Young House Love yet? Hah.
-
Every single German we’ve interacted with has been SO friendly! They have big smiles and offer to help and seem very genuine when doing so. The guy loading our bags on to the truck cracked a joke I didn’t get (but I loved his effort haha), the guys at the hotel played with Caleb’s Mickey Mouse, and the women at the restaurant we ate at gave us a complimentary pate dish. Everyone’s been so incredibly nice – it’s such a great way to be welcomed to a new country!
-
By the way, here is this pate I speak of.
Pate is a ground meat combined with fat, spices and sometimes veggies, then ground into a paste and chilled. I’ve never tried it until tonight and it was actually pretty good. Not my favorite and not something I would go out of my way to order, but if it was put in front of me I’d definitely eat it. Then again, I’d eat almost anything put in front of me 😉
- Our first dinner in Germany:
Pretty delish.  Like, holy mother of all things holy, this bread was perfect. Crusty outside, warm, soft and airy inside, and with a slightly sweet after taste. Apparently Germans make all of their bread from scratch using their own wheat and they take bread making very seriously. Well Germans, you definitely win at bread making. YUM.
- We’re definitely hotel hopping. I feel so bad for the kids. We’ve been in 3 different hotels already and we’re being forced to move to yet another hotel tomorrow morning. It’s just how the Army does things.
But I think this is the first time I’ll actually be sad that we’re leaving a hotel. The one we’re staying at tonight is so adorable and charming. Check it out:
- On a random note, two kids crying at the same time is one of the worst and most heart wrenching sounds ever. Yup, that’s my cue to sign out and love on some cute kiddos. We’re up super early tomorrow to drive 4 hours to our final destination, get moved to another hotel, and begin the oh-so-fun 2 week long in processing adventure.
Wish us luck and abschied von Deutschland!
« Amelia’s Birth Story Part II
Natural Nipple Cream For Breastfeeding »


Your customers list
Create items with names, contact information
and locations to speed-up dispatching.
//= template/head.html //= template/head-end.html
//= template/header.html //= template/side-menu.htmlCreate items with names, contact information
and locations to speed-up dispatching.


Pylon
Tassadar’s first gift to Terrans. Without Pylon, nothing else exists. Pylon holders enjoy exposure to all other crystals and get lions share of GPU mining farm proceeds.
Solarite
Solarite is the shining beacon of Tassadar’s glory and generosity and the flagship product of the Golden Armada. Solarite coins are used to fund 1MW+ solar farms to generate additional income.
Kassia Home
First of three Kassia crystals. Despite Terran’s puny life expectancy, they multiply like rats and need dwellings for their offspring. Kassia Home allows holders to receive rental income.
Kassia Hotel
Hotel lets users stay at dwellings other than their original home through cryptocurrency. Also offers special perks. Tassadar finds the need for more than one home wasteful but understands Terrans’ greed.
Kassia Commercial
Commercial will connect with income producing businesses with strong incentives to pay with crypto. Tassadar distributes all profit to users.
Vault
For Terrans looking to build long term wealth. Leverage Tassadar’s ultimate wisdom and automatically farm the most profitable shitcoins. Small tax goes towards Citadel and funding other Golden Armada projects to create further wealth.
Coming Soon


|
XLabs
Cross-platform reusable C# libraries
|
Public Member Functions | |
| FileManager () | |
| Initialized new instance of FileManager using user store for application. More... | |
| FileManager (IsolatedStorageFile isolatedStorageFile) | |
| Initialized new instance of FileManager. More... | |
| bool | DirectoryExists (string path) |
| Directories the exists. More... | |
| void | CreateDirectory (string path) |
| Creates the directory. More... | |
| Stream | OpenFile (string path, FileMode mode, FileAccess access) |
| Opens the file. More... | |
| Stream | OpenFile (string path, FileMode mode, FileAccess access, FileShare share) |
| Opens the file. More... | |
| bool | FileExists (string path) |
| Checks if file exists. More... | |
| DateTimeOffset | GetLastWriteTime (string path) |
| Gets the last write time. More... | |
| void | DeleteFile (string path) |
| Deletes a file. More... | |
| void | DeleteDirectory (string path) |
| Deletes a directory. More... | |
| XLabs.Platform.Services.IO.FileManager.FileManager | ( | ) |
Initialized new instance of FileManager using user store for application.
| XLabs.Platform.Services.IO.FileManager.FileManager | ( | IsolatedStorageFile | isolatedStorageFile | ) |
Initialized new instance of FileManager.
| isolatedStorageFile | Isolated storage file to use. |
| void XLabs.Platform.Services.IO.FileManager.CreateDirectory | ( | string | path | ) |
| void XLabs.Platform.Services.IO.FileManager.DeleteDirectory | ( | string | path | ) |
Deletes a directory.
| path | Path to the directory. |
Implements XLabs.Platform.Services.IO.IFileManager.
| void XLabs.Platform.Services.IO.FileManager.DeleteFile | ( | string | path | ) |
Deletes a file.
| path | Path to the file. |
Implements XLabs.Platform.Services.IO.IFileManager.
| bool XLabs.Platform.Services.IO.FileManager.DirectoryExists | ( | string | path | ) |
Directories the exists.
| path | The path. |
true
if XXXX, false
otherwise.Implements XLabs.Platform.Services.IO.IFileManager.
| bool XLabs.Platform.Services.IO.FileManager.FileExists | ( | string | path | ) |
Checks if file exists.
| path | The path. |
true
if file exists, false
otherwise.Implements XLabs.Platform.Services.IO.IFileManager.
| DateTimeOffset XLabs.Platform.Services.IO.FileManager.GetLastWriteTime | ( | string | path | ) |
Gets the last write time.
| path | The path. |
Implements XLabs.Platform.Services.IO.IFileManager.
| Stream XLabs.Platform.Services.IO.FileManager.OpenFile | ( | string | path, |
| FileMode | mode, | ||
| FileAccess | access | ||
| ) |
Opens the file.
| path | The path. |
| mode | The mode. |
| access | The access. |
Implements XLabs.Platform.Services.IO.IFileManager.
| Stream XLabs.Platform.Services.IO.FileManager.OpenFile | ( | string | path, |
| FileMode | mode, | ||
| FileAccess | access, | ||
| FileShare | share | ||
| ) |
Opens the file.
| path | The path. |
| mode | The mode. |
| access | The access. |
| share | The share. |
Implements XLabs.Platform.Services.IO.IFileManager.


The validation package in CakePHP provides features to build validators that can validate arbitrary arrays of data with ease. You can find a list of available Validation rules in the API.
Cake\Validation\
Validator
¶Validator objects define the rules that apply to a set of fields. Validator objects contain a mapping between fields and validation sets. In turn, the validation sets contain a collection of rules that apply to the field they are attached to. Creating a validator is simple:
use Cake\Validation\Validator;
$validator = new Validator();
Once created, you can start defining sets of rules for the fields you want to validate:
$validator
->requirePresence('title')
->notEmpty('title', 'Please fill this field')
->add('title', [
'length' => [
'rule' => ['minLength', 10],
'message' => 'Titles need to be at least 10 characters long',
]
])
->allowEmpty('published')
->add('published', 'boolean', [
'rule' => 'boolean'
])
->requirePresence('body')
->add('body', 'length', [
'rule' => ['minLength', 50],
'message' => 'Articles must have a substantial body.'
]);
As seen in the example above, validators are built with a fluent interface that allows you to define rules for each field you want to validate.
There were a few methods called in the example above, so let’s go over the
various features. The add()
method allows you to add new rules to
a validator. You can either add rules individually or in groups as seen above.
The requirePresence()
method requires the field to be present in any
validated array. If the field is absent, validation will fail. The
requirePresence()
method has 4 modes:
true
The field’s presence is always required.false
The field’s presence is not required.create
The field’s presence is required when validating a create
operation.update
The field’s presence is required when validating an update
operation.By default, true
is used. Key presence is checked by using
array_key_exists()
so that null values will count as present. You can set
the mode using the second parameter:
$validator->requirePresence('author_id', 'create');
If you have multiple fields that are required, you can define them as a list:
// Define multiple fields for create
$validator->requirePresence(['author_id', 'title'], 'create');
// Define multiple fields for mixed modes
$validator->requirePresence([
'author_id' => [
'mode' => 'create',
'message' => 'An author is required.',
],
'published' => [
'mode' => 'update',
'message' => 'The published state is required.',
]
]);
New in version 3.3.0: requirePresence()
accepts an array of fields as of 3.3.0
The allowEmpty()
and notEmpty()
methods allow you to control which
fields are allowed to be ‘empty’. By using the notEmpty()
method, the given
field will be marked invalid when it is empty. You can use allowEmpty()
to
allow a field to be empty. Both allowEmpty()
and notEmpty()
support a
mode parameter that allows you to control when a field can or cannot be empty:
false
The field is not allowed to be empty.create
The field can be empty when validating a create
operation.update
The field can be empty when validating an update
operation.The values ''
, null
and []
(empty array) will cause validation
errors when fields are not allowed to be empty. When fields are allowed to be
empty, the values ''
, null
, false
, []
, 0
, '0'
are
accepted.
An example of these methods in action is:
$validator->allowEmpty('published')
->notEmpty('title', 'Title cannot be empty')
->notEmpty('body', 'Body cannot be empty', 'create')
->allowEmpty('header_image', 'update');
When fields have multiple rules, each validation rule will be run even if the
previous one has failed. This allows you to collect as many validation errors as
you can in a single pass. However, if you want to stop execution after
a specific rule has failed, you can set the last
option to true
:
$validator = new Validator();
$validator
->add('body', [
'minLength' => [
'rule' => ['minLength', 10],
'last' => true,
'message' => 'Comments must have a substantial body.'
],
'maxLength' => [
'rule' => ['maxLength', 250],
'message' => 'Comments cannot be too long.'
]
]);
If the minLength rule fails in the example above, the maxLength rule will not be run.
Since 3.2, the Validator object has a number of new methods that make building validators less verbose. For example adding validation rules to a username field can now look like:
$validator = new Validator();
$validator
->email('username')
->ascii('username')
->lengthBetween('username', [4, 8]);
The Validator
, ValidationSet
and ValidationRule
classes do not
provide any validation methods themselves. Validation rules come from
‘providers’. You can bind any number of providers to a Validator object.
Validator instances come with a ‘default’ provider setup automatically. The
default provider is mapped to the Validation\Validation
class. This makes it simple to use the methods on that class as validation
rules. When using Validators and the ORM together, additional providers are
configured for the table and entity objects. You can use the setProvider()
method to add any additional providers your application needs:
$validator = new Validator();
// Use an object instance.
$validator->setProvider('custom', $myObject);
// Use a class name. Methods must be static.
$validator->setProvider('custom', 'App\Model\Validation');
Validation providers can be objects, or class names. If a class name is used the
methods must be static. To use a provider other than ‘default’, be sure to set
the provider
key in your rule:
// Use a rule from the table provider
$validator->add('title', 'custom', [
'rule' => 'customTableMethod',
'provider' => 'table'
]);
If you wish to add a provider
to all Validator
objects that are created
in the future, you can use the addDefaultProvider()
method as follows:
use Cake\Validation\Validator;
// Use an object instance.
Validator::addDefaultProvider('custom', $myObject);
// Use a class name. Methods must be static.
Validator::addDefaultProvider('custom', 'App\Model\Validation');
Note
DefaultProviders must be added before the Validator
object is created
therefore config/bootstrap.php is the best place to set up your
default providers.
New in version 3.5.0.
You can use the Localized plugin to get providers based on countries. With this plugin, you’ll be able to validate model fields, depending on a country, ie:
namespace App\Model\Table;
use Cake\ORM\Table;
use Cake\Validation\Validator;
class PostsTable extends Table
{
public function validationDefault(Validator $validator)
{
// add the provider to the validator
$validator->setProvider('fr', 'Localized\Validation\FrValidation');
// use the provider in a field validation rule
$validator->add('phoneField', 'myCustomRuleNameForPhone', [
'rule' => 'phone',
'provider' => 'fr'
]);
return $validator;
}
}
The localized plugin uses the two letter ISO code of the countries for validation, like en, fr, de.
There are a few methods that are common to all classes, defined through the ValidationInterface interface:
phone() to check a phone number
postal() to check a postal code
personId() to check a country specific person ID
In addition to using methods coming from providers, you can also use any callable, including anonymous functions, as validation rules:
// Use a global function
$validator->add('title', 'custom', [
'rule' => 'validate_title',
'message' => 'The title is not valid'
]);
// Use an array callable that is not in a provider
$validator->add('title', 'custom', [
'rule' => [$this, 'method'],
'message' => 'The title is not valid'
]);
// Use a closure
$extra = 'Some additional value needed inside the closure';
$validator->add('title', 'custom', [
'rule' => function ($value, $context) use ($extra) {
// Custom logic that returns true/false
},
'message' => 'The title is not valid'
]);
// Use a rule from a custom provider
$validator->add('title', 'custom', [
'rule' => 'customRule',
'provider' => 'custom',
'message' => 'The title is not unique enough'
]);
Closures or callable methods will receive 2 arguments when called. The first will be the value for the field being validated. The second is a context array containing data related to the validation process:
If you need to pass additional data to your validation methods such as the current user’s id, you can use a custom dynamic provider from your controller.
$this->Examples->validator('default')->provider('passed', [
'count' => $countFromController,
'userid' => $this->Auth->user('id')
]);
Then ensure that your validation method has the second context parameter.
public function customValidationMethod($check, array $context)
{
$userid = $context['providers']['passed']['userid'];
}
When defining validation rules, you can use the on
key to define when
a validation rule should be applied. If left undefined, the rule will always be
applied. Other valid values are create
and update
. Using one of these
values will make the rule apply to only create or update operations.
Additionally, you can provide a callable function that will determine whether or not a particular rule should be applied:
$validator->add('picture', 'file', [
'rule' => ['mimeType', ['image/jpeg', 'image/png']],
'on' => function ($context) {
return !empty($context['data']['show_profile_picture']);
}
]);
You can access the other submitted field values using the $context['data']
array.
The above example will make the rule for ‘picture’ optional depending on whether
the value for show_profile_picture
is empty. You could also use the
uploadedFile
validation rule to create optional file upload inputs:
$validator->add('picture', 'file', [
'rule' => ['uploadedFile', ['optional' => true]],
]);
The allowEmpty()
, notEmpty()
and requirePresence()
methods will also
accept a callback function as their last argument. If present, the callback
determines whether or not the rule should be applied. For example, a field is
sometimes allowed to be empty:
$validator->allowEmpty('tax', function ($context) {
return !$context['data']['is_taxable'];
});
Likewise, a field can be required to be populated when certain conditions are met:
$validator->notEmpty('email_frequency', 'This field is required', function ($context) {
return !empty($context['data']['wants_newsletter']);
});
In the above example, the email_frequency
field cannot be left empty if the
the user wants to receive the newsletter.
Further it’s also possible to require a field to be present under certain conditions only:
$validator->requirePresence('full_name', function ($context) {
if (isset($context['data']['action'])) {
return $context['data']['action'] === 'subscribe';
}
return false;
});
$validator->requirePresence('email');
This would require the full_name
field to be present only in case the user
wants to create a subscription, while the email
field would always be
required, since it would also be needed when canceling a subscription.
New in version 3.1.1: The callable support for requirePresence()
was added in 3.1.1
New in version 3.0.5.
When validating Modelless Forms with nested data, or when working with models that contain array data types, it is necessary to validate the nested data you have. CakePHP makes it simple to add validators to specific attributes. For example, assume you are working with a non-relational database and need to store an article and its comments:
$data = [
'title' => 'Best article',
'comments' => [
['comment' => '']
]
];
To validate the comments you would use a nested validator:
$validator = new Validator();
$validator->add('title', 'not-blank', ['rule' => 'notBlank']);
$commentValidator = new Validator();
$commentValidator->add('comment', 'not-blank', ['rule' => 'notBlank']);
// Connect the nested validators.
$validator->addNestedMany('comments', $commentValidator);
// Get all errors including those from nested validators.
$validator->errors($data);
You can create 1:1 ‘relationships’ with addNested()
and 1:N ‘relationships’
with addNestedMany()
. With both methods, the nested validator’s errors will
contribute to the parent validator’s errors and influence the final result.
While defining validators inline where they are used makes for good example
code, it doesn’t lead to maintainable applications. Instead, you should
create Validator
sub-classes for your reusable validation logic:
// In src/Model/Validation/ContactValidator.php
namespace App\Model\Validation;
use Cake\Validation\Validator;
class ContactValidator extends Validator
{
public function __construct()
{
parent::__construct();
// Add validation rules here.
}
}
Now that you’ve created a validator and added the rules you want to it, you can start using it to validate data. Validators are able to validate array data. For example, if you wanted to validate a contact form before creating and sending an email you could do the following:
use Cake\Validation\Validator;
$validator = new Validator();
$validator
->requirePresence('email')
->add('email', 'validFormat', [
'rule' => 'email',
'message' => 'E-mail must be valid'
])
->requirePresence('name')
->notEmpty('name', 'We need your name.')
->requirePresence('comment')
->notEmpty('comment', 'You need to give a comment.');
$errors = $validator->errors($this->request->getData());
if (empty($errors)) {
// Send an email.
}
The errors()
method will return a non-empty array when there are validation
failures. The returned array of errors will be structured like:
$errors = [
'email' => ['E-mail must be valid']
];
If you have multiple errors on a single field, an array of error messages will
be returned per field. By default the errors()
method applies rules for
the ‘create’ mode. If you’d like to apply ‘update’ rules you can do the
following:
$errors = $validator->errors($this->request->getData(), false);
if (empty($errors)) {
// Send an email.
}
Note
If you need to validate entities you should use methods like
ORM\Table::newEntity()
,
ORM\Table::newEntities()
,
ORM\Table::patchEntity()
,
ORM\Table::patchEntities()
or
ORM\Table::save()
as they are designed for that.
While entities are validated as they are saved, you may also want to validate
entities before attempting to do any saving. Validating entities before
saving is done automatically when using the newEntity()
, newEntities()
,
patchEntity()
or patchEntities()
:
// In the ArticlesController class
$article = $this->Articles->newEntity($this->request->getData());
if ($article->errors()) {
// Do work to show error messages.
}
Similarly, when you need to pre-validate multiple entities at a time, you can
use the newEntities()
method:
// In the ArticlesController class
$entities = $this->Articles->newEntities($this->request->getData());
foreach ($entities as $entity) {
if (!$entity->errors()) {
$this->Articles->save($entity);
}
}
The newEntity()
, patchEntity()
, newEntities()
and patchEntities()
methods allow you to specify which associations are validated, and which
validation sets to apply using the options
parameter:
$valid = $this->Articles->newEntity($article, [
'associated' => [
'Comments' => [
'associated' => ['User'],
'validate' => 'special',
]
]
]);
Validation is commonly used for user-facing forms or interfaces, and thus it is not limited to only validating columns in the table schema. However, maintaining integrity of data regardless where it came from is important. To solve this problem CakePHP offers a second level of validation which is called “application rules”. You can read more about them in the Applying Application Rules section.
CakePHP provides a basic suite of validation methods in the Validation
class. The Validation class contains a variety of static methods that provide
validators for several common validation situations.
The API documentation for the
Validation
class provides a good list of the validation rules that are
available, and their basic usage.
Some of the validation methods accept additional parameters to define boundary conditions or valid options. You can provide these boundary conditions and options as follows:
$validator = new Validator();
$validator
->add('title', 'minLength', [
'rule' => ['minLength', 10]
])
->add('rating', 'validValue', [
'rule' => ['range', 1, 5]
]);
Core rules that take additional parameters should have an array for the
rule
key that contains the rule as the first element, and the additional
parameters as the remaining parameters.


Remove your CCJ and respond to the claim
You must pay a £255 fee to remove a CCJ against you. This is called 'setting aside' the CCJ.
You'll need to explain why you
You'll probably go to a hearing. You'll still have the CCJ until then.
If your request is successful
The will CCJ removed and you'll have to respond to the claim against you.
You probably won't get the £255 fee back.
If your request isn't successful
You will have to pay Mrs Jan Clark the full £1500 in the claim.
You won't get the £255 fee back and your CCJ will remain for 6 years.


{% extends "layout.html" %} {% block page_title %}{{ super() }} item {% endblock %} {% block css %} {{ super() }} {% endblock %} {% block content %}
Shop Name
This product was great in terms of quality. I would definitely buy another!
I've alredy ordered another one!
I've seen some better than this, but not at this price. I definitely recommend this item.


Welcome to Bri's Projects
Here is Alexis.
Here is Samarria.
Here is a picture from the X-games.
Here are some greatest athletes on the Planet
Is the Olympics on?
We are Brooklyn Projects. You find the freshet gear.
Here is Alana.
Here is Alexis.
Here is Samarria.
Here is a picture from the X-games.
Is the Olympics on?
We are Brooklyn Projects. You find the freshet gear.
Here is Alana.


Review your allocation
This statement is for the 2017 to 2018 academic year and provides detail of the 16 to 19 allocation funding you receive.
This statement is for the 2017 to 2018 academic year and provides detail of the 16 to 19 allocation funding you receive.


■ Payment will be charged to iTunes Account at confirmation of purchase.
■ Subscription automatically renews unless auto-renew is turned off at least 24-hours before the end of the current period.
■ Account will be charged for renewal within 24-hours prior to the end of the current period.
■ Subscriptions may be managed by the user and auto-renewal may be turned off by going to the user's Account Settings after purchase.
■ Read our terms of service here.
■ Read our privacy policy here.


| ${value} Active Energy Cost per Second | 0.5 |
| ${value}% Reduced Damage for ${duration} Second(s) | min: [10.0, 15.0, 18.0, 22.0, 25.0, 29.0, 32.0, 36.0, 39.0, 41.0, 43.0, 45.0]% Reduced Damage for min: 1.0 Second(s) |
| +${value}% Armor Absorption | -11 -15 -18 -22 -25 -29 -32 -36 -39 -41 -43 -45 |
| MaxLevel | 8 |
| UltimateLevel | 12 |


Shipments
Search
{{freightmilestone.milestonesNext.CompletedMilestoneDescription}}
{{freightmilestone.milestonesNext.CompletedActualDate}}
{{freightmilestone.milestonesNext.NextMilestoneDescription}}
{{(freightmilestone.ShipmentRef)}}
Mode: {{(freightmilestone.TransportMode) || '-'}}
Order Refs
{{this.global.ensureCommasSeperatedListIsSpaced(freightmilestone.ConsigneeRef)}}
Consignor
{{this.global.toProperCase(freightmilestone.Shipper || '') || '-'}}
Consignee
{{this.global.toProperCase(freightmilestone.Consignee || '') || '-'}}
POL
{{(freightmilestone.PortOfLoading) || '-'}}
POD
{{(freightmilestone.PortOfDischarge) || '-'}}


This package provides aspects and annotations to allow existing code to be
wrapped in {@link org.fishwife.jrugged.CircuitBreaker} or {@link org.fishwife.jrugged.PerformanceMonitor} wrappers using AOP.
Related Documentation
For overviews, tutorials, examples, guides, and tool documentation, please see:


Join the numbers and get to the 2048 tile!
New GameHow to play: Use your arrow keys to move the tiles. When two tiles with the same number touch, they merge into one!
Note: The official version of 2048 can be found on http://git.io/2048. All other apps or sites are derivatives or fakes, and should be used with caution.
Game created by Gabriele Cirulli. Based on 1024 by Veewo Studio and conceptually similar to Threes
by Asher Vollmer.
AI created by Sebastian Mežnar.


Browser Compatibility Tests
Focus Event Sequence Test
and
Result Table
Focus Outline Style Comparison Table
Focusable Elements
and
Result Table
Focus Behavior During Fragment Navigation
Scrolling Elements Into View Comparison Table


Welcome to chytrids.org!
This website is a work in progress to provide access to protocols we are currently developing for genetic manipulation of Chytrid fungi. This includes resources of the species: Batrachochytrium dendrobatidis, B. salamandrivorans, Spizellomyces sp. and Rhizoclosmatium globosum.
We are currently developing useful tools, including improved growth medium, robust freezing protocols, and molecular transformation, and will share protocols here as they become available.
Please see our protocols.io - chytrids
Watch this space!
What are chytrid fungi?
Although most fungi are sessile, the early-diverging chytrid fungi form distinctive zoospores--a single-celled life stage that swim using a flagellum. These "zoosporic fungi" were first grouped as a single phylum but were later shown to be paraphyletic, and now are classified in two distinct phyla (Figure 1), the Blastocladiomycota and Chytridiomycota (James, Kauff, et al. 2006; James, Letcher, et al. 2006).
Chytrid fungi are a diverse group of approximately 1000 species that occupy diverse environmental niches. Two species are important pathogens of animals. Batrachochytrium dendrobatidis is emerging infectious disease of amphibians with worldwide distribution (Fisher, Garner, et al. 2009). Batrachochytrium salamandrivorans is an even more recently described emerging pathogen found in Europe (Martel et al. 2013; Spitzen-van der Sluijs et al. 2016) which has the depressing potential to ravage North American salamander populations (Martel et al. 2014; Yap et al. 2015; Gray et al. 2015).
We are collaborating laboratories currently developing chytrids as "model organisms", including molecular transformation, gene disruption, and CRISPR technologies:
Lillian Fritz-Laylin (U. Mass-Amherst): expert in flagellar and amoeboid motility, comparative genomics, and deep eukaryotic evolution.
Tim James (U Michigan): expert in chytrid biology, taxonomy & systematics, evolution, mycology
Jason Stajich (U. California-Riverside): expert in mycology, bioinformatics, molecular evolution and phylogenetics, and functional and evolutionary genomics.
Some useful resources


MathJax Test Page
If you see typeset mathematics below, then MathJax is working. If you see TeX code instead, MathJax is not working for you.
\[ \frac{-b\pm\sqrt{b^2-4ac}}{2a} \]
MathJax is not working!
Once you have MathJax working properly, view the image mode test page to make sure that the image fallback mode is working as well.


KKB Engineering rises 9.3% on higher 3Q earnings
by Syahirah Syed JaafarKUALA LUMPUR (Nov 14): KKB Engineering Bhd, which has climbed some 74% year to date, rose 9.29% this morning after announcing improved results in its third quarter.
At 11.30am, the stock was amongst the top gainers, having risen 13 sen to RM1.53, with 1.62 million shares done, higher than its 200-day average volume of 238,427.
Yesterday, the group said net profit grew 2.8 times to RM19.34 million for the third quarter ended Sept 30, 2019 (3QFY19) from RM6.93 million last year.
It said this was due to higher revenue from its steel fabrication and construction divisions, coupled with improved margins in the engineering sector.
Quarterly revenue was up 47.5% to RM165.48 million from RM112.18 million in 3QFY18.
For the nine-month period, net profit soared 179% to RM28.05 million from RM10.04 million a year ago, while revenue increased 49.3% to RM403 million from RM269.94 million.


{% extends "base.html" %} {% block body %}
Created by Eric Taix
Keep-it is a Kippt application for Android.
Kippt is the best way to collect, organize and share online information that’s important for you. Keep-it makes your Kippt bookmarks available on the go from your Android handset.
Available features:
| Developer | Eric Taix |
|---|---|
| Platform | Android |
| Price | $2.52 |
| Added | April 5. 2013 |
| Get the App |