From: Martijn D. <das...@us...> - 2006-01-29 22:36:19
|
Update of /cvsroot/wicket-stuff/wicket-flickr/src/main/java/wicket/examples/flickr/ajax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16593/src/main/java/wicket/examples/flickr/ajax Modified Files: Index.java Log Message: nullpointer fixed Index: Index.java =================================================================== RCS file: /cvsroot/wicket-stuff/wicket-flickr/src/main/java/wicket/examples/flickr/ajax/Index.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Index.java 29 Jan 2006 21:52:56 -0000 1.1 --- Index.java 29 Jan 2006 22:36:09 -0000 1.2 *************** *** 84,87 **** --- 84,88 ---- // get the new image URL's from flickr FlickrDao flickr = new FlickrDao(); + if(tags == null) tags = ""; images.addAll(flickr.getSmallSquareImages(tags.split(" "))); |