This project has retired. For details please refer to its Attic page.
jUDDI Core Services – FindBugs Bug Detector Report Fork me on GitHub

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
256 87 0 0

Files

Class Bugs
org.apache.juddi.api.impl.UDDIPublicationImpl 1
org.apache.juddi.api.impl.UDDIReplicationImpl 2
org.apache.juddi.api.impl.UDDIServiceCounter 4
org.apache.juddi.api.impl.UDDIValueSetCachingImpl 2
org.apache.juddi.api.impl.XRegisterHelper 1
org.apache.juddi.api.util.InquiryQuery 1
org.apache.juddi.api.util.JUDDIQuery 1
org.apache.juddi.api.util.PublicationQuery 1
org.apache.juddi.api.util.QueryStatus 1
org.apache.juddi.api.util.ReplicationQuery 1
org.apache.juddi.api.util.SecurityQuery 1
org.apache.juddi.api.util.SubscriptionListenerQuery 1
org.apache.juddi.api.util.SubscriptionQuery 1
org.apache.juddi.api.util.ValueSetCachingQuery 1
org.apache.juddi.api.util.ValueSetValidationQuery 1
org.apache.juddi.config.AppConfig 1
org.apache.juddi.mapping.MappingApiToModel 1
org.apache.juddi.model.AuthToken 6
org.apache.juddi.model.BindingTemplate 2
org.apache.juddi.model.BusinessEntity 2
org.apache.juddi.model.BusinessService 2
org.apache.juddi.model.ChangeRecord 2
org.apache.juddi.model.ClientSubscriptionInfo 3
org.apache.juddi.model.KeyDataValue 3
org.apache.juddi.model.ObjectTypeContent 2
org.apache.juddi.model.PublisherAssertion 2
org.apache.juddi.model.Reference 2
org.apache.juddi.model.SignatureTransform 1
org.apache.juddi.model.SignatureTransformDataValue 2
org.apache.juddi.model.SignatureValue 2
org.apache.juddi.model.SignedInfo 3
org.apache.juddi.model.Subscription 7
org.apache.juddi.model.SubscriptionChunkToken 6
org.apache.juddi.model.Tmodel 2
org.apache.juddi.model.TransferToken 3
org.apache.juddi.model.UddiEntity 3
org.apache.juddi.query.FindEntityByCombinedCategoryQuery 2
org.apache.juddi.subscription.SubscriptionNotifier 2
org.apache.juddi.subscription.notify.SMTPNotifier 1
org.apache.juddi.subscription.notify.USERFRIENDLYSMTPNotifier 1
org.apache.juddi.validation.ValidateNode 1
org.apache.juddi.validation.ValidateReplication 2
org.apache.juddi.validation.ValidateUDDIKey 1

org.apache.juddi.api.impl.UDDIPublicationImpl

Bug Category Details Line Priority
Return value of String.equalsIgnoreCase(String) ignored in org.apache.juddi.api.impl.UDDIPublicationImpl.setPublisherAssertions(String, Holder) CORRECTNESS RV_RETURN_VALUE_IGNORED 1018 Medium

org.apache.juddi.api.impl.UDDIReplicationImpl

Bug Category Details Line Priority
Incorrect lazy initialization of static field org.apache.juddi.api.impl.UDDIReplicationImpl.queue in org.apache.juddi.api.impl.UDDIReplicationImpl.notifyConfigurationChange(ReplicationConfiguration, ReplicationConfiguration, AuthenticatedService) MT_CORRECTNESS LI_LAZY_INIT_STATIC 117-118 Medium
Redundant nullcheck of lastrecord which is known to be null in org.apache.juddi.api.impl.UDDIReplicationImpl.getChangeRecords(GetChangeRecords) STYLE RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE 1097 Medium

org.apache.juddi.api.impl.UDDIServiceCounter

Bug Category Details Line Priority
org.apache.juddi.api.impl.UDDIServiceCounter.getAttributes(String[]) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 278 Medium
org.apache.juddi.api.impl.UDDIServiceCounter.getAttributes(String[]) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 263 Medium
org.apache.juddi.api.impl.UDDIServiceCounter.getAttributes(String[]) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 273 Medium
org.apache.juddi.api.impl.UDDIServiceCounter.getAttributes(String[]) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 268 Medium

org.apache.juddi.api.impl.UDDIValueSetCachingImpl

Bug Category Details Line Priority
Useless object stored in variable chunkToken of method org.apache.juddi.api.impl.UDDIValueSetCachingImpl.getAllValidValues(String, String, Holder, Holder) STYLE UC_USELESS_OBJECT 88 Medium
Useless object stored in variable ret of method org.apache.juddi.api.impl.UDDIValueSetCachingImpl.getAllValidValues(String, String, Holder, Holder) STYLE UC_USELESS_OBJECT 79 Medium

org.apache.juddi.api.impl.XRegisterHelper

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in org.apache.juddi.api.impl.XRegisterHelper.handle(Clerk, Clerk, SubscriptionResultsList) STYLE REC_CATCH_EXCEPTION 152 Medium

org.apache.juddi.api.util.InquiryQuery

Bug Category Details Line Priority
String is incompatible with expected argument type InquiryQuery in org.apache.juddi.api.util.InquiryQuery.fromQuery(String) CORRECTNESS GC_UNRELATED_TYPES 88 High

org.apache.juddi.api.util.JUDDIQuery

Bug Category Details Line Priority
String is incompatible with expected argument type JUDDIQuery in org.apache.juddi.api.util.JUDDIQuery.fromQuery(String) CORRECTNESS GC_UNRELATED_TYPES 116 High

org.apache.juddi.api.util.PublicationQuery

Bug Category Details Line Priority
String is incompatible with expected argument type PublicationQuery in org.apache.juddi.api.util.PublicationQuery.fromQuery(String) CORRECTNESS GC_UNRELATED_TYPES 96 High

org.apache.juddi.api.util.QueryStatus

Bug Category Details Line Priority
String is incompatible with expected argument type QueryStatus in org.apache.juddi.api.util.QueryStatus.fromStatus(String) CORRECTNESS GC_UNRELATED_TYPES 73 High

org.apache.juddi.api.util.ReplicationQuery

Bug Category Details Line Priority
String is incompatible with expected argument type ReplicationQuery in org.apache.juddi.api.util.ReplicationQuery.fromQuery(String) CORRECTNESS GC_UNRELATED_TYPES 78 High

org.apache.juddi.api.util.SecurityQuery

Bug Category Details Line Priority
String is incompatible with expected argument type SecurityQuery in org.apache.juddi.api.util.SecurityQuery.fromQuery(String) CORRECTNESS GC_UNRELATED_TYPES 72 High

org.apache.juddi.api.util.SubscriptionListenerQuery

Bug Category Details Line Priority
String is incompatible with expected argument type SubscriptionListenerQuery in org.apache.juddi.api.util.SubscriptionListenerQuery.fromQuery(String) CORRECTNESS GC_UNRELATED_TYPES 71 High

org.apache.juddi.api.util.SubscriptionQuery

Bug Category Details Line Priority
String is incompatible with expected argument type SubscriptionQuery in org.apache.juddi.api.util.SubscriptionQuery.fromQuery(String) CORRECTNESS GC_UNRELATED_TYPES 76 High

org.apache.juddi.api.util.ValueSetCachingQuery

Bug Category Details Line Priority
String is incompatible with expected argument type ValueSetCachingQuery in org.apache.juddi.api.util.ValueSetCachingQuery.fromQuery(String) CORRECTNESS GC_UNRELATED_TYPES 70 High

org.apache.juddi.api.util.ValueSetValidationQuery

Bug Category Details Line Priority
String is incompatible with expected argument type ValueSetValidationQuery in org.apache.juddi.api.util.ValueSetValidationQuery.fromQuery(String) CORRECTNESS GC_UNRELATED_TYPES 69 High

org.apache.juddi.config.AppConfig

Bug Category Details Line Priority
Write to static field org.apache.juddi.config.AppConfig.propConfig from instance method org.apache.juddi.config.AppConfig.loadConfiguration() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 110 Medium

org.apache.juddi.mapping.MappingApiToModel

Bug Category Details Line Priority
instanceof will always return true for all non-null values in org.apache.juddi.mapping.MappingApiToModel.mapOverviewDoc(OverviewDoc, OverviewDoc), since all org.uddi.api_v3.OverviewURL are instances of org.uddi.api_v3.OverviewURL STYLE BC_VACUOUS_INSTANCEOF 885 Medium

org.apache.juddi.model.AuthToken

Bug Category Details Line Priority
org.apache.juddi.model.AuthToken.getCreated() may expose internal representation by returning AuthToken.created MALICIOUS_CODE EI_EXPOSE_REP 76 Medium
org.apache.juddi.model.AuthToken.getLastUsed() may expose internal representation by returning AuthToken.lastUsed MALICIOUS_CODE EI_EXPOSE_REP 85 Medium
new org.apache.juddi.model.AuthToken(String, String, String, Date, Date, int, int) may expose internal representation by storing an externally mutable object into AuthToken.created MALICIOUS_CODE EI_EXPOSE_REP2 50 Medium
new org.apache.juddi.model.AuthToken(String, String, String, Date, Date, int, int) may expose internal representation by storing an externally mutable object into AuthToken.lastUsed MALICIOUS_CODE EI_EXPOSE_REP2 51 Medium
org.apache.juddi.model.AuthToken.setCreated(Date) may expose internal representation by storing an externally mutable object into AuthToken.created MALICIOUS_CODE EI_EXPOSE_REP2 79 Medium
org.apache.juddi.model.AuthToken.setLastUsed(Date) may expose internal representation by storing an externally mutable object into AuthToken.lastUsed MALICIOUS_CODE EI_EXPOSE_REP2 88 Medium

org.apache.juddi.model.BindingTemplate

Bug Category Details Line Priority
new org.apache.juddi.model.BindingTemplate(String, BusinessService, String, String, String, Date, BindingCategoryBag, List, List) may expose internal representation by storing an externally mutable object into BindingTemplate.modified MALICIOUS_CODE EI_EXPOSE_REP2 70 Medium
new org.apache.juddi.model.BindingTemplate(String, BusinessService, Date) may expose internal representation by storing an externally mutable object into BindingTemplate.modified MALICIOUS_CODE EI_EXPOSE_REP2 58 Medium

org.apache.juddi.model.BusinessEntity

Bug Category Details Line Priority
new org.apache.juddi.model.BusinessEntity(String, String, String, Date, List, List, List, List, List, List, BusinessCategoryBag, List, List) may expose internal representation by storing an externally mutable object into BusinessEntity.modified MALICIOUS_CODE EI_EXPOSE_REP2 70 Medium
new org.apache.juddi.model.BusinessEntity(String, Date) may expose internal representation by storing an externally mutable object into BusinessEntity.modified MALICIOUS_CODE EI_EXPOSE_REP2 56 Medium

org.apache.juddi.model.BusinessService

Bug Category Details Line Priority
new org.apache.juddi.model.BusinessService(String, BusinessEntity, Date) may expose internal representation by storing an externally mutable object into BusinessService.modified MALICIOUS_CODE EI_EXPOSE_REP2 55 Medium
new org.apache.juddi.model.BusinessService(String, BusinessEntity, Date, List, List, List, ServiceCategoryBag) may expose internal representation by storing an externally mutable object into BusinessService.modified MALICIOUS_CODE EI_EXPOSE_REP2 63 Medium

org.apache.juddi.model.ChangeRecord

Bug Category Details Line Priority
org.apache.juddi.model.ChangeRecord.getContents() may expose internal representation by returning ChangeRecord.contents MALICIOUS_CODE EI_EXPOSE_REP 50 Medium
org.apache.juddi.model.ChangeRecord.setContents(byte[]) may expose internal representation by storing an externally mutable object into ChangeRecord.contents MALICIOUS_CODE EI_EXPOSE_REP2 54 Medium

org.apache.juddi.model.ClientSubscriptionInfo

Bug Category Details Line Priority
org.apache.juddi.model.ClientSubscriptionInfo.getLastNotified() may expose internal representation by returning ClientSubscriptionInfo.lastNotified MALICIOUS_CODE EI_EXPOSE_REP 80 Medium
new org.apache.juddi.model.ClientSubscriptionInfo(Clerk, Clerk, Date, String) may expose internal representation by storing an externally mutable object into ClientSubscriptionInfo.lastNotified MALICIOUS_CODE EI_EXPOSE_REP2 58 Medium
org.apache.juddi.model.ClientSubscriptionInfo.setLastNotified(Date) may expose internal representation by storing an externally mutable object into ClientSubscriptionInfo.lastNotified MALICIOUS_CODE EI_EXPOSE_REP2 83 Medium

org.apache.juddi.model.KeyDataValue

Bug Category Details Line Priority
org.apache.juddi.model.KeyDataValue.getKeyDataValueBytes() may expose internal representation by returning KeyDataValue.keyDataValueBytes MALICIOUS_CODE EI_EXPOSE_REP 127 Medium
new org.apache.juddi.model.KeyDataValue(KeyInfo, String, String, byte[], String, KeyDataValue) may expose internal representation by storing an externally mutable object into KeyDataValue.keyDataValueBytes MALICIOUS_CODE EI_EXPOSE_REP2 59 Medium
org.apache.juddi.model.KeyDataValue.setKeyDataValueBytes(byte[]) may expose internal representation by storing an externally mutable object into KeyDataValue.keyDataValueBytes MALICIOUS_CODE EI_EXPOSE_REP2 131 Medium

org.apache.juddi.model.ObjectTypeContent

Bug Category Details Line Priority
org.apache.juddi.model.ObjectTypeContent.getContent() may expose internal representation by returning ObjectTypeContent.content MALICIOUS_CODE EI_EXPOSE_REP 64 Medium
org.apache.juddi.model.ObjectTypeContent.setContent(byte[]) may expose internal representation by storing an externally mutable object into ObjectTypeContent.content MALICIOUS_CODE EI_EXPOSE_REP2 68 Medium

org.apache.juddi.model.PublisherAssertion

Bug Category Details Line Priority
org.apache.juddi.model.PublisherAssertion.setModified(Date) may expose internal representation by storing an externally mutable object into PublisherAssertion.modified MALICIOUS_CODE EI_EXPOSE_REP2 73 Medium
org.apache.juddi.model.PublisherAssertion defines equals and uses Object.hashCode() BAD_PRACTICE HE_EQUALS_USE_HASHCODE 170-174 High

org.apache.juddi.model.Reference

Bug Category Details Line Priority
org.apache.juddi.model.Reference.getDigestValue() may expose internal representation by returning Reference.digestValue MALICIOUS_CODE EI_EXPOSE_REP 93 Medium
org.apache.juddi.model.Reference.setDigestValue(byte[]) may expose internal representation by storing an externally mutable object into Reference.digestValue MALICIOUS_CODE EI_EXPOSE_REP2 97 Medium

org.apache.juddi.model.SignatureTransform

Bug Category Details Line Priority
Class org.apache.juddi.model.SignatureTransform defines non-transient non-serializable instance field reference BAD_PRACTICE SE_BAD_FIELD Not available High

org.apache.juddi.model.SignatureTransformDataValue

Bug Category Details Line Priority
org.apache.juddi.model.SignatureTransformDataValue.getContentBytes() may expose internal representation by returning SignatureTransformDataValue.contentBytes MALICIOUS_CODE EI_EXPOSE_REP 74 Medium
org.apache.juddi.model.SignatureTransformDataValue.setContentBytes(byte[]) may expose internal representation by storing an externally mutable object into SignatureTransformDataValue.contentBytes MALICIOUS_CODE EI_EXPOSE_REP2 78 Medium

org.apache.juddi.model.SignatureValue

Bug Category Details Line Priority
org.apache.juddi.model.SignatureValue.getValue() may expose internal representation by returning SignatureValue.value MALICIOUS_CODE EI_EXPOSE_REP 51 Medium
org.apache.juddi.model.SignatureValue.setValue(byte[]) may expose internal representation by storing an externally mutable object into SignatureValue.value MALICIOUS_CODE EI_EXPOSE_REP2 55 Medium

org.apache.juddi.model.SignedInfo

Bug Category Details Line Priority
Class org.apache.juddi.model.SignedInfo defines non-transient non-serializable instance field canonicalizationMethod BAD_PRACTICE SE_BAD_FIELD Not available High
Class org.apache.juddi.model.SignedInfo defines non-transient non-serializable instance field reference BAD_PRACTICE SE_BAD_FIELD Not available High
Class org.apache.juddi.model.SignedInfo defines non-transient non-serializable instance field signatureMethod BAD_PRACTICE SE_BAD_FIELD Not available High

org.apache.juddi.model.Subscription

Bug Category Details Line Priority
org.apache.juddi.model.Subscription.getCreateDate() may expose internal representation by returning Subscription.createDate MALICIOUS_CODE EI_EXPOSE_REP 152 Medium
org.apache.juddi.model.Subscription.getExpiresAfter() may expose internal representation by returning Subscription.expiresAfter MALICIOUS_CODE EI_EXPOSE_REP 117 Medium
org.apache.juddi.model.Subscription.getLastNotified() may expose internal representation by returning Subscription.lastNotified MALICIOUS_CODE EI_EXPOSE_REP 142 Medium
org.apache.juddi.model.Subscription.setCreateDate(Date) may expose internal representation by storing an externally mutable object into Subscription.createDate MALICIOUS_CODE EI_EXPOSE_REP2 156 Medium
org.apache.juddi.model.Subscription.setExpiresAfter(Date) may expose internal representation by storing an externally mutable object into Subscription.expiresAfter MALICIOUS_CODE EI_EXPOSE_REP2 120 Medium
org.apache.juddi.model.Subscription.setLastNotified(Date) may expose internal representation by storing an externally mutable object into Subscription.lastNotified MALICIOUS_CODE EI_EXPOSE_REP2 146 Medium
org.apache.juddi.model.Subscription defines compareTo(Subscription) and uses Object.equals() BAD_PRACTICE EQ_COMPARETO_USE_OBJECT_EQUALS 160-162 Medium

org.apache.juddi.model.SubscriptionChunkToken

Bug Category Details Line Priority
org.apache.juddi.model.SubscriptionChunkToken.getEndPoint() may expose internal representation by returning SubscriptionChunkToken.endPoint MALICIOUS_CODE EI_EXPOSE_REP 80 Medium
org.apache.juddi.model.SubscriptionChunkToken.getExpiresAfter() may expose internal representation by returning SubscriptionChunkToken.expiresAfter MALICIOUS_CODE EI_EXPOSE_REP 97 Medium
org.apache.juddi.model.SubscriptionChunkToken.getStartPoint() may expose internal representation by returning SubscriptionChunkToken.startPoint MALICIOUS_CODE EI_EXPOSE_REP 71 Medium
org.apache.juddi.model.SubscriptionChunkToken.setEndPoint(Date) may expose internal representation by storing an externally mutable object into SubscriptionChunkToken.endPoint MALICIOUS_CODE EI_EXPOSE_REP2 83 Medium
org.apache.juddi.model.SubscriptionChunkToken.setExpiresAfter(Date) may expose internal representation by storing an externally mutable object into SubscriptionChunkToken.expiresAfter MALICIOUS_CODE EI_EXPOSE_REP2 100 Medium
org.apache.juddi.model.SubscriptionChunkToken.setStartPoint(Date) may expose internal representation by storing an externally mutable object into SubscriptionChunkToken.startPoint MALICIOUS_CODE EI_EXPOSE_REP2 74 Medium

org.apache.juddi.model.Tmodel

Bug Category Details Line Priority
new org.apache.juddi.model.Tmodel(String, String, String, String, String, boolean, Date, List, List, List, TmodelCategoryBag) may expose internal representation by storing an externally mutable object into Tmodel.modified MALICIOUS_CODE EI_EXPOSE_REP2 69 Medium
new org.apache.juddi.model.Tmodel(String, String, Date) may expose internal representation by storing an externally mutable object into Tmodel.modified MALICIOUS_CODE EI_EXPOSE_REP2 56 Medium

org.apache.juddi.model.TransferToken

Bug Category Details Line Priority
org.apache.juddi.model.TransferToken.getExpirationDate() may expose internal representation by returning TransferToken.expirationDate MALICIOUS_CODE EI_EXPOSE_REP 59 Medium
new org.apache.juddi.model.TransferToken(String, Date, List) may expose internal representation by storing an externally mutable object into TransferToken.expirationDate MALICIOUS_CODE EI_EXPOSE_REP2 43 Medium
org.apache.juddi.model.TransferToken.setExpirationDate(Date) may expose internal representation by storing an externally mutable object into TransferToken.expirationDate MALICIOUS_CODE EI_EXPOSE_REP2 62 Medium

org.apache.juddi.model.UddiEntity

Bug Category Details Line Priority
org.apache.juddi.model.UddiEntity.setCreated(Date) may expose internal representation by storing an externally mutable object into UddiEntity.created MALICIOUS_CODE EI_EXPOSE_REP2 64 Medium
org.apache.juddi.model.UddiEntity.setModified(Date) may expose internal representation by storing an externally mutable object into UddiEntity.modified MALICIOUS_CODE EI_EXPOSE_REP2 77 Medium
org.apache.juddi.model.UddiEntity.setModifiedIncludingChildren(Date) may expose internal representation by storing an externally mutable object into UddiEntity.modifiedIncludingChildren MALICIOUS_CODE EI_EXPOSE_REP2 90 Medium

org.apache.juddi.query.FindEntityByCombinedCategoryQuery

Bug Category Details Line Priority
String is incompatible with expected argument type org.uddi.api_v3.KeyedReference in org.apache.juddi.query.FindEntityByCombinedCategoryQuery.select(EntityManager, FindQualifiers, CategoryBag, List, DynamicQuery$Parameter[]) CORRECTNESS GC_UNRELATED_TYPES 182 High
org.apache.juddi.query.FindEntityByCombinedCategoryQuery.select(EntityManager, FindQualifiers, CategoryBag, List, DynamicQuery$Parameter[]) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 159 Medium

org.apache.juddi.subscription.SubscriptionNotifier

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive org.apache.juddi.subscription.SubscriptionNotifier.registryMayContainUpdates() PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 126 High
Write to static field org.apache.juddi.subscription.SubscriptionNotifier.lastBadNotificationReset from instance method org.apache.juddi.subscription.SubscriptionNotifier.run() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 144 Medium

org.apache.juddi.subscription.notify.SMTPNotifier

Bug Category Details Line Priority
org.apache.juddi.subscription.notify.SMTPNotifier.mailProps should be package protected MALICIOUS_CODE MS_PKGPROTECT 73 Medium

org.apache.juddi.subscription.notify.USERFRIENDLYSMTPNotifier

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in org.apache.juddi.subscription.notify.USERFRIENDLYSMTPNotifier.notifySubscriptionListener(NotifySubscriptionListener) STYLE REC_CATCH_EXCEPTION 326 Medium

org.apache.juddi.validation.ValidateNode

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in org.apache.juddi.validation.ValidateNode.validateNode(Node) STYLE REC_CATCH_EXCEPTION 113 Medium

org.apache.juddi.validation.ValidateReplication

Bug Category Details Line Priority
Inconsistent synchronization of org.apache.juddi.validation.ValidateReplication.ds; locked 40% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 210 Medium
Useless object stored in variable x of method org.apache.juddi.validation.ValidateReplication.validateTransfer(EntityManager, TransferCustody) STYLE UC_USELESS_OBJECT 309 Medium

org.apache.juddi.validation.ValidateUDDIKey

Bug Category Details Line Priority
instanceof will always return true for all non-null values in org.apache.juddi.validation.ValidateUDDIKey.validateUDDIv3KeyGeneratorTModel(TModel), since all org.uddi.api_v3.KeyedReference are instances of org.uddi.api_v3.KeyedReference STYLE BC_VACUOUS_INSTANCEOF 90 Medium