axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donnie Hale (JIRA)" <>
Subject [jira] Created: (AXIS-1740) Dead and/or Incomplete Code in JavaProvider / SOAPService
Date Sat, 01 Jan 2005 19:09:38 GMT
Dead and/or Incomplete Code in JavaProvider / SOAPService

         Key: AXIS-1740
     Project: Axis
        Type: Bug
    Versions: 1.2RC2    
 Environment: Axis 1.2RC2. Observed while single-stepping through code in debugger.
    Reporter: Donnie Hale
    Priority: Minor

In JavaProvider.getServiceObject, there's a branch to handle the condition if the service
scope is "Scope.FACTORY". In trying to find out what functionality that scope might support
(I hadn't seen mention of it in any documentation), I noticed that this branch of code references
the SOAPService.serviceObjects public member variable. Looking at the SOAPService code, I
see that this variable is a Map and references a HashMap instance. However, I've searched
the entire code base and found no place where anything is ever placed into that map. So the
branch in JavaProvider looking for a key which comes from the MessageContext's properties
(msgContext.getStrProp("objectID")) will never succeed.

I've searched the entire code base for the following: "serviceObjects", "objectID", and "Scope.FACTORY".
I've not found anything that gives me a hint as to what is / was supposed to be happening

I'm wondering if this is dead code from eliminating previous functionality or incomplete code
for implementing new functionality. I did search the bug list before posting this. If it's
a duplicate, my apologies...

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message