mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-09 12:27:12 +08:00
BorderLayout.java (addLayoutComponent): Added missing `else'.
* java/awt/BorderLayout.java (addLayoutComponent): Added missing `else'. From-SVN: r49172
This commit is contained in:
parent
92bc8733c6
commit
619e2b8493
@ -1,5 +1,8 @@
|
||||
2002-01-23 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* java/awt/BorderLayout.java (addLayoutComponent): Added missing
|
||||
`else'.
|
||||
|
||||
* Makefile.in: Rebuilt.
|
||||
* Makefile.am (awt_java_source_files): Added new files.
|
||||
* java/awt/Toolkit.java: Merged with Classpath.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user