Skip to content

Commit

Permalink
Merge pull request #294 from CorvusYe/master
Browse files Browse the repository at this point in the history
fix: style check
  • Loading branch information
wey-gu authored Apr 19, 2024
2 parents 0db5df3 + b2f20ed commit 4058ee1
Showing 1 changed file with 5 additions and 4 deletions.
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

0 comments on commit 4058ee1

Please sign in to comment.