|
41 | 41 | import com.github.rholder.retry.StopStrategies; |
42 | 42 | import com.github.rholder.retry.WaitStrategies; |
43 | 43 | import com.google.common.base.Predicate; |
44 | | -import java.lang.annotation.Annotation; |
45 | | -import java.util.*; |
46 | | -import java.util.concurrent.TimeUnit; |
47 | | -import java.util.concurrent.atomic.AtomicBoolean; |
48 | | -import javax.annotation.Resource; |
49 | | -import javax.ws.rs.Path; |
50 | | -import javax.ws.rs.ext.Provider; |
51 | 44 | import org.apache.commons.collections.CollectionUtils; |
52 | 45 | import org.apache.commons.lang.StringUtils; |
53 | 46 | import org.glassfish.jersey.server.ResourceConfig; |
54 | 47 | import org.springframework.beans.factory.annotation.Autowired; |
55 | 48 | import org.springframework.context.ApplicationContext; |
56 | 49 |
|
| 50 | +import javax.annotation.Resource; |
| 51 | +import javax.ws.rs.Path; |
| 52 | +import javax.ws.rs.ext.Provider; |
| 53 | +import java.lang.annotation.Annotation; |
| 54 | +import java.util.*; |
| 55 | +import java.util.concurrent.TimeUnit; |
| 56 | +import java.util.concurrent.atomic.AtomicBoolean; |
| 57 | + |
57 | 58 | /** |
58 | 59 | * @author shangyu.wh |
59 | 60 | * @version $Id: MetaServerBootstrap.java, v 0.1 2018-01-16 11:28 shangyu.wh Exp $ |
@@ -267,7 +268,7 @@ private void openSessionRegisterServer() { |
267 | 268 | } |
268 | 269 |
|
269 | 270 | protected Collection<AbstractServerHandler> customSessionServerHandlers() { |
270 | | - return Collections.emptyList(); |
| 271 | + return new ArrayList<>(); |
271 | 272 | } |
272 | 273 |
|
273 | 274 | private void openDataRegisterServer() { |
|
0 commit comments