Skip to content

Commit 81729c6

Browse files
committed
Edited comments to distinguish old google code issues [ci skip].
1 parent 702bcde commit 81729c6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/main/java/org/apache/ibatis/builder/annotation/MapperAnnotationBuilder.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ void parseStatement(Method method) {
336336
resultSetType,
337337
flushCache,
338338
useCache,
339-
// TODO issue #577
339+
// TODO gcode issue #577
340340
false,
341341
keyGenerator,
342342
keyProperty,
@@ -376,7 +376,7 @@ private Class<?> getParameterType(Method method) {
376376

377377
private Class<?> getReturnType(Method method) {
378378
Class<?> returnType = method.getReturnType();
379-
// issue #508
379+
// gcode issue #508
380380
if (void.class.equals(returnType)) {
381381
ResultType rt = method.getAnnotation(ResultType.class);
382382
if (rt != null) {
@@ -391,17 +391,17 @@ private Class<?> getReturnType(Method method) {
391391
if (returnTypeParameter instanceof Class) {
392392
returnType = (Class<?>) returnTypeParameter;
393393
} 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
395395
returnType = (Class<?>) ((ParameterizedType) returnTypeParameter).getRawType();
396396
} else if (returnTypeParameter instanceof GenericArrayType) {
397397
Class<?> componentType = (Class<?>) ((GenericArrayType) returnTypeParameter).getGenericComponentType();
398-
// (issue #525) support List<byte[]>
398+
// (gcode issue #525) support List<byte[]>
399399
returnType = Array.newInstance(componentType, 0).getClass();
400400
}
401401
}
402402
}
403403
} 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
405405
Type returnTypeParameter = method.getGenericReturnType();
406406
if (returnTypeParameter instanceof ParameterizedType) {
407407
Type[] actualTypeArguments = ((ParameterizedType) returnTypeParameter).getActualTypeArguments();
@@ -410,7 +410,7 @@ private Class<?> getReturnType(Method method) {
410410
if (returnTypeParameter instanceof Class) {
411411
returnType = (Class<?>) returnTypeParameter;
412412
} 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
414414
returnType = (Class<?>) ((ParameterizedType) returnTypeParameter).getRawType();
415415
}
416416
}

0 commit comments

Comments
 (0)