Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building multiset 1.0-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-checkstyle-plugin:2.13:check (default-cli) @ multiset ---
- [INFO]
- [INFO] There are 41 checkstyle errors.
- [ERROR] MultiSetImpl.java[2] (imports) AvoidStarImport: Using the '.*' form of import should be avoided - java.util.*.
- [ERROR] MultiSetImpl.java[6] (design) FinalClass: Class IteratorImpl should be declared as final.
- [ERROR] MultiSetImpl.java[7:18] (design) VisibilityModifier: Variable 'iterator' must be private and have accessor methods.
- [ERROR] MultiSetImpl.java[26:27] (whitespace) WhitespaceAfter: 'cast' is not followed by whitespace.
- [ERROR] MultiSetImpl.java[39:28] (whitespace) WhitespaceAfter: ';' is not followed by whitespace.
- [ERROR] MultiSetImpl.java[67:25] (misc) FinalParameters: Parameter argument should be final.
- [ERROR] MultiSetImpl.java[75:5] (design) DesignForExtension: Method 'size' is not designed for extension - needs to be abstract, final or empty.
- [ERROR] MultiSetImpl.java[80:5] (design) DesignForExtension: Method 'isEmpty' is not designed for extension - needs to be abstract, final or empty.
- [ERROR] MultiSetImpl.java[85:5] (design) DesignForExtension: Method 'contains' is not designed for extension - needs to be abstract, final or empty.
- [ERROR] MultiSetImpl.java[86:29] (misc) FinalParameters: Parameter o should be final.
- [ERROR] MultiSetImpl.java[90:5] (design) DesignForExtension: Method 'iterator' is not designed for extension - needs to be abstract, final or empty.
- [ERROR] MultiSetImpl.java[95:5] (design) DesignForExtension: Method 'add' is not designed for extension - needs to be abstract, final or empty.
- [ERROR] MultiSetImpl.java[96:24] (misc) FinalParameters: Parameter o should be final.
- [ERROR] MultiSetImpl.java[108:5] (design) DesignForExtension: Method 'add' is not designed for extension - needs to be abstract, final or empty.
- [ERROR] MultiSetImpl.java[109:20] (misc) FinalParameters: Parameter o should be final.
- [ERROR] MultiSetImpl.java[109:25] (misc) FinalParameters: Parameter occurrences should be final.
- [ERROR] MultiSetImpl.java[123:5] (design) DesignForExtension: Method 'remove' is not designed for extension - needs to be abstract, final or empty.
- [ERROR] MultiSetImpl.java[124:27] (misc) FinalParameters: Parameter e should be final.
- [ERROR] MultiSetImpl.java[139:5] (design) DesignForExtension: Method 'addAll' is not designed for extension - needs to be abstract, final or empty.
- [ERROR] MultiSetImpl.java[140:27] (misc) FinalParameters: Parameter c should be final.
- [ERROR] MultiSetImpl.java[147:5] (design) DesignForExtension: Method 'remove' is not designed for extension - needs to be abstract, final or empty.
- [ERROR] MultiSetImpl.java[148:23] (misc) FinalParameters: Parameter e should be final.
- [ERROR] MultiSetImpl.java[148:33] (misc) FinalParameters: Parameter occurrences should be final.
- [ERROR] MultiSetImpl.java[163:5] (design) DesignForExtension: Method 'count' is not designed for extension - needs to be abstract, final or empty.
- [ERROR] MultiSetImpl.java[164:22] (misc) FinalParameters: Parameter e should be final.
- [ERROR] MultiSetImpl.java[171:5] (design) DesignForExtension: Method 'toArray' is not designed for extension - needs to be abstract, final or empty.
- [ERROR] MultiSetImpl.java[182:5] (design) DesignForExtension: Method 'toArray' is not designed for extension - needs to be abstract, final or empty.
- [ERROR] MultiSetImpl.java[183:28] (misc) FinalParameters: Parameter a should be final.
- [ERROR] MultiSetImpl.java[193:5] (design) DesignForExtension: Method 'clear' is not designed for extension - needs to be abstract, final or empty.
- [ERROR] MultiSetImpl.java[199:5] (design) DesignForExtension: Method 'retainAll' is not designed for extension - needs to be abstract, final or empty.
- [ERROR] MultiSetImpl.java[200:30] (misc) FinalParameters: Parameter c should be final.
- [ERROR] MultiSetImpl.java[214:5] (design) DesignForExtension: Method 'removeAll' is not designed for extension - needs to be abstract, final or empty.
- [ERROR] MultiSetImpl.java[215:30] (misc) FinalParameters: Parameter c should be final.
- [ERROR] MultiSetImpl.java[219:26] (whitespace) WhitespaceAfter: ',' is not followed by whitespace.
- [ERROR] MultiSetImpl.java[227:5] (design) DesignForExtension: Method 'containsAll' is not designed for extension - needs to be abstract, final or empty.
- [ERROR] MultiSetImpl.java[228:32] (misc) FinalParameters: Parameter c should be final.
- [ERROR] MultiSetImpl.java[236:5] (coding) EqualsHashCode: Definition of 'equals()' without corresponding definition of 'hashCode()'.
- [ERROR] MultiSetImpl.java[236:5] (design) DesignForExtension: Method 'equals' is not designed for extension - needs to be abstract, final or empty.
- [ERROR] MultiSetImpl.java[237:27] (misc) FinalParameters: Parameter o should be final.
- [ERROR] MultiSetImpl.java[248:24] (whitespace) WhitespaceAfter: 'cast' is not followed by whitespace.
- [ERROR] MultiSetImpl.java[249:29] (whitespace) WhitespaceAfter: 'cast' is not followed by whitespace.
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 3.615s
- [INFO] Finished at: Thu Oct 23 23:16:33 MSK 2014
- [INFO] Final Memory: 11M/167M
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.13:check (default-cli) on project multiset: You have 41 Checkstyle violations. -> [Help 1]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement