From c24d78a0ea1a1a92d49a256a4e2c87e871a6b54f Mon Sep 17 00:00:00 2001 From: Dave Hoover Date: Fri, 1 Aug 2008 18:53:52 +0000 Subject: [PATCH] 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 --- src/java/com/threerings/io/FieldMarshaller.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/java/com/threerings/io/FieldMarshaller.java b/src/java/com/threerings/io/FieldMarshaller.java index b9fdb399f..c598cefc7 100644 --- a/src/java/com/threerings/io/FieldMarshaller.java +++ b/src/java/com/threerings/io/FieldMarshaller.java @@ -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) {