BorderLayout.java (addLayoutComponent): Added missing `else'.

* java/awt/BorderLayout.java (addLayoutComponent): Added missing
	`else'.

From-SVN: r49172
This commit is contained in:
Tom Tromey 2002-01-24 06:39:29 +00:00 committed by Tom Tromey
parent 92bc8733c6
commit 619e2b8493
2 changed files with 4 additions and 1 deletions

View file

@ -273,7 +273,7 @@ addLayoutComponent(Component component, Object constraints)
if (str == null || str.equals(CENTER))
center = component;
if (str.equals(NORTH))
else if (str.equals(NORTH))
north = component;
else if (str.equals(SOUTH))
south = component;