juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From svi...@apache.org
Subject cvs commit: ws-juddi/src/java/org/apache/juddi/function FindTModelFunction.java FindPublisherFunction.java FindBusinessFunction.java SaveBusinessFunction.java FindServiceFunction.java
Date Thu, 03 Jun 2004 14:27:11 GMT
sviens      2004/06/03 07:27:11

  Modified:    src/java/org/apache/juddi/function FindTModelFunction.java
                        FindPublisherFunction.java
                        FindBusinessFunction.java SaveBusinessFunction.java
                        FindServiceFunction.java
  Log:
  Renamed maxNameElements() method to maxNameElementsAllowed() to match the other maxXxxAllowed
methods and properties.
  
  Revision  Changes    Path
  1.6       +1 -1      ws-juddi/src/java/org/apache/juddi/function/FindTModelFunction.java
  
  Index: FindTModelFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/FindTModelFunction.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- FindTModelFunction.java	30 Apr 2004 03:52:24 -0000	1.5
  +++ FindTModelFunction.java	3 Jun 2004 14:27:10 -0000	1.6
  @@ -94,7 +94,7 @@
           // names can not exceed the maximum character length specified by the
           // UDDI specification (v2.0 specifies a max character length of 255). This
           // value is configurable in jUDDI.
  -        int maxNameLength = Config.getMaxNameLength();
  +        int maxNameLength = Config.getMaxNameLengthAllowed();
           if (name.length() > maxNameLength)
             throw new NameTooLongException(name+" (max_name="+maxNameLength+")");
         }
  
  
  
  1.6       +1 -1      ws-juddi/src/java/org/apache/juddi/function/FindPublisherFunction.java
  
  Index: FindPublisherFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/FindPublisherFunction.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- FindPublisherFunction.java	30 Apr 2004 03:52:24 -0000	1.5
  +++ FindPublisherFunction.java	3 Jun 2004 14:27:10 -0000	1.6
  @@ -100,7 +100,7 @@
           // names can not exceed the maximum character length specified by the
           // UDDI specification (v2.0 specifies a max character length of 255). This
           // value is configurable in jUDDI.
  -        int maxNameLength = Config.getMaxNameLength();
  +        int maxNameLength = Config.getMaxNameLengthAllowed();
           if (name.length() > maxNameLength)
             throw new NameTooLongException("Name: '"+name+"' (max="+maxNameLength+")");
         }
  
  
  
  1.6       +1 -1      ws-juddi/src/java/org/apache/juddi/function/FindBusinessFunction.java
  
  Index: FindBusinessFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/FindBusinessFunction.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- FindBusinessFunction.java	30 Apr 2004 03:52:24 -0000	1.5
  +++ FindBusinessFunction.java	3 Jun 2004 14:27:10 -0000	1.6
  @@ -128,7 +128,7 @@
           // names can not exceed the maximum character length specified by the
           // UDDI specification (v2.0 specifies a max character length of 255). This
           // value is configurable in jUDDI.
  -        int maxNameLength = Config.getMaxNameLength();
  +        int maxNameLength = Config.getMaxNameLengthAllowed();
           for (int i = 0; i < nameVector.size(); i++)
           {
             String name = ((Name) nameVector.elementAt(i)).getValue();
  
  
  
  1.6       +1 -1      ws-juddi/src/java/org/apache/juddi/function/SaveBusinessFunction.java
  
  Index: SaveBusinessFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/SaveBusinessFunction.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- SaveBusinessFunction.java	30 Apr 2004 03:52:24 -0000	1.5
  +++ SaveBusinessFunction.java	3 Jun 2004 14:27:10 -0000	1.6
  @@ -266,7 +266,7 @@
       {
         // get the DiscoveryURL from the juddi properties file
         StringBuffer siteURL = new StringBuffer();
  -      siteURL.append(Config.getOperatorSiteURL());
  +      siteURL.append(Config.getOperatorURL());
         siteURL.append("/discovery?businessKey=");
         siteURL.append(business.getBusinessKey());
         // add to the business entity
  
  
  
  1.6       +1 -1      ws-juddi/src/java/org/apache/juddi/function/FindServiceFunction.java
  
  Index: FindServiceFunction.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/function/FindServiceFunction.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- FindServiceFunction.java	30 Apr 2004 03:52:24 -0000	1.5
  +++ FindServiceFunction.java	3 Jun 2004 14:27:10 -0000	1.6
  @@ -103,7 +103,7 @@
           // names can not exceed the maximum character length specified by the
           // UDDI specification (v2.0 specifies a max character length of 255). This
           // value is configurable in jUDDI.
  -        int maxNameLength = Config.getMaxNameLength();
  +        int maxNameLength = Config.getMaxNameLengthAllowed();
           for (int i=0; i<nameVector.size(); i++)
           {
             String name = ((Name)nameVector.elementAt(i)).getValue();
  
  
  

Mime
View raw message