This commit is contained in:
@@ -8,6 +8,7 @@ package org.redkale.convert;
|
|||||||
import org.redkale.util.Attribute;
|
import org.redkale.util.Attribute;
|
||||||
import java.lang.reflect.*;
|
import java.lang.reflect.*;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
import org.redkale.util.Attribute.Attributes;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
@@ -131,7 +132,7 @@ public final class ObjectEncoder<W extends Writer, T> implements Encodeable<W, T
|
|||||||
}
|
}
|
||||||
fieldalias = ref == null || ref.name().isEmpty() ? mfieldname : ref.name();
|
fieldalias = ref == null || ref.name().isEmpty() ? mfieldname : ref.name();
|
||||||
}
|
}
|
||||||
return Attribute.create(clazz, fieldalias, field, getter, setter);
|
return Attributes.create(clazz, fieldalias, field, getter, setter);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void init(final Factory factory) {
|
public void init(final Factory factory) {
|
||||||
|
|||||||
Reference in New Issue
Block a user