Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
爱吃血肠
spring-framework
提交
b2d87abc
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,发现更多精彩内容 >>
提交
b2d87abc
编写于
3月 28, 2018
作者:
J
Juergen Hoeller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Polishing
上级
d1a0b8d5
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
15 addition
and
16 deletion
+15
-16
spring-core/src/test/java/org/springframework/util/ConcurrentReferenceHashMapTests.java
...springframework/util/ConcurrentReferenceHashMapTests.java
+1
-2
spring-expression/src/test/java/org/springframework/expression/spel/SpelReproTests.java
...a/org/springframework/expression/spel/SpelReproTests.java
+1
-1
spring-jdbc/src/main/java/org/springframework/jdbc/core/metadata/CallMetaDataContext.java
...ringframework/jdbc/core/metadata/CallMetaDataContext.java
+1
-1
spring-jdbc/src/main/java/org/springframework/jdbc/core/metadata/CallMetaDataProviderFactory.java
...ework/jdbc/core/metadata/CallMetaDataProviderFactory.java
+2
-2
spring-jdbc/src/main/java/org/springframework/jdbc/core/metadata/GenericCallMetaDataProvider.java
...ework/jdbc/core/metadata/GenericCallMetaDataProvider.java
+9
-9
spring-web/src/main/java/org/springframework/http/converter/BufferedImageHttpMessageConverter.java
...ork/http/converter/BufferedImageHttpMessageConverter.java
+1
-1
未找到文件。
spring-core/src/test/java/org/springframework/util/ConcurrentReferenceHashMapTests.java
浏览文件 @
b2d87abc
...
...
@@ -599,8 +599,7 @@ public class ConcurrentReferenceHashMapTests {
protected
ReferenceManager
createReferenceManager
()
{
return
new
ReferenceManager
()
{
@Override
public
Reference
<
K
,
V
>
createReference
(
Entry
<
K
,
V
>
entry
,
int
hash
,
@Nullable
Reference
<
K
,
V
>
next
)
{
public
Reference
<
K
,
V
>
createReference
(
Entry
<
K
,
V
>
entry
,
int
hash
,
@Nullable
Reference
<
K
,
V
>
next
)
{
if
(
TestWeakConcurrentCache
.
this
.
disableTestHooks
)
{
return
super
.
createReference
(
entry
,
hash
,
next
);
}
...
...
spring-expression/src/test/java/org/springframework/expression/spel/SpelReproTests.java
浏览文件 @
b2d87abc
...
...
@@ -236,7 +236,7 @@ public class SpelReproTests extends AbstractExpressionTests {
}
@Test
public
void
accessingNullPropertyViaReflection
_SPR5663
()
throws
AccessException
{
public
void
propertyAccessOnNullTarget
_SPR5663
()
throws
AccessException
{
PropertyAccessor
accessor
=
new
ReflectivePropertyAccessor
();
EvaluationContext
context
=
TestScenarioCreator
.
getTestEvaluationContext
();
assertFalse
(
accessor
.
canRead
(
context
,
null
,
"abc"
));
...
...
spring-jdbc/src/main/java/org/springframework/jdbc/core/metadata/CallMetaDataContext.java
浏览文件 @
b2d87abc
...
...
@@ -276,7 +276,7 @@ public class CallMetaDataContext {
}
else
{
throw
new
InvalidDataAccessApiUsageException
(
"Return of a ResultSet from a stored procedure is not supported
.
"
);
"Return of a ResultSet from a stored procedure is not supported"
);
}
}
}
...
...
spring-jdbc/src/main/java/org/springframework/jdbc/core/metadata/CallMetaDataProviderFactory.java
浏览文件 @
b2d87abc
...
...
@@ -60,8 +60,8 @@ public class CallMetaDataProviderFactory {
/**
* Create a {@link CallMetaDataProvider} based on the database meta-data
* @param dataSource
used to retrieve
meta-data
* Create a {@link CallMetaDataProvider} based on the database meta-data
.
* @param dataSource
the JDBC DataSource to use for retrieving
meta-data
* @param context the class that holds configuration and meta-data
* @return instance of the CallMetaDataProvider implementation to be used
*/
...
...
spring-jdbc/src/main/java/org/springframework/jdbc/core/metadata/GenericCallMetaDataProvider.java
浏览文件 @
b2d87abc
...
...
@@ -256,14 +256,14 @@ public class GenericCallMetaDataProvider implements CallMetaDataProvider {
/**
* Specify whether the database supports the use of catalog name in procedure calls
* Specify whether the database supports the use of catalog name in procedure calls
.
*/
protected
void
setSupportsCatalogsInProcedureCalls
(
boolean
supportsCatalogsInProcedureCalls
)
{
this
.
supportsCatalogsInProcedureCalls
=
supportsCatalogsInProcedureCalls
;
}
/**
* Does the database support the use of catalog name in procedure calls
* Does the database support the use of catalog name in procedure calls
?
*/
@Override
public
boolean
isSupportsCatalogsInProcedureCalls
()
{
...
...
@@ -271,14 +271,14 @@ public class GenericCallMetaDataProvider implements CallMetaDataProvider {
}
/**
* Specify whether the database supports the use of schema name in procedure calls
* Specify whether the database supports the use of schema name in procedure calls
.
*/
protected
void
setSupportsSchemasInProcedureCalls
(
boolean
supportsSchemasInProcedureCalls
)
{
this
.
supportsSchemasInProcedureCalls
=
supportsSchemasInProcedureCalls
;
}
/**
* Does the database support the use of schema name in procedure calls
* Does the database support the use of schema name in procedure calls
?
*/
@Override
public
boolean
isSupportsSchemasInProcedureCalls
()
{
...
...
@@ -286,28 +286,28 @@ public class GenericCallMetaDataProvider implements CallMetaDataProvider {
}
/**
* Specify whether the database uses upper case for identifiers
* Specify whether the database uses upper case for identifiers
.
*/
protected
void
setStoresUpperCaseIdentifiers
(
boolean
storesUpperCaseIdentifiers
)
{
this
.
storesUpperCaseIdentifiers
=
storesUpperCaseIdentifiers
;
}
/**
* Does the database use upper case for identifiers
* Does the database use upper case for identifiers
?
*/
protected
boolean
isStoresUpperCaseIdentifiers
()
{
return
this
.
storesUpperCaseIdentifiers
;
}
/**
* Specify whether the database uses lower case for identifiers
* Specify whether the database uses lower case for identifiers
.
*/
protected
void
setStoresLowerCaseIdentifiers
(
boolean
storesLowerCaseIdentifiers
)
{
this
.
storesLowerCaseIdentifiers
=
storesLowerCaseIdentifiers
;
}
/**
* Does the database use lower case for identifiers
* Does the database use lower case for identifiers
?
*/
protected
boolean
isStoresLowerCaseIdentifiers
()
{
return
this
.
storesLowerCaseIdentifiers
;
...
...
@@ -315,7 +315,7 @@ public class GenericCallMetaDataProvider implements CallMetaDataProvider {
/**
* Process the procedure column meta-data
* Process the procedure column meta-data
.
*/
private
void
processProcedureColumns
(
DatabaseMetaData
databaseMetaData
,
@Nullable
String
catalogName
,
@Nullable
String
schemaName
,
@Nullable
String
procedureName
)
{
...
...
spring-web/src/main/java/org/springframework/http/converter/BufferedImageHttpMessageConverter.java
浏览文件 @
b2d87abc
...
...
@@ -100,7 +100,7 @@ public class BufferedImageHttpMessageConverter implements HttpMessageConverter<B
* @throws IllegalArgumentException if the given content type is not supported by the Java Image I/O API
*/
public
void
setDefaultContentType
(
@Nullable
MediaType
defaultContentType
)
{
if
(
defaultContentType
!=
null
)
{
if
(
defaultContentType
!=
null
)
{
Iterator
<
ImageWriter
>
imageWriters
=
ImageIO
.
getImageWritersByMIMEType
(
defaultContentType
.
toString
());
if
(!
imageWriters
.
hasNext
())
{
throw
new
IllegalArgumentException
(
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录