Super pedantic warning mode freaks out about the check in there since it really
knows some of those states of nullness can't exist, but the conditional really reads nicely and conveys what's going on, so let's just suppress the warning. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5283 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -52,6 +52,7 @@ public abstract class FieldMarshaller
|
||||
* Returns a field marshaller appropriate for the supplied field or null if no marshaller
|
||||
* exists for the type contained by the field in question.
|
||||
*/
|
||||
@SuppressWarnings("null")
|
||||
public static FieldMarshaller getFieldMarshaller (Field field)
|
||||
{
|
||||
if (_marshallers == null) {
|
||||
|
||||
Reference in New Issue
Block a user