The following document contains the results of FindBugs Report
FindBugs Version is 1.2.0
Threshold is Low
Effort is Default
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
1413 | 117 | 0 | 5 |
Bug | Category | Details | Line |
---|---|---|---|
Class org.apache.camel.ExpectedBodyTypeException defines non-transient non-serializable instance field exchange | BAD_PRACTICE | SE_BAD_FIELD | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Class org.apache.camel.FailedToCreateProducerException defines non-transient non-serializable instance field endpoint | BAD_PRACTICE | SE_BAD_FIELD | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Redundant nullcheck of processor, which is known to be non-null in org.apache.camel.bam.ActivityBuilder.createRoute() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 57 |
Bug | Category | Details | Line |
---|---|---|---|
The class org.apache.camel.bam.ActivityBuilder$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
Bug | Category | Details | Line |
---|---|---|---|
The class org.apache.camel.bam.ActivityBuilder$2 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
Bug | Category | Details | Line |
---|---|---|---|
org.apache.camel.bam.model.ActivityState.getTimeExpected() may expose internal representation by returning ActivityState.timeExpected | MALICIOUS_CODE | EI_EXPOSE_REP | 123 |
org.apache.camel.bam.model.ActivityState.getTimeOverdue() may expose internal representation by returning ActivityState.timeOverdue | MALICIOUS_CODE | EI_EXPOSE_REP | 131 |
org.apache.camel.bam.model.ActivityState.setTimeExpected(Date) may expose internal representation by storing an externally mutable object into ActivityState.timeExpected | MALICIOUS_CODE | EI_EXPOSE_REP2 | 127 |
org.apache.camel.bam.model.ActivityState.setTimeOverdue(Date) may expose internal representation by storing an externally mutable object into ActivityState.timeOverdue | MALICIOUS_CODE | EI_EXPOSE_REP2 | 135 |
Bug | Category | Details | Line |
---|---|---|---|
org.apache.camel.bam.model.TemporalEntity.getTimeCompleted() may expose internal representation by returning TemporalEntity.timeCompleted | MALICIOUS_CODE | EI_EXPOSE_REP | 48 |
org.apache.camel.bam.model.TemporalEntity.getTimeStarted() may expose internal representation by returning TemporalEntity.timeStarted | MALICIOUS_CODE | EI_EXPOSE_REP | 40 |
org.apache.camel.bam.model.TemporalEntity.setTimeCompleted(Date) may expose internal representation by storing an externally mutable object into TemporalEntity.timeCompleted | MALICIOUS_CODE | EI_EXPOSE_REP2 | 52 |
org.apache.camel.bam.model.TemporalEntity.setTimeStarted(Date) may expose internal representation by storing an externally mutable object into TemporalEntity.timeStarted | MALICIOUS_CODE | EI_EXPOSE_REP2 | 44 |
Bug | Category | Details | Line |
---|---|---|---|
Exception is caught when Exception is not thrown in org.apache.camel.bam.processor.ActivityMonitorEngine.run() | STYLE | REC_CATCH_EXCEPTION | 97 |
Bug | Category | Details | Line |
---|---|---|---|
Class org.apache.camel.bam.processor.NoCorrelationKeyException defines non-transient non-serializable instance field exchange | BAD_PRACTICE | SE_BAD_FIELD | Not available |
Class org.apache.camel.bam.processor.NoCorrelationKeyException defines non-transient non-serializable instance field processor | BAD_PRACTICE | SE_BAD_FIELD | Not available |
Bug | Category | Details | Line |
---|---|---|---|
The class org.apache.camel.builder.FromBuilder$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Class org.apache.camel.builder.IdempotentConsumerBuilder implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | Not available |
Bug | Category | Details | Line |
---|---|---|---|
The class org.apache.camel.builder.ResequencerBuilder$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
Bug | Category | Details | Line |
---|---|---|---|
MessageVariableResolver.exchange not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Dead store to u in org.apache.camel.component.cxf.CxfComponent.createEndpoint(String, String, Map) | STYLE | DLS_DEAD_LOCAL_STORE | 51 |
Bug | Category | Details | Line |
---|---|---|---|
CxfInvokeProducer.client not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Dead store to response in org.apache.camel.component.cxf.CxfProducer.process(CxfExchange) | STYLE | DLS_DEAD_LOCAL_STORE | 72 |
CxfProducer.conduit not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Should org.apache.camel.component.cxf.CxfProducer$ResultFuture be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Load of known null value in org.apache.camel.component.cxf.transport.CamelConduit$CamelOutputStream.handleResponse() | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 234 |
Load of known null value in org.apache.camel.component.cxf.transport.CamelConduit$CamelOutputStream.handleResponse() | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 245 |
A known null value is checked to see if it is an instance of java.lang.String in org.apache.camel.component.cxf.transport.CamelConduit$CamelOutputStream.handleResponse() | CORRECTNESS | NP_NULL_INSTANCEOF | 238 |
Non-virtual method call in org.apache.camel.component.cxf.transport.CamelConduit$CamelOutputStream.handleResponse() passes null for unconditionally dereferenced parameter of java.io.ByteArrayInputStream.ByteArrayInputStream(byte[]) | CORRECTNESS | NP_NULL_PARAM_DEREF_NONVIRTUAL | 245 |
Bug | Category | Details | Line |
---|---|---|---|
Redundant nullcheck of correlationID which is known to be null in org.apache.camel.component.cxf.transport.CamelConduit$CamelOutputStream$1.process(Exchange) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE | 180 |
Redundant nullcheck of id which is known to be null in org.apache.camel.component.cxf.transport.CamelConduit$CamelOutputStream$1.process(Exchange) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE | 170 |
Bug | Category | Details | Line |
---|---|---|---|
Should org.apache.camel.component.cxf.transport.CamelConduit$DecoupledDestination be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Unread field: org.apache.camel.component.cxf.transport.CamelDestination.endpoint | PERFORMANCE | URF_UNREAD_FIELD | 90 |
Unread field: org.apache.camel.component.cxf.transport.CamelDestination.conduitInitiator | PERFORMANCE | URF_UNREAD_FIELD | 67 |
Unwritten field: org.apache.camel.component.cxf.transport.CamelDestination.camelUri | CORRECTNESS | UWF_UNWRITTEN_FIELD | 90 |
Bug | Category | Details | Line |
---|---|---|---|
Unused field: org.apache.camel.component.cxf.transport.CamelDestination$CamelOutputStream.replyTo | PERFORMANCE | UUF_UNUSED_FIELD | Not available |
Unused field: org.apache.camel.component.cxf.transport.CamelDestination$CamelOutputStream.sender | PERFORMANCE | UUF_UNUSED_FIELD | Not available |
Bug | Category | Details | Line |
---|---|---|---|
org.apache.camel.component.cxf.transport.CamelTransportBase.close() might ignore java.lang.Exception | BAD_PRACTICE | DE_MIGHT_IGNORE | 62 |
Unread field: org.apache.camel.component.cxf.transport.CamelTransportBase.camelContext | PERFORMANCE | URF_UNREAD_FIELD | 39 |
Unwritten field: org.apache.camel.component.cxf.transport.CamelTransportBase.replyDestination | CORRECTNESS | UWF_UNWRITTEN_FIELD | 50 |
Bug | Category | Details | Line |
---|---|---|---|
Method call in org.apache.camel.component.cxf.transport.CamelTransportFactory.getConduit(EndpointInfo) passes null for unconditionally dereferenced parameter of getConduit(EndpointInfo, EndpointReferenceType) | CORRECTNESS | NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS | 68 |
CamelTransportFactory.bus not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Bug | Category | Details | Line |
---|---|---|---|
org.apache.camel.component.http.CamelServlet is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | Not available |
Bug | Category | Details | Line |
---|---|---|---|
HttpComponent.camelServlet not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Redundant nullcheck of requestEntity, which is known to be non-null in org.apache.camel.component.http.HttpProducer.createMethod(Exchange) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 67 |
Class org.apache.camel.component.http.HttpProducer implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Dead store to connectorRef in org.apache.camel.component.http.JettyHttpComponent.connect(HttpConsumer) | STYLE | DLS_DEAD_LOCAL_STORE | 111 |
JettyHttpComponent.server not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Should org.apache.camel.component.http.JettyHttpComponent$ConnectorRef be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Dead store to parts in org.apache.camel.component.jbi.CamelJbiComponent.activateJbiEndpoint(JbiEndpoint, Processor) | STYLE | DLS_DEAD_LOCAL_STORE | 156 |
Bug | Category | Details | Line |
---|---|---|---|
Unread field: org.apache.camel.component.jbi.JbiEndpoint$2.jbiEndpoint | PERFORMANCE | URF_UNREAD_FIELD | 59 |
Bug | Category | Details | Line |
---|---|---|---|
Confusing to have methods org.apache.camel.component.jms.EndpointMessageListener.onMessage(Message) and org.apache.camel.component.cxf.CxfProducer$ResultFuture.onMessage(Message) | BAD_PRACTICE | NM_CONFUSING | 49-58 |
Bug | Category | Details | Line |
---|---|---|---|
JMXEndpoint.mbeanServer not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Exception is caught when Exception is not thrown in org.apache.camel.component.mail.MailBinding.populateMailMessage(MailEndpoint, MimeMessage, Exchange) | STYLE | REC_CATCH_EXCEPTION | 55 |
Bug | Category | Details | Line |
---|---|---|---|
Confusing to have methods org.apache.camel.component.mail.MailMessage.setMessage(Message) and org.apache.camel.component.cxf.CxfMessage.setMessage(Message) | BAD_PRACTICE | NM_CONFUSING | 69-70 |
Bug | Category | Details | Line |
---|---|---|---|
The class org.apache.camel.component.mina.MinaProducer$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Class org.apache.camel.component.pojo.NoPojoAvailableException defines non-transient non-serializable instance field endpoint | BAD_PRACTICE | SE_BAD_FIELD | Not available |
Bug | Category | Details | Line |
---|---|---|---|
org.apache.camel.component.pojo.PojoInvocation.getArgs() may expose internal representation by returning PojoInvocation.args | MALICIOUS_CODE | EI_EXPOSE_REP | 34 |
org.apache.camel.component.pojo.PojoInvocation.PojoInvocation(Object, Method, Object[]) may expose internal representation by storing an externally mutable object into PojoInvocation.args | MALICIOUS_CODE | EI_EXPOSE_REP2 | 30 |
Bug | Category | Details | Line |
---|---|---|---|
The class org.apache.camel.component.pojo.timer.TimerConsumer$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
Bug | Category | Details | Line |
---|---|---|---|
org.apache.camel.component.pojo.timer.TimerEndpoint.getTime() may expose internal representation by returning TimerEndpoint.time | MALICIOUS_CODE | EI_EXPOSE_REP | 114 |
org.apache.camel.component.pojo.timer.TimerEndpoint.setTime(Date) may expose internal representation by storing an externally mutable object into TimerEndpoint.time | MALICIOUS_CODE | EI_EXPOSE_REP2 | 118 |
Bug | Category | Details | Line |
---|---|---|---|
Non-virtual method call in org.apache.camel.component.quartz.QuartzEndpoint.createExchange() passes null for unconditionally dereferenced parameter of QuartzExchange.QuartzExchange(CamelContext, JobExecutionContext) | CORRECTNESS | NP_NULL_PARAM_DEREF_NONVIRTUAL | 122 |
Bug | Category | Details | Line |
---|---|---|---|
QueueEndpointConsumer.thread not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Bug | Category | Details | Line |
---|---|---|---|
XmppGroupChatProducer.chat not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Bug | Category | Details | Line |
---|---|---|---|
XmppPrivateChatProducer.chat not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Should org.apache.camel.converter.CollectionConverter.toArray(Collection) return a zero length array rather than null? | STYLE | PZLA_PREFER_ZERO_LENGTH_ARRAYS | 43 |
Bug | Category | Details | Line |
---|---|---|---|
org.apache.camel.converter.jaxp.BytesSource.getData() may expose internal representation by returning BytesSource.data | MALICIOUS_CODE | EI_EXPOSE_REP | 54 |
org.apache.camel.converter.jaxp.BytesSource.BytesSource(byte[]) may expose internal representation by storing an externally mutable object into BytesSource.data | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 |
org.apache.camel.converter.jaxp.BytesSource.BytesSource(byte[], String) may expose internal representation by storing an externally mutable object into BytesSource.data | MALICIOUS_CODE | EI_EXPOSE_REP2 | 41 |
Bug | Category | Details | Line |
---|---|---|---|
org.apache.camel.converter.jaxp.StringSource is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | Not available |
Bug | Category | Details | Line |
---|---|---|---|
org.apache.camel.converter.jaxp.XmlConverter.defaultCharset isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 65 |
Exception is caught when Exception is not thrown in org.apache.camel.converter.jaxp.XmlConverter.toSAXSourceFromDOM(DOMSource) | STYLE | REC_CATCH_EXCEPTION | 288 |
Bug | Category | Details | Line |
---|---|---|---|
Redundant nullcheck of answer, which is known to be non-null in org.apache.camel.impl.DefaultCamelContext.getEndpoint(String) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 211 |
Class org.apache.camel.impl.DefaultCamelContext implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Class org.apache.camel.processor.Pipeline implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | Not available |
Bug | Category | Details | Line |
---|---|---|---|
org.apache.camel.processor.RedeliveryPolicy.randomNumberGenerator should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | Not available |
org.apache.camel.processor.RedeliveryPolicy is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | Not available |
The field org.apache.camel.processor.RedeliveryPolicy.randomNumberGenerator is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Class org.apache.camel.processor.SendProcessor implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Class org.apache.camel.processor.idempotent.NoMessageIdException defines non-transient non-serializable instance field exchange | BAD_PRACTICE | SE_BAD_FIELD | Not available |
Class org.apache.camel.processor.idempotent.NoMessageIdException defines non-transient non-serializable instance field expression | BAD_PRACTICE | SE_BAD_FIELD | Not available |
Bug | Category | Details | Line |
---|---|---|---|
CamelBeanPostProcessor.applicationContext not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
CamelBeanPostProcessor.camelContext not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Bug | Category | Details | Line |
---|---|---|---|
The class org.apache.camel.spring.CamelBeanPostProcessor$3 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
Bug | Category | Details | Line |
---|---|---|---|
The class org.apache.camel.spring.CamelBeanPostProcessor$4 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
Bug | Category | Details | Line |
---|---|---|---|
org.apache.camel.spring.CamelContextFactoryBean.getPackages() may expose internal representation by returning CamelContextFactoryBean.packages | MALICIOUS_CODE | EI_EXPOSE_REP | 115 |
org.apache.camel.spring.CamelContextFactoryBean.setPackages(String[]) may expose internal representation by storing an externally mutable object into CamelContextFactoryBean.packages | MALICIOUS_CODE | EI_EXPOSE_REP2 | 125 |
Bug | Category | Details | Line |
---|---|---|---|
EndpointFactoryBean.context not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Unread field: org.apache.camel.spring.Main$ParameterOption.parameterName | PERFORMANCE | URF_UNREAD_FIELD | 178 |
Bug | Category | Details | Line |
---|---|---|---|
org.apache.camel.spring.RouteBuilderFinder.getPackages() may expose internal representation by returning RouteBuilderFinder.packages | MALICIOUS_CODE | EI_EXPOSE_REP | 53 |
org.apache.camel.spring.RouteBuilderFinder.RouteBuilderFinder(ApplicationContext, String[]) may expose internal representation by storing an externally mutable object into RouteBuilderFinder.packages | MALICIOUS_CODE | EI_EXPOSE_REP2 | 44 |
org.apache.camel.spring.RouteBuilderFinder.setPackages(String[]) may expose internal representation by storing an externally mutable object into RouteBuilderFinder.packages | MALICIOUS_CODE | EI_EXPOSE_REP2 | 57 |
Bug | Category | Details | Line |
---|---|---|---|
CamelServiceExporter.pojoComponent not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Dead store to content in org.apache.camel.spring.util.BeanInfo.createParameterUnmarshalExpressionForAnnotation(Class, Method, Class, Annotation) | STYLE | DLS_DEAD_LOCAL_STORE | 193 |
Bug | Category | Details | Line |
---|---|---|---|
The class org.apache.camel.spring.util.BeanInfo$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
Bug | Category | Details | Line |
---|---|---|---|
org.apache.camel.spring.util.ReflectionUtils.setField(Field, Object, Object) invokes java.lang.reflect.Field.setAccessible(boolean), which should be invoked from within a doPrivileged block | BAD_PRACTICE | DP_DO_INSIDE_DO_PRIVILEGED | 54 |
org.apache.camel.spring.util.ReflectionUtils.setField(Field, Object, Object) invokes java.lang.reflect.Field.setAccessible(boolean), which should be invoked from within a doPrivileged block | BAD_PRACTICE | DP_DO_INSIDE_DO_PRIVILEGED | 58 |
Bug | Category | Details | Line |
---|---|---|---|
BuilderStatement.actions not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Nullcheck of childElements at line 68 of value previously dereferenced in org.apache.camel.spring.xml.CamelBeanDefinitionParser.parseInternal(Element, ParserContext) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 66 |
Bug | Category | Details | Line |
---|---|---|---|
The class org.apache.camel.spring.xml.CamelBeanDefinitionParser$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
Bug | Category | Details | Line |
---|---|---|---|
The class org.apache.camel.spring.xml.CamelNamespaceHandler$2 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
Bug | Category | Details | Line |
---|---|---|---|
RouteBuilderFactoryBean.context not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Bug | Category | Details | Line |
---|---|---|---|
StatementRouteBuilder.routes not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Bug | Category | Details | Line |
---|---|---|---|
org.apache.camel.util.ExpressionComparator implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | Not available |
Bug | Category | Details | Line |
---|---|---|---|
org.apache.camel.util.ExpressionListComparator implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | Not available |
Bug | Category | Details | Line |
---|---|---|---|
org.apache.camel.util.FactoryFinder.doFindFactoryProperies(String) might ignore java.lang.Exception | BAD_PRACTICE | DE_MIGHT_IGNORE | 134 |
Bug | Category | Details | Line |
---|---|---|---|
Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 189 |
Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 69 |
Method org.apache.camel.util.IntrospectionSupport.extractProperties(Map, String) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 114 |
Method org.apache.camel.util.IntrospectionSupport.setProperties(Object, Map, String) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 94 |
Bug | Category | Details | Line |
---|---|---|---|
org.apache.camel.util.ResolverUtil.loadImplementationsInJar(ResolverUtil$Test, String, File) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 290 |
Bug | Category | Details | Line |
---|---|---|---|
Method org.apache.camel.util.URISupport.createQueryString(Map) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 287 |
Bug | Category | Details | Line |
---|---|---|---|
org.apache.camel.util.URISupport$CompositeData.getComponents() may expose internal representation by returning URISupport$CompositeData.components | MALICIOUS_CODE | EI_EXPOSE_REP | 44 |
URISupport$CompositeData.components not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
URISupport$CompositeData.parameters not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Exception is caught when Exception is not thrown in org.apache.camel.util.UuidGenerator.<static initializer>() | STYLE | REC_CATCH_EXCEPTION | 56 |