mrb/fixture_code_base

View on GitHub

'CLASS_DEF' should be separated from previous statement.
Open

public class AnotherLibrary {

Since Checkstyle 5.8

Checks for empty line separators after header, package, all import declarations,fields, constructors, methods, nested classes,static initializers and instance initializers.

ATTENTION: empty line separator is required between AST siblings, not after line where token is found.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

First sentence of Javadoc is missing an ending period.
Open

    /** Single line java doc to check our checkstyle plugin **/

Since Checkstyle 6.0

Checks that Javadoc summary sentence does not contain phrases that are not recommended to use. Summaries that containonly the {@inheritDoc} tag are skipped. Check also violate javadoc that does not contain first sentence.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

'CLASS_DEF' should be separated from previous statement.
Open

public class Library {
Severity: Minor
Found in src/main/java/Library.java by checkstyle

Since Checkstyle 5.8

Checks for empty line separators after header, package, all import declarations,fields, constructors, methods, nested classes,static initializers and instance initializers.

ATTENTION: empty line separator is required between AST siblings, not after line where token is found.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

First sentence of Javadoc is missing an ending period.
Open

    /** Single line java doc to check our checkstyle plugin **/
Severity: Minor
Found in src/main/java/Library.java by checkstyle

Since Checkstyle 6.0

Checks that Javadoc summary sentence does not contain phrases that are not recommended to use. Summaries that containonly the {@inheritDoc} tag are skipped. Check also violate javadoc that does not contain first sentence.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

First sentence of Javadoc is missing an ending period.
Open

        /** Single line java doc to check our checkstyle plugin **/
Severity: Minor
Found in src/main/java/Library.java by checkstyle

Since Checkstyle 6.0

Checks that Javadoc summary sentence does not contain phrases that are not recommended to use. Summaries that containonly the {@inheritDoc} tag are skipped. Check also violate javadoc that does not contain first sentence.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

'import' should be separated from previous statement.
Open

import static org.junit.Assert.*;
Severity: Minor
Found in src/test/java/LibraryTest.java by checkstyle

Since Checkstyle 5.8

Checks for empty line separators after header, package, all import declarations,fields, constructors, methods, nested classes,static initializers and instance initializers.

ATTENTION: empty line separator is required between AST siblings, not after line where token is found.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

Using the '.*' form of import should be avoided - org.junit.Assert.*.
Open

import static org.junit.Assert.*;
Severity: Minor
Found in src/test/java/LibraryTest.java by checkstyle

Since Checkstyle 3.0

Checks that there are no import statements that use the * notation.

Rationale: Importing all classes from a package or staticmembers from a class leads to tight coupling between packagesor classes and might lead to problems when a new version of alibrary introduces name clashes.

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

Wrong lexicographical order for 'org.junit.Assert.*' import. Should be before 'org.junit.Test'.
Open

import static org.junit.Assert.*;
Severity: Minor
Found in src/test/java/LibraryTest.java by checkstyle

Since Checkstyle 5.8

Checks that the groups of import declarations appear in the order specifiedby the user. If there is an import but its group is not specified in theconfiguration such an import should be placed at the end of the import list.

Examples section contains examples thatwork with default formatter configurations of Eclipse, IntelliJ IDEA and NetBeans

This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.

Severity
Category
Status