Skip to content
Snippets Groups Projects
Commit b09d6050 authored by brinn's avatar brinn
Browse files

Add some @SupressWarnings for "rawtypes" where it used to be "unchecked".

SVN: 25984
parent 0d628bdf
No related branches found
No related tags found
No related merge requests found
......@@ -113,7 +113,8 @@ public final class PropertyGrid extends Grid
* <li>given <var>clazz</var> is <code>null</code></li>
* </ul>
*/
@SuppressWarnings("unchecked")
@SuppressWarnings(
{ "unchecked", "rawtypes" })
private final <T> IPropertyValueRenderer<? super T> getPropertyValueRenderer(final T value)
{
if (value == null)
......
......@@ -86,7 +86,8 @@ public final class UploadServiceServlet extends AbstractCommandController
this(new SessionFilesSetter());
}
@SuppressWarnings("unchecked")
@SuppressWarnings(
{ "unchecked", "rawtypes" })
private final static Iterator<String> cast(final Iterator iterator)
{
return iterator;
......
......@@ -121,7 +121,8 @@ public final class AuthorizationAdvisor extends DefaultPointcutAdvisor
}
}
@SuppressWarnings("unchecked")
@SuppressWarnings(
{ "unchecked", "rawtypes" })
private final static Argument<?> toArgument(final Parameter<AuthorizationGuard> parameter,
final Object[] args)
{
......
......@@ -472,7 +472,8 @@ final public class AuthorizationDataProvider implements IAuthorizationDataProvid
* methods.
* </p>
*/
@SuppressWarnings("unchecked")
@SuppressWarnings(
{ "unchecked", "rawtypes" })
private static final <T> List<T> cast(final List list)
{
return list;
......
......@@ -88,7 +88,8 @@ public class PrimitiveValue implements IsSerializable, Serializable, Comparable<
}
@Override
@SuppressWarnings("unchecked")
@SuppressWarnings(
{ "unchecked", "rawtypes" })
public int compareTo(PrimitiveValue o)
{
Integer thisTypeOrdinal = getComparableDataTypeOrdinal();
......
......@@ -58,7 +58,8 @@ public class PropertyCheckingManager extends Assert
/**
* Checks the assertion for the specified properties.
*/
@SuppressWarnings("unchecked")
@SuppressWarnings(
{ "unchecked", "rawtypes" })
public void assertProperties(final Map<String, ?> actualProperties)
{
for (final Map.Entry<String, IValueAssertion> expectedProperty : expectedProperties
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment