@@ -336,7 +336,7 @@ void parseStatement(Method method) {
336
336
resultSetType ,
337
337
flushCache ,
338
338
useCache ,
339
- // TODO issue #577
339
+ // TODO gcode issue #577
340
340
false ,
341
341
keyGenerator ,
342
342
keyProperty ,
@@ -376,7 +376,7 @@ private Class<?> getParameterType(Method method) {
376
376
377
377
private Class <?> getReturnType (Method method ) {
378
378
Class <?> returnType = method .getReturnType ();
379
- // issue #508
379
+ // gcode issue #508
380
380
if (void .class .equals (returnType )) {
381
381
ResultType rt = method .getAnnotation (ResultType .class );
382
382
if (rt != null ) {
@@ -391,17 +391,17 @@ private Class<?> getReturnType(Method method) {
391
391
if (returnTypeParameter instanceof Class ) {
392
392
returnType = (Class <?>) returnTypeParameter ;
393
393
} else if (returnTypeParameter instanceof ParameterizedType ) {
394
- // (issue #443) actual type can be a also a parameterized type
394
+ // (gcode issue #443) actual type can be a also a parameterized type
395
395
returnType = (Class <?>) ((ParameterizedType ) returnTypeParameter ).getRawType ();
396
396
} else if (returnTypeParameter instanceof GenericArrayType ) {
397
397
Class <?> componentType = (Class <?>) ((GenericArrayType ) returnTypeParameter ).getGenericComponentType ();
398
- // (issue #525) support List<byte[]>
398
+ // (gcode issue #525) support List<byte[]>
399
399
returnType = Array .newInstance (componentType , 0 ).getClass ();
400
400
}
401
401
}
402
402
}
403
403
} else if (method .isAnnotationPresent (MapKey .class ) && Map .class .isAssignableFrom (returnType )) {
404
- // (issue 504) Do not look into Maps if there is not MapKey annotation
404
+ // (gcode issue 504) Do not look into Maps if there is not MapKey annotation
405
405
Type returnTypeParameter = method .getGenericReturnType ();
406
406
if (returnTypeParameter instanceof ParameterizedType ) {
407
407
Type [] actualTypeArguments = ((ParameterizedType ) returnTypeParameter ).getActualTypeArguments ();
@@ -410,7 +410,7 @@ private Class<?> getReturnType(Method method) {
410
410
if (returnTypeParameter instanceof Class ) {
411
411
returnType = (Class <?>) returnTypeParameter ;
412
412
} else if (returnTypeParameter instanceof ParameterizedType ) {
413
- // (issue 443) actual type can be a also a parameterized type
413
+ // (gcode issue 443) actual type can be a also a parameterized type
414
414
returnType = (Class <?>) ((ParameterizedType ) returnTypeParameter ).getRawType ();
415
415
}
416
416
}
0 commit comments