Comply with Axel's code style :-D

This commit is contained in:
Daniel Brinkmann committed 2011-07-15 10:25:05 +02:00
1 parent 214527501d
commit b77d5020aa
1 file changed
+3 -2
@@ -531,10 +531,11 @@ public class RaceMapPanel extends FormPanel implements EventDisplayer, TimeListe
public void onResize() {
//handle what is required by @link{ProvidesResize}
Widget child = getWidget();
if (child instanceof RequiresResize)
if (child instanceof RequiresResize) {
((RequiresResize) child).onResize();
}
//and ensure the map (indirect child) is also informed about resize
if(this.map != null){
if (this.map != null) {
this.map.onResize();
}
}