itachi1706/CheesecakeCapes

View on GitHub
src/main/java/com/jadarstudios/developercapes/user/GroupManager.java

Summary

Maintainability
A
0 mins
Test Coverage

Provide the parametrized type for this generic.
Open

        ArrayList users = (ArrayList)usersObj;

Generic types shouldn't be used raw (without type parameters) in variable declarations or return values. Doing so bypasses generic type checking, and defers the catch of unsafe code to runtime.

Noncompliant Code Example

List myList; // Noncompliant
Set mySet; // Noncompliant

Compliant Solution

List<String> myList;
Set<? extends Number> mySet;

There are no issues that match your filters.

Category
Status