Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: style check #294

Merged
merged 2 commits into from
Apr 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -340,10 +340,10 @@ public static void relationshipToResultType(Object o, String fieldName,
* 当returnType是集合时,为范型。否则与 returnType 相同
* @param v 节点类型
* @throws IllegalAccessException 当 id 值的类型,与
* v 中,通过 id(n) 获取到的类型不匹配时报错
* v 中,通过 id(n) 获取到的类型不匹配时报错,当属性被 final 修饰时报错
*/
public static void setId(Object obj, Class<?> resultType, Node v)
throws IllegalAccessException {
throws IllegalAccessException {
Field pkField = getPkField(resultType);
ValueWrapper idWrapper = v.getId();
Object id = ResultSetUtil.getValue(idWrapper);
Expand All @@ -356,10 +356,11 @@ public static void setId(Object obj, Class<?> resultType, Node v)
* @param obj 边的 java 对象
* @param resultType 边的 java 对象的类型
* @param e nebula 中的关系对象
* @throws IllegalAccessException
* @throws IllegalAccessException 当 ranking 值的类型,与
* e 中的 ranking 值的类型不匹配时报错,当属性被 final 修饰时报错
*/
public static void setRanking(Object obj, Class<?> resultType, Relationship e)
throws IllegalAccessException {
throws IllegalAccessException {
Field pkField = getPkField(resultType, false);
if (pkField == null) {
return;
Expand Down
Loading