gappleto97/p2p-project

View on GitHub
jv_src/protocol.java

Summary

Maintainability
A
0 mins
Test Coverage

Wrong lexicographical order for 'java.math.BigInteger' import. Should be before 'java.security.NoSuchAlgorithmException'.
Open

import java.math.BigInteger;
Severity: Minor
Found in jv_src/protocol.java by checkstyle

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.

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

Local variable name 'i' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'.
Open

        BigInteger i = new BigInteger(1, digest);
Severity: Minor
Found in jv_src/protocol.java by checkstyle

Checks that local, non-final variable names conform to a specified pattern.A catch parameter is considered to be a local variable.

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

Type name 'protocol' must match pattern '^[A-Z][a-zA-Z0-9]*$'.
Open

public class protocol   {
Severity: Minor
Found in jv_src/protocol.java by checkstyle

There are no issues that match your filters.

Category
Status