This documentation is not maintained. Please refer to doc.castsoftware.com/technologies to find the latest updates.

On this page:

1.1.0-funcrel

Resolved Issues

Customer Ticket IdDetails
16584Permanent Fix - Extension com.castsoftware.jeerules has encountered an issue - version 1.1.0 beta1
16586Permanent Fix - Analysis warning: Extension com.castsoftware.jeerules has encountered an issue

Rules

Rule IdNew RuleDetails
1039042FALSE[DEACTIVATED] Ensure to use "Optional.isPresent" before invoking "Optional.get" to access value no more available
1039032FALSERemoved False Positive on Avoid using DocumentBuilder without restriction of XML External Entity Reference (XXE)
1039010FALSEModified the quality rule 'Avoid using risky cryptographic hash (JEE)' to check input ''MD5/SHA1 from .properties files. There is no impact on rule results.

1.1.0-beta2

Other Updates

Details
Stability improvements
Internal error fixed
Scope of rules have been provided

1.1.0-beta1

Other Updates

Details
Provided missing rule configurations and fields

Rules

Rule IdNew RuleDetails
1039050TRUEAdd @Override on methods overriding or implementing a method declared in a super type

1.1.0-alpha2

Rules

Rule IdNew RuleDetails
1039048TRUEAlways prefer set Array designators "[]" on the type and not at variable
1039046TRUEAlways use {@code} to wrap code statements or values such as null
1039044TRUEAvoid usage of BannedAPI when using ESAPI library
1039042TRUE"Optional.isPresent" should be used before invoking "Optional.get" to access value
1039040TRUEAvoid using XMLStreamReader without restriction of XML External Entity Reference (XXE)

1.1.0-alpha1

Rules

Rule IdNew RuleDetails
1039038TRUEAvoid using XPathFactory without restriction of XML External Entity Reference (XXE)
1039036TRUEAvoid using XMLReader without restriction of XML External Entity Reference (XXE)
1039034TRUEAvoid using SAXParserFactory without restriction of XML External Entity Reference (XXE)
1039032TRUEAvoid using DocumentBuilder without restriction of XML External Entity Reference (XXE)
1039030TRUEAvoid using DefaultHttpClient constructor
1039028TRUECWE-327: Avoid weak encryption providing not sufficient key size (JEE)