提交 347c2daa 编写于 作者: J Juergen Hoeller

Test for multiple interfaces at BridgeMethodResolver level

Issue: SPR-16288
上级 e39bf87b
/* /*
* Copyright 2002-2017 the original author or authors. * Copyright 2002-2018 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -807,9 +807,9 @@ public class BridgeMethodResolverTests { ...@@ -807,9 +807,9 @@ public class BridgeMethodResolverTests {
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
public static class MessageBroadcasterImpl extends public static class MessageBroadcasterImpl extends GenericEventBroadcasterImpl<MessageEvent>
GenericEventBroadcasterImpl<MessageEvent> implements Serializable, // implement an unrelated interface first (SPR-16288)
implements MessageBroadcaster { MessageBroadcaster {
public MessageBroadcasterImpl() { public MessageBroadcasterImpl() {
super(NewMessageEvent.class); super(NewMessageEvent.class);
...@@ -964,8 +964,8 @@ public class BridgeMethodResolverTests { ...@@ -964,8 +964,8 @@ public class BridgeMethodResolverTests {
} }
public static class HibernateRepositoryRegistry extends public static class HibernateRepositoryRegistry
SettableRepositoryRegistry<GenericHibernateRepository<?, ?>> { extends SettableRepositoryRegistry<GenericHibernateRepository<?, ?>> {
@Override @Override
public void injectInto(GenericHibernateRepository<?, ?> rep) { public void injectInto(GenericHibernateRepository<?, ?> rep) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册