butek       02/02/02 07:43:51

  Modified:    java/src/org/apache/axis/wsdl/toJava JavaWriterFactory.java
  Log:
  Indentation was off by one.
  
  Revision  Changes    Path
  1.10      +12 -12    
xml-axis/java/src/org/apache/axis/wsdl/toJava/JavaWriterFactory.java
  
  Index: JavaWriterFactory.java
  ===================================================================
  RCS file: 
/home/cvs/xml-axis/java/src/org/apache/axis/wsdl/toJava/JavaWriterFactory.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- JavaWriterFactory.java    2 Feb 2002 15:23:06 -0000       1.9
  +++ JavaWriterFactory.java    2 Feb 2002 15:43:51 -0000       1.10
  @@ -271,19 +271,19 @@
                           // else if (entry instanceof MessageEntry) {
                           //     we don't care about messages
                           // }
  -                         else if (entry instanceof BindingEntry) {
  -                             BindingEntry bEntry = (BindingEntry) entry;
  +                        else if (entry instanceof BindingEntry) {
  +                            BindingEntry bEntry = (BindingEntry) entry;
   
  -                             // If there is no literal use, then we never see a
  -                             // class named directly from the binding name.  They
  -                             // all have suffixes:  Stub, Skeleton, Impl.
  -                             // If there IS literal use, then the SDI will be
  -                             // named after the binding name, so there is the
  -                             // possibility of a name clash.
  -                             if (bEntry.hasLiteral()) {
  -                                 entry.setName(mangleName(entry.getName(),
  -                                         "_Binding"));
  -                             }
  +                            // If there is no literal use, then we never see a
  +                            // class named directly from the binding name.  They
  +                            // all have suffixes:  Stub, Skeleton, Impl.
  +                            // If there IS literal use, then the SDI will be
  +                            // named after the binding name, so there is the
  +                            // possibility of a name clash.
  +                            if (bEntry.hasLiteral()) {
  +                                entry.setName(mangleName(entry.getName(),
  +                                        "_Binding"));
  +                            }
                           }
                       }
                   }
  
  
  


Reply via email to