[jboss-cvs] jboss-seam/src/main/org/jboss/seam/util ...

Gavin King gavin.king at jboss.com
Fri Oct 27 08:58:10 EDT 2006


  User: gavin   
  Date: 06/10/27 08:58:10

  Modified:    src/main/org/jboss/seam/util  Conversions.java
  Log:
  use a component to persist page-scoped data
  change how page parameters are stored
  improve test harness
  
  Revision  Changes    Path
  1.7       +6 -0      jboss-seam/src/main/org/jboss/seam/util/Conversions.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Conversions.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/util/Conversions.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- Conversions.java	25 Oct 2006 15:14:38 -0000	1.6
  +++ Conversions.java	27 Oct 2006 12:58:10 -0000	1.7
  @@ -222,6 +222,10 @@
   
         public FlatPropertyValue(String string)
         {
  +         if (string==null)
  +         {
  +            throw new IllegalArgumentException();
  +         }
            this.string = string;
         }
   
  @@ -260,6 +264,7 @@
   
         public MultiPropertyValue(String[] strings)
         {
  +         if (strings==null) throw new IllegalArgumentException();
            this.strings = strings;
         }
   
  @@ -298,6 +303,7 @@
   
         public AssociativePropertyValue(Map<String, String> keyedValues)
         {
  +         if (keyedValues==null) throw new IllegalArgumentException();
            this.keyedValues = keyedValues;
         }
   
  
  
  



More information about the jboss-cvs-commits mailing list