Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
爱吃血肠
spring-framework
提交
c1599734
S
spring-framework
项目概览
爱吃血肠
/
spring-framework
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
spring-framework
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c1599734
编写于
4月 22, 2014
作者:
S
Stephane Nicoll
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #520 from marschall/spring-messaging-imports
* spring-messaging-imports: Clean up spring-messaging imports
上级
9ca9363c
eb5f397a
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
15 addition
and
36 deletion
+15
-36
spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/MethodArgumentTypeMismatchException.java
...notation/support/MethodArgumentTypeMismatchException.java
+0
-1
spring-messaging/src/main/java/org/springframework/messaging/simp/broker/AbstractSubscriptionRegistry.java
...k/messaging/simp/broker/AbstractSubscriptionRegistry.java
+2
-3
spring-messaging/src/main/java/org/springframework/messaging/simp/config/AbstractMessageBrokerConfiguration.java
...aging/simp/config/AbstractMessageBrokerConfiguration.java
+1
-7
spring-messaging/src/main/java/org/springframework/messaging/simp/user/UserDestinationResolver.java
...ramework/messaging/simp/user/UserDestinationResolver.java
+1
-3
spring-messaging/src/main/java/org/springframework/messaging/simp/user/UserDestinationResult.java
...gframework/messaging/simp/user/UserDestinationResult.java
+2
-3
spring-messaging/src/main/java/org/springframework/messaging/support/ChannelInterceptorChain.java
...gframework/messaging/support/ChannelInterceptorChain.java
+2
-3
spring-messaging/src/test/java/org/springframework/messaging/converter/MessageConverterTests.java
...gframework/messaging/converter/MessageConverterTests.java
+1
-2
spring-messaging/src/test/java/org/springframework/messaging/converter/SimpleMessageConverterTests.java
...work/messaging/converter/SimpleMessageConverterTests.java
+1
-2
spring-messaging/src/test/java/org/springframework/messaging/simp/SimpMessagingTemplateTests.java
...gframework/messaging/simp/SimpMessagingTemplateTests.java
+1
-2
spring-messaging/src/test/java/org/springframework/messaging/simp/annotation/support/SendToMethodReturnValueHandlerTests.java
...notation/support/SendToMethodReturnValueHandlerTests.java
+1
-3
spring-messaging/src/test/java/org/springframework/messaging/simp/stomp/StompHeaderAccessorTests.java
...mework/messaging/simp/stomp/StompHeaderAccessorTests.java
+1
-2
spring-messaging/src/test/java/org/springframework/messaging/support/MessageHeaderAccessorTests.java
...amework/messaging/support/MessageHeaderAccessorTests.java
+1
-2
spring-messaging/src/test/java/org/springframework/messaging/support/NativeMessageHeaderAccessorTests.java
...k/messaging/support/NativeMessageHeaderAccessorTests.java
+1
-3
未找到文件。
spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/MethodArgumentTypeMismatchException.java
浏览文件 @
c1599734
...
...
@@ -18,7 +18,6 @@ package org.springframework.messaging.handler.annotation.support;
import
org.springframework.core.MethodParameter
;
import
org.springframework.messaging.Message
;
import
org.springframework.messaging.MessagingException
;
/**
* Exception that indicates that a method argument has not the
...
...
spring-messaging/src/main/java/org/springframework/messaging/simp/broker/AbstractSubscriptionRegistry.java
浏览文件 @
c1599734
/*
* Copyright 2002-201
3
the original author or authors.
* Copyright 2002-201
4
the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
@@ -22,7 +22,6 @@ import org.springframework.messaging.Message;
import
org.springframework.messaging.MessageHeaders
;
import
org.springframework.messaging.simp.SimpMessageHeaderAccessor
;
import
org.springframework.messaging.simp.SimpMessageType
;
import
org.springframework.messaging.support.MessageHeaderAccessor
;
import
org.springframework.util.MultiValueMap
;
/**
...
...
spring-messaging/src/main/java/org/springframework/messaging/simp/config/AbstractMessageBrokerConfiguration.java
浏览文件 @
c1599734
...
...
@@ -5,7 +5,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
@@ -17,13 +17,7 @@
package
org.springframework.messaging.simp.config
;
import
java.util.ArrayList
;
import
java.util.Collections
;
import
java.util.List
;
import
java.util.concurrent.AbstractExecutorService
;
import
java.util.concurrent.ExecutorService
;
import
java.util.concurrent.RejectedExecutionHandler
;
import
java.util.concurrent.ThreadFactory
;
import
java.util.concurrent.TimeUnit
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.BeansException
;
...
...
spring-messaging/src/main/java/org/springframework/messaging/simp/user/UserDestinationResolver.java
浏览文件 @
c1599734
...
...
@@ -5,7 +5,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
@@ -18,8 +18,6 @@ package org.springframework.messaging.simp.user;
import
org.springframework.messaging.Message
;
import
java.util.Set
;
/**
* A strategy for resolving a "user" destination and translating it to one or more
* actual destinations unique to the user's active session(s).
...
...
spring-messaging/src/main/java/org/springframework/messaging/simp/user/UserDestinationResult.java
浏览文件 @
c1599734
/*
* Copyright 2002-201
3
the original author or authors.
* Copyright 2002-201
4
the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
@@ -18,7 +18,6 @@ package org.springframework.messaging.simp.user;
import
org.springframework.util.Assert
;
import
java.util.Collections
;
import
java.util.Set
;
/**
...
...
spring-messaging/src/main/java/org/springframework/messaging/support/ChannelInterceptorChain.java
浏览文件 @
c1599734
/*
* Copyright 2002-201
3
the original author or authors.
* Copyright 2002-201
4
the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
@@ -18,7 +18,6 @@ package org.springframework.messaging.support;
import
java.util.Collections
;
import
java.util.List
;
import
java.util.UUID
;
import
java.util.concurrent.CopyOnWriteArrayList
;
import
org.apache.commons.logging.Log
;
...
...
spring-messaging/src/test/java/org/springframework/messaging/converter/MessageConverterTests.java
浏览文件 @
c1599734
...
...
@@ -5,7 +5,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
@@ -33,7 +33,6 @@ import org.springframework.util.MimeType;
import
org.springframework.util.MimeTypeUtils
;
import
static
org
.
junit
.
Assert
.*;
import
static
org
.
junit
.
Assert
.
assertEquals
;
/**
* Unit tests for
...
...
spring-messaging/src/test/java/org/springframework/messaging/converter/SimpleMessageConverterTests.java
浏览文件 @
c1599734
...
...
@@ -5,7 +5,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
@@ -23,7 +23,6 @@ import org.springframework.messaging.MessageHeaders;
import
org.springframework.messaging.support.MessageHeaderAccessor
;
import
java.util.Collections
;
import
java.util.Map
;
import
static
org
.
junit
.
Assert
.
assertEquals
;
import
static
org
.
junit
.
Assert
.
assertNull
;
...
...
spring-messaging/src/test/java/org/springframework/messaging/simp/SimpMessagingTemplateTests.java
浏览文件 @
c1599734
...
...
@@ -5,7 +5,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
@@ -16,7 +16,6 @@
package
org.springframework.messaging.simp
;
import
org.apache.activemq.transport.stomp.Stomp
;
import
org.junit.Before
;
import
org.junit.Test
;
import
org.springframework.messaging.Message
;
...
...
spring-messaging/src/test/java/org/springframework/messaging/simp/annotation/support/SendToMethodReturnValueHandlerTests.java
浏览文件 @
c1599734
...
...
@@ -5,7 +5,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
@@ -36,7 +36,6 @@ import org.springframework.messaging.Message;
import
org.springframework.messaging.MessageChannel
;
import
org.springframework.messaging.MessageHeaders
;
import
org.springframework.messaging.converter.StringMessageConverter
;
import
org.springframework.messaging.core.MessageSendingOperations
;
import
org.springframework.messaging.handler.DestinationPatternsMessageCondition
;
import
org.springframework.messaging.handler.annotation.SendTo
;
import
org.springframework.messaging.simp.SimpMessageHeaderAccessor
;
...
...
@@ -50,7 +49,6 @@ import org.springframework.util.MimeType;
import
static
org
.
junit
.
Assert
.*;
import
static
org
.
mockito
.
Matchers
.*;
import
static
org
.
mockito
.
Matchers
.
eq
;
import
static
org
.
mockito
.
Mockito
.*;
/**
...
...
spring-messaging/src/test/java/org/springframework/messaging/simp/stomp/StompHeaderAccessorTests.java
浏览文件 @
c1599734
...
...
@@ -5,7 +5,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
@@ -35,7 +35,6 @@ import org.springframework.util.MimeTypeUtils;
import
org.springframework.util.MultiValueMap
;
import
static
org
.
junit
.
Assert
.*;
import
static
org
.
junit
.
Assert
.
assertEquals
;
/**
* Unit tests for {@link StompHeaderAccessor}.
...
...
spring-messaging/src/test/java/org/springframework/messaging/support/MessageHeaderAccessorTests.java
浏览文件 @
c1599734
...
...
@@ -5,7 +5,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
@@ -30,7 +30,6 @@ import org.springframework.messaging.MessageHeaders;
import
org.springframework.util.IdGenerator
;
import
static
org
.
junit
.
Assert
.*;
import
static
org
.
junit
.
Assert
.
assertEquals
;
/**
* Test fixture for {@link MessageHeaderAccessor}.
...
...
spring-messaging/src/test/java/org/springframework/messaging/support/NativeMessageHeaderAccessorTests.java
浏览文件 @
c1599734
...
...
@@ -5,7 +5,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
...
...
@@ -19,7 +19,6 @@ package org.springframework.messaging.support;
import
java.util.Arrays
;
import
java.util.Collections
;
import
java.util.HashMap
;
import
java.util.HashSet
;
import
java.util.List
;
import
java.util.Map
;
...
...
@@ -31,7 +30,6 @@ import org.springframework.util.LinkedMultiValueMap;
import
org.springframework.util.MultiValueMap
;
import
static
org
.
junit
.
Assert
.*;
import
static
org
.
junit
.
Assert
.
assertEquals
;
/**
* Test fixture for {@link NativeMessageHeaderAccessor}.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录