Explicitly handle the other cases of the enum in the switch so it's clear we mean to do nothing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6540 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -266,6 +266,10 @@ public abstract class Streamer
|
|||||||
return new ByteEnumStreamer(target);
|
return new ByteEnumStreamer(target);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case NAME:
|
||||||
|
case ORDINAL:
|
||||||
|
// We explicitly do nothing here...
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (ENUM_POLICY) {
|
switch (ENUM_POLICY) {
|
||||||
|
|||||||
Reference in New Issue
Block a user