Adobe-Consulting-Services/acs-aem-commons

View on GitHub

Showing 1,631 of 1,633 total issues

Change this condition so that it does not always evaluate to "false"
Open

if (o == null) {

Define and throw a dedicated exception instead of using a generic one.
Open

protected abstract void execute() throws Exception;

Provide the parametrized type for this generic.
Open

private Optional<Class> upgradeToArray(Optional<Class> a, Optional<Class> b) {

A "NullPointerException" could be thrown; "cellType" is nullable here.
Open

switch (cellType) {
case BOOLEAN:
setValue(cell.getBooleanCellValue());
break;
case NUMERIC:

Remove this unused method parameter "config".
Open

protected void unbindHttpCacheConfig(final HttpCacheConfig cacheConfig, final Map<String, Object> config) {

Provide the parametrized type for this generic.
Open

private final Class type;

Change the visibility of this constructor to "protected".
Open

public AbstractCacheKey(){

Provide the parametrized type for this generic.
Open

private static Optional<Class> getArrayType(Optional<Class> clazz) {

Change this condition so that it does not always evaluate to "false"
Open

if (o == null) {

Replace the synchronized class "Hashtable" by an unsynchronized one such as "HashMap".
Open

Dictionary<String, Object> properties = new Hashtable<>();

Remove these unused method parameters.
Open

protected void entering(Node node, int level) throws RepositoryException {
Severity
Category
Status
Source
Language