jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From morg...@apache.org
Subject cvs commit: jakarta-taglibs/jdbc/src/org/apache/taglibs/jdbc/resultset BaseGetterTEI.java
Date Fri, 09 Feb 2001 17:10:34 GMT
morgand     01/02/09 09:10:34

  Modified:    jdbc/src/org/apache/taglibs/jdbc/resultset
                        BaseGetterTEI.java
  Log:
  Added better error message to standard out
  
  Revision  Changes    Path
  1.2       +6 -3      jakarta-taglibs/jdbc/src/org/apache/taglibs/jdbc/resultset/BaseGetterTEI.java
  
  Index: BaseGetterTEI.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/jdbc/src/org/apache/taglibs/jdbc/resultset/BaseGetterTEI.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- BaseGetterTEI.java	2001/02/09 01:11:41	1.1
  +++ BaseGetterTEI.java	2001/02/09 17:10:32	1.2
  @@ -86,12 +86,15 @@
           bName = true;
       }
   
  -    if (bPosition && bName)
  +    if (bPosition && bName) {
  +      System.out.println("Error: Get tags must not set _both_ the colName and position
attributes");
         return false;
  +    }
   
  -
  -    if (!bPosition && !bName)
  +    if (!bPosition && !bName) {
  +      System.out.println("Error: Get tags must not set _either_ the colName and position
attribute");
         return false;
  +    }
   
       return true;
     }
  
  
  

Mime
View raw message