Skip to content

Commit 10f011d

Browse files
committed
#22 - Further work on generics / parameterized-types
1 parent 6e5b516 commit 10f011d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/org/hibernate/models/internal/jandex/JandexTypeSwitchStandard.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ public TypeDetails caseArrayType(ArrayType arrayType, SourceModelBuildingContext
120120
}
121121

122122
@Override
123-
public TypeDetails defaultCase(Type t, SourceModelBuildingContext buildingContext) {
124-
throw new UnsupportedOperationException( "Not yet implemented - " + this );
123+
public TypeDetails defaultCase(Type type, SourceModelBuildingContext buildingContext) {
124+
throw new UnsupportedOperationException( "Unexpected Type kind - " + type );
125125
}
126126

127127
private static List<TypeDetails> extractTypeParameters(

src/main/java/org/hibernate/models/internal/jdk/JdkTrackingTypeSwitch.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public TypeDetails caseGenericArrayType(GenericArrayType genericArrayType) {
108108
}
109109

110110
public TypeDetails defaultCase(Type type) {
111-
throw new UnsupportedOperationException( "Not yet implemented" );
111+
throw new UnsupportedOperationException( "Unexpected Type kind - " + type );
112112
}
113113

114114
private ArrayTypeDetails asArrayType(Class<?> arrayClass) {

0 commit comments

Comments
 (0)