File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
spring-oxm/src/main/java/org/springframework/oxm/jaxb Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright 2002-2013 the original author or authors.
2+ * Copyright 2002-2015 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -104,7 +104,7 @@ public Class<?>[] scanPackages() throws UncategorizedMappingException {
104104
105105 protected boolean isJaxb2Class (MetadataReader reader , MetadataReaderFactory factory ) throws IOException {
106106 for (TypeFilter filter : JAXB2_TYPE_FILTERS ) {
107- if (filter .match (reader , factory )) {
107+ if (filter .match (reader , factory ) && ! reader . getClassMetadata (). isInterface () ) {
108108 return true ;
109109 }
110110 }
You can’t perform that action at this time.
0 commit comments