Hi,

I am starting on axis2 (1.5.4). After doing a wsdl2java code generation, I was 
looking into the artifacts. 

For a service that accepts a String and returns a String an ADBean was 
generated 
for the in-out params. The bean has some fields and booleans to indicate if the 
value has been set for serialization/de-serialization, but could not understand 
the following code:
 /**
                               * Auto generated setter method
                               * @param param Value
                               */
                               public void setValue(java.lang.String param){
                            
                                       if (param != null){
                                          //update the setting tracker
                                          localValueTracker = true;
                                       } else {
                                          localValueTracker = true;
                                              
                                       }
                                   
                                            this.localValue=param;
                                    

                               }
I mean localValueTracker is always set to true. Is this correct? I imagine that 
for the case that param == null the localValueTracker would be set to false. 


Thank you



      

Reply via email to