litesoft
Diff Revisions
720
vs
726
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/util/StyledSafeTextMessageUserSink.java
|
@@ -144,7 +144,7 @@ |
144 |
144 |
|
|
145 |
145 |
|
private static class Manager |
146 |
146 |
|
{ |
147 |
|
- |
private final List<String>[] mMessagesByPriority = cast( new List[Priority.values().length] ); |
|
147 |
+ |
private final List<String>[] mMessagesByPriority = UtilsCommon.cast( new List[Priority.values().length] ); |
148 |
148 |
|
|
149 |
149 |
|
{ |
150 |
150 |
|
for ( int i = 0; i < mMessagesByPriority.length; i++ ) |
|
@@ -209,12 +209,6 @@ |
209 |
209 |
|
return null; |
210 |
210 |
|
} |
211 |
211 |
|
|
212 |
|
- |
@SuppressWarnings({"unchecked"}) |
213 |
|
- |
private static <T> T cast( Object pObject ) |
214 |
|
- |
{ |
215 |
|
- |
return (T) pObject; |
216 |
|
- |
} |
217 |
|
- |
|
218 |
212 |
|
public void removeMessage( String pMessage ) |
219 |
213 |
|
{ |
220 |
214 |
|
for ( Priority zPriority : Priority.values() ) |