- made more local variables final (possible here) which gives the Java compiler
hints to optimize the binary a bit more
- always invoke super() until you have reach the most-super (highest class)
then there is no need for it as java.lang.Object is then next
Signed-off-by: Roland Häder <roland@mxchange.org>
}
// Securely cast it
- ObjectMessage objectMessage = (ObjectMessage) message;
+ final ObjectMessage objectMessage = (ObjectMessage) message;
// Init variable
- Serializable serializable;
+ final Serializable serializable;
try {
// Get object from message
}
// Securely cast it
- WrapableEmailDelivery wrapper = (WrapableEmailDelivery) serializable;
+ final WrapableEmailDelivery wrapper = (WrapableEmailDelivery) serializable;
// Is all required set?
if (wrapper.getLocale() == null) {
/**
* Default constructor
- * <p>
*/
public JobsMailerSingletonBean () {
+ // Invoke super constructor
+ super();
}
/**