From: Juergen H. <jho...@us...> - 2009-03-19 15:17:51
|
Update of /cvsroot/springframework/spring/test/org/springframework/beans In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv28750/test/org/springframework/beans Modified Files: TestBean.java ITestBean.java Log Message: fixed HTTP invoker to support resolution of multi-level primitive array classes again Index: ITestBean.java =================================================================== RCS file: /cvsroot/springframework/spring/test/org/springframework/beans/ITestBean.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** ITestBean.java 27 Mar 2007 20:04:37 -0000 1.12 --- ITestBean.java 19 Mar 2009 15:17:39 -0000 1.13 *************** *** 1,4 **** /* ! * Copyright 2002-2007 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); --- 1,4 ---- /* ! * Copyright 2002-2009 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); *************** *** 34,38 **** void setAge(int age); ! String getName(); void setName(String name); --- 34,38 ---- void setAge(int age); ! String getName(); void setName(String name); *************** *** 48,51 **** --- 48,67 ---- void setStringArray(String[] stringArray); + Integer[][] getNestedIntegerArray(); + + Integer[] getSomeIntegerArray(); + + void setSomeIntegerArray(Integer[] someIntegerArray); + + void setNestedIntegerArray(Integer[][] nestedIntegerArray); + + int[] getSomeIntArray(); + + void setSomeIntArray(int[] someIntArray); + + int[][] getNestedIntArray(); + + void setNestedIntArray(int[][] someNestedArray); + /** * Throws a given (non-null) exception. Index: TestBean.java =================================================================== RCS file: /cvsroot/springframework/spring/test/org/springframework/beans/TestBean.java,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** TestBean.java 15 Mar 2008 00:19:51 -0000 1.36 --- TestBean.java 19 Mar 2009 15:17:39 -0000 1.37 *************** *** 1,4 **** /* ! * Copyright 2002-2008 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); --- 1,4 ---- /* ! * Copyright 2002-2009 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); *************** *** 67,70 **** --- 67,76 ---- private Integer[] someIntegerArray; + private Integer[][] nestedIntegerArray; + + private int[] someIntArray; + + private int[][] nestedIntArray; + private Date date = new Date(); *************** *** 247,250 **** --- 253,280 ---- } + public Integer[][] getNestedIntegerArray() { + return nestedIntegerArray; + } + + public void setNestedIntegerArray(Integer[][] nestedIntegerArray) { + this.nestedIntegerArray = nestedIntegerArray; + } + + public int[] getSomeIntArray() { + return someIntArray; + } + + public void setSomeIntArray(int[] someIntArray) { + this.someIntArray = someIntArray; + } + + public int[][] getNestedIntArray() { + return nestedIntArray; + } + + public void setNestedIntArray(int[][] nestedIntArray) { + this.nestedIntArray = nestedIntArray; + } + public Date getDate() { return date; *************** *** 368,374 **** - /** - * @see ITestBean#exceptional(Throwable) - */ public void exceptional(Throwable t) throws Throwable { if (t != null) { --- 398,401 ---- *************** *** 380,393 **** throw new IOException(); } ! /** ! * @see ITestBean#returnsThis() ! */ public Object returnsThis() { return this; } - /** - * @see IOther#absquatulate() - */ public void absquatulate() { } --- 407,415 ---- throw new IOException(); } ! public Object returnsThis() { return this; } public void absquatulate() { } |