Buggy code:
@ InjectSupport public class PlatinoPortafirmaServiceImpl implements PortafirmaFapService { private SolicitudFirmaInterface portafirmaPort ; private PropertyPlaceholder propertyPlaceholder ; private static Logger log = Logger . getLogger ( PlatinoPortafirmaServiceImpl . class ) ; private final int MAX_MATERIA ; @ Inject private GestorDocumentalService gestorDocumentalPort ; @ Inject private PlatinoGestorDocumentalService platinoGestorDocumentalPort ; @ Inject private PlatinoProcedimientosServiceImpl platinoProcedimientosPort ; @ Inject private PlatinoBDOrganizacionServiceImpl platinoDBOrgPort ; @ Inject public PlatinoPortafirmaServiceImpl ( PropertyPlaceholder propertyPlaceholder ) { } public PlatinoPortafirmaServiceImpl ( PropertyPlaceholder propertyPlaceholder , SolicitudFirmaInterface portafirmaPortRecibido , PlatinoBDOrganizacionServiceImpl platinoDBOrgPortRecibido ) { } private String getEndPoint ( ) { } public boolean isConfigured ( ) { } private boolean hasConnection ( ) { } public static XMLGregorianCalendar DateTime2XMLGregorianCalendar ( DateTime fecha ) throws DatatypeConfigurationException { } private void setupSecurityHeadersWithUser ( String uid ) { } private void restoreSecurityHeadersBackoffice ( ) { } private void subirDocumentoAEDaPlatino ( Documento documento , String uriUsuario ) { } private void asociarDocumento ( String uriSolicitud , String idSolicitante , List < Documento > documentos , TipoDocumentacionEnumType tipoDocumentacionEnumType ) throws SolicitudFirmaExcepcion { } @ Override public void mostrarInfoInyeccion ( ) { } @ Override public String obtenerVersion ( ) throws PortafirmaFapServiceException { } @ Override public PortafirmaCrearSolicitudResponse crearSolicitudFirma ( ResolucionFAP resolucion ) throws PortafirmaFapServiceException { } private SolicitudFirmaPropiedadesType crearSolicitudFirmaPlatino ( SolicitudFirmaPortafirma solicitudFirmaPortafirma ) { } @ Override public PortafirmaCrearSolicitudResponse crearSolicitudFirma ( SolicitudFirmaPortafirma solicitudFirmaPortafirma ) throws PortafirmaFapServiceException { } @ Override public boolean entregarSolicitudFirma ( String idSolicitante , String idSolicitud , String comentario ) { } @ Override public String obtenerEstadoFirma ( SolicitudFirmaPortafirma solicitudFirmaPortafirma ) throws PortafirmaFapServiceException { } @ Override public boolean comprobarSiSolicitudFirmada ( SolicitudFirmaPortafirma solicitudFirmaPortafirma ) throws PortafirmaFapServiceException { String estadoSolicitudFirma = obtenerEstadoFirma ( solicitudFirmaPortafirma ) ; <START_BUG> if ( ( FIRMADA . value ( ) . equalsIgnoreCase ( estadoSolicitudFirma ) ) || ( FIRMADA_Y_REENVIADA . value ( ) . equalsIgnoreCase ( estadoSolicitudFirma ) ) ) { <END_BUG> play . Logger . info ( ( ( "La<seq2seq4repair_space>solicitud<seq2seq4repair_space>de<seq2seq4repair_space>firma<seq2seq4repair_space>de<seq2seq4repair_space>portafirma<seq2seq4repair_space>" + ( solicitudFirmaPortafirma . uriSolicitud ) ) + "<seq2seq4repair_space>ha<seq2seq4repair_space>sido<seq2seq4repair_space>firmada." ) ) ; return true ; } else { play . Logger . info ( ( ( "La<seq2seq4repair_space>solicitud<seq2seq4repair_space>de<seq2seq4repair_space>firma<seq2seq4repair_space>de<seq2seq4repair_space>portafirma<seq2seq4repair_space>" + ( solicitudFirmaPortafirma . uriSolicitud ) ) + "<seq2seq4repair_space>no<seq2seq4repair_space>ha<seq2seq4repair_space>sido<seq2seq4repair_space>firmada<seq2seq4repair_space>y<seq2seq4repair_space>finalizada." ) ) ; return false ; } } @ Override public List < ComboItem > obtenerUsuariosAdmitenEnvio ( ) throws PortafirmaFapServiceException { } @ Override public void eliminarSolicitudFirma ( SolicitudFirmaPortafirma solicitudFirmaPortafirma ) throws PortafirmaFapServiceException { } }

Fix:
if ( FIRMADA . value ( ) . equalsIgnoreCase ( estadoSolicitudFirma ) ) {