From fb39890cbda8d12e5562644c5a53e64b4126c1b4 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Tue, 8 Mar 2011 22:36:39 +0000 Subject: [PATCH] Refine and elaborate this warning message. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6528 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/main/java/com/threerings/io/FieldMarshaller.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/threerings/io/FieldMarshaller.java b/src/main/java/com/threerings/io/FieldMarshaller.java index 9ca834842..fad908718 100644 --- a/src/main/java/com/threerings/io/FieldMarshaller.java +++ b/src/main/java/com/threerings/io/FieldMarshaller.java @@ -119,7 +119,9 @@ public abstract class FieldMarshaller if (fm == null) { Class collClass = Streamer.getCollectionClass(ftype); if (collClass != null && !collClass.equals(ftype)) { - log.warning("Specific field types are discouraged for Collections and Maps.", + log.warning("Specific field types are discouraged " + + "for Iterables/Collections and Maps. The implementation type may not be " + + "recreated on the other side.", "class", field.getDeclaringClass(), "field", field.getName(), "type", ftype, "shouldBe", collClass); fm = _marshallers.get(collClass);