Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
带水的鱼儿
spring-framework
提交
8680fdb8
S
spring-framework
项目概览
带水的鱼儿
/
spring-framework
与 Fork 源项目一致
从无法访问的项目Fork
通知
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,发现更多精彩内容 >>
提交
8680fdb8
编写于
7月 09, 2021
作者:
J
Juergen Hoeller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Polishing
上级
4fe3ca1b
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
16 addition
and
12 deletion
+16
-12
spring-aop/src/main/java/org/springframework/aop/support/DefaultIntroductionAdvisor.java
...ringframework/aop/support/DefaultIntroductionAdvisor.java
+3
-2
spring-beans/src/test/java/org/springframework/beans/factory/support/QualifierAnnotationAutowireBeanFactoryTests.java
.../support/QualifierAnnotationAutowireBeanFactoryTests.java
+2
-2
spring-context/src/test/java/org/springframework/beans/factory/xml/QualifierAnnotationTests.java
...framework/beans/factory/xml/QualifierAnnotationTests.java
+3
-2
spring-oxm/spring-oxm.gradle
spring-oxm/spring-oxm.gradle
+1
-1
spring-web/src/main/java/org/springframework/http/client/reactive/JettyClientHttpResponse.java
...amework/http/client/reactive/JettyClientHttpResponse.java
+3
-3
spring-web/src/main/java/org/springframework/http/client/reactive/JettyHeadersAdapter.java
...ngframework/http/client/reactive/JettyHeadersAdapter.java
+2
-1
spring-web/src/main/java/org/springframework/http/server/reactive/JettyHeadersAdapter.java
...ngframework/http/server/reactive/JettyHeadersAdapter.java
+2
-1
未找到文件。
spring-aop/src/main/java/org/springframework/aop/support/DefaultIntroductionAdvisor.java
浏览文件 @
8680fdb8
/*
* Copyright 2002-20
19
the original author or authors.
* Copyright 2002-20
21
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.
...
...
@@ -71,7 +71,8 @@ public class DefaultIntroductionAdvisor implements IntroductionAdvisor, ClassFil
if
(
introductionInfo
!=
null
)
{
Class
<?>[]
introducedInterfaces
=
introductionInfo
.
getInterfaces
();
if
(
introducedInterfaces
.
length
==
0
)
{
throw
new
IllegalArgumentException
(
"IntroductionAdviceSupport implements no interfaces"
);
throw
new
IllegalArgumentException
(
"IntroductionInfo defines no interfaces to introduce: "
+
introductionInfo
);
}
for
(
Class
<?>
ifc
:
introducedInterfaces
)
{
addInterface
(
ifc
);
...
...
spring-beans/src/test/java/org/springframework/beans/factory/support/QualifierAnnotationAutowireBeanFactoryTests.java
浏览文件 @
8680fdb8
/*
* Copyright 2002-20
19
the original author or authors.
* Copyright 2002-20
21
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.
...
...
@@ -244,7 +244,7 @@ public class QualifierAnnotationAutowireBeanFactoryTests {
@Target
({
ElementType
.
FIELD
,
ElementType
.
PARAMETER
})
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Qualifier
private
static
@interface
TestQualifier
{
private
@interface
TestQualifier
{
}
}
spring-context/src/test/java/org/springframework/beans/factory/xml/QualifierAnnotationTests.java
浏览文件 @
8680fdb8
/*
* Copyright 2002-20
19
the original author or authors.
* Copyright 2002-20
21
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.
...
...
@@ -47,8 +47,9 @@ import static org.springframework.util.ClassUtils.convertClassNameToResourcePath
public
class
QualifierAnnotationTests
{
private
static
final
String
CLASSNAME
=
QualifierAnnotationTests
.
class
.
getName
();
private
static
final
String
CONFIG_LOCATION
=
format
(
"classpath:%s-context.xml"
,
convertClassNameToResourcePath
(
CLASSNAME
));
format
(
"classpath:%s-context.xml"
,
convertClassNameToResourcePath
(
CLASSNAME
));
@Test
...
...
spring-oxm/spring-oxm.gradle
浏览文件 @
8680fdb8
...
...
@@ -43,7 +43,7 @@ dependencies {
}
// JiBX compiler is currently not compatible with JDK 9+.
// If
customJavaHome
has been set, we assume the custom JDK version is 9+.
// If
testToolchain
has been set, we assume the custom JDK version is 9+.
if
((
JavaVersion
.
current
()
==
JavaVersion
.
VERSION_1_8
)
&&
!
project
.
hasProperty
(
"testToolchain"
))
{
compileTestJava
{
def
bindingXml
=
"${projectDir}/src/test/resources/org/springframework/oxm/jibx/binding.xml"
...
...
spring-web/src/main/java/org/springframework/http/client/reactive/JettyClientHttpResponse.java
浏览文件 @
8680fdb8
...
...
@@ -50,7 +50,7 @@ class JettyClientHttpResponse implements ClientHttpResponse {
private
static
final
Pattern
SAMESITE_PATTERN
=
Pattern
.
compile
(
"(?i).*SameSite=(Strict|Lax|None).*"
);
private
static
final
ClassLoader
l
oader
=
JettyClientHttpResponse
.
class
.
getClassLoader
();
private
static
final
ClassLoader
classL
oader
=
JettyClientHttpResponse
.
class
.
getClassLoader
();
private
static
final
boolean
jetty10Present
;
...
...
@@ -64,7 +64,7 @@ class JettyClientHttpResponse implements ClientHttpResponse {
static
{
try
{
Class
<?>
httpFieldsClass
=
l
oader
.
loadClass
(
"org.eclipse.jetty.http.HttpFields"
);
Class
<?>
httpFieldsClass
=
classL
oader
.
loadClass
(
"org.eclipse.jetty.http.HttpFields"
);
jetty10Present
=
httpFieldsClass
.
isInterface
();
}
catch
(
ClassNotFoundException
ex
)
{
...
...
@@ -144,7 +144,7 @@ class JettyClientHttpResponse implements ClientHttpResponse {
static
{
try
{
getHeadersMethod
=
Response
.
class
.
getMethod
(
"getHeaders"
);
Class
<?>
type
=
l
oader
.
loadClass
(
"org.eclipse.jetty.http.HttpField"
);
Class
<?>
type
=
classL
oader
.
loadClass
(
"org.eclipse.jetty.http.HttpField"
);
getNameMethod
=
type
.
getMethod
(
"getName"
);
getValueMethod
=
type
.
getMethod
(
"getValue"
);
}
...
...
spring-web/src/main/java/org/springframework/http/client/reactive/JettyHeadersAdapter.java
浏览文件 @
8680fdb8
...
...
@@ -187,7 +187,7 @@ class JettyHeadersAdapter implements MultiValueMap<String, String> {
private
class
EntryIterator
implements
Iterator
<
Entry
<
String
,
List
<
String
>>>
{
private
Enumeration
<
String
>
names
=
headers
.
getFieldNames
();
private
final
Enumeration
<
String
>
names
=
headers
.
getFieldNames
();
@Override
public
boolean
hasNext
()
{
...
...
@@ -241,6 +241,7 @@ class JettyHeadersAdapter implements MultiValueMap<String, String> {
}
}
private
final
class
HeaderNamesIterator
implements
Iterator
<
String
>
{
private
final
Iterator
<
String
>
iterator
;
...
...
spring-web/src/main/java/org/springframework/http/server/reactive/JettyHeadersAdapter.java
浏览文件 @
8680fdb8
...
...
@@ -187,7 +187,7 @@ class JettyHeadersAdapter implements MultiValueMap<String, String> {
private
class
EntryIterator
implements
Iterator
<
Entry
<
String
,
List
<
String
>>>
{
private
Enumeration
<
String
>
names
=
headers
.
getFieldNames
();
private
final
Enumeration
<
String
>
names
=
headers
.
getFieldNames
();
@Override
public
boolean
hasNext
()
{
...
...
@@ -241,6 +241,7 @@ class JettyHeadersAdapter implements MultiValueMap<String, String> {
}
}
private
final
class
HeaderNamesIterator
implements
Iterator
<
String
>
{
private
final
Iterator
<
String
>
iterator
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录