Inspectopedia 2024.3 Help

Embedded

'RecordStore' opened but not safely closed   New in this release

Reports Java ME javax.microedition.rms.RecordStore resources that are not opened in front of a try block and closed in the corresponding finally block.

Abstract class with a single direct inheritor   New in this release

Reports abstract classes that have precisely one direct inheritor.

Array.length in loop condition   New in this release

Reports accesses to the .length property of an array in the condition part of a loop statement.

Connection opened but not safely closed   New in this release

Reports Java ME javax.microedition.io.Connection resources that are not opened in front of a try block and closed in the corresponding finally block.

Interface with a single direct inheritor   New in this release

Reports interfaces that have precisely one direct inheritor.

Large array allocation with no OutOfMemoryError check   New in this release

Reports large array allocations which do not check for java.lang.OutOfMemoryError.

Method call in loop condition   New in this release

Reports method calls in the condition part of a loop statement.

Multiplication or division by power of two   New in this release

Reports multiplication of an integer value by a constant integer that can be represented as a power of two.

Overly large initializer for array of primitive type   New in this release

Reports array initializer expressions for primitive arrays that contain too many elements.

Single character 'startsWith()' or 'endsWith()'   New in this release

Reports calls to String.startsWith() and String.endsWith() where single character string literals are passed as an argument.

Synthetic accessor call   New in this release

Reports references from a nested class to non-constant private members of an outer class.

Last modified: 11 September 2024