ws-wsif-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject cvs commit: xml-axis-wsif/java/src/org/apache/wsif/base WSIFServiceImpl.java
Date Thu, 17 Apr 2003 10:39:02 GMT
antelder    2003/04/17 03:39:02

  Modified:    java/src/org/apache/wsif/base WSIFServiceImpl.java
  Log:
  Fix bug from previous tidy up
  
  Revision  Changes    Path
  1.38      +5 -3      xml-axis-wsif/java/src/org/apache/wsif/base/WSIFServiceImpl.java
  
  Index: WSIFServiceImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/base/WSIFServiceImpl.java,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- WSIFServiceImpl.java	17 Apr 2003 10:17:47 -0000	1.37
  +++ WSIFServiceImpl.java	17 Apr 2003 10:39:01 -0000	1.38
  @@ -562,7 +562,8 @@
       public WSIFPort getPort() throws WSIFException {
           Trc.entry(this);
           WSIFPort wp = null;
  -        if (preferredPort != null && availablePorts.get(preferredPort) != null)
{
  +        if (preferredPort != null
  +            && availablePorts.get(preferredPort) != null) {
               wp = getPort(this.preferredPort);
           } else {
               if (preferredPort != null)
  @@ -583,7 +584,7 @@
           if (portName == null) {
               // Get first available port
               if (availablePorts.size() > 0) {
  -                port = (Port) availablePorts.entrySet().iterator().next();
  +                port = (Port) availablePorts.values().iterator().next();
               }
               if (port == null) {
                   throw new WSIFException("Unable to find an available port");
  @@ -602,7 +603,8 @@
           WSIFPort portInstance = createDynamicWSIFPort(def, service, port);
           if (portInstance == null) {
               throw new WSIFException(
  -                "Provider was unable to create WSIFPort for port " + port.getName());
  +                "Provider was unable to create WSIFPort for port "
  +                    + port.getName());
           }
   
           // Store the chosen port so that we can query which was is being used
  
  
  

Mime
View raw message