mirror of
https://github.com/google/nomulus
synced 2026-04-22 17:20:44 +00:00
Fix generics in EppXmlTransformer.unmarshal to not be only on the return type.
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124914271
This commit is contained in:
@@ -64,8 +64,8 @@ public class XjcXmlTransformer {
|
||||
return INSTANCE;
|
||||
}
|
||||
|
||||
public static <T> T unmarshal(InputStream stream) throws XmlException {
|
||||
return INSTANCE.unmarshal(stream);
|
||||
public static <T> T unmarshal(Class<T> clazz, InputStream stream) throws XmlException {
|
||||
return INSTANCE.unmarshal(clazz, stream);
|
||||
}
|
||||
|
||||
public static void marshalLenient(Object root, Writer writer) throws XmlException {
|
||||
|
||||
Reference in New Issue
Block a user