litesoft
Diff Revisions
150
vs
151
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/nonpublic/AbstractSizeableOneDimensionalPanel.java
|
@@ -6,8 +6,7 @@ |
6 |
6 |
|
import com.google.gwt.user.client.*; |
7 |
7 |
|
import com.google.gwt.user.client.ui.*; |
8 |
8 |
|
|
9 |
|
- |
public abstract class AbstractSizeableOneDimensionalPanel extends AbstractSizeableHasAlignmentPanel |
10 |
|
- |
implements IndexedPanel |
|
9 |
+ |
public abstract class AbstractSizeableOneDimensionalPanel extends AbstractSizeableHasAlignmentPanel implements IndexedPanel |
11 |
10 |
|
{ |
12 |
11 |
|
private WidgetCollection mChildren = new WidgetCollection( this ); |
13 |
12 |
|
|
|
@@ -175,8 +174,7 @@ |
175 |
174 |
|
int index = mChildren.indexOf( pWidget ); |
176 |
175 |
|
if ( index == -1 ) |
177 |
176 |
|
{ |
178 |
|
- |
throw new IllegalStateException( |
179 |
|
- |
"Attempt to 'disown' widget (" + pWidget + ") not owned by: " + this ); |
|
177 |
+ |
throw new IllegalStateException( "Attempt to 'disown' widget (" + pWidget + ") not owned by: " + this ); |
180 |
178 |
|
} |
181 |
179 |
|
if ( aboutToDisown( pWidget, index ) ) |
182 |
180 |
|
{ |