5 Star 0 Fork 18

src-openEuler/springframework

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
springframework-3.2.6-java.io.IOException-is-never-thrown.patch 1.06 KB
一键复制 编辑 原始数据 按行查看 历史
yaokai13 提交于 2020-06-09 15:16 . Package init
From 991d188f7066f82c135555d2ec488d0267aa2d12 Mon Sep 17 00:00:00 2001
From: Michal Srb <msrb@redhat.com>
Date: Wed, 15 Jan 2014 15:09:21 +0100
Subject: [PATCH] Fix exception java.io.IOException is never thrown error
---
.../java/org/springframework/ui/velocity/VelocityEngineFactory.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/spring-context-support/src/main/java/org/springframework/ui/velocity/VelocityEngineFactory.java b/spring-context-support/src/main/java/org/springframework/ui/velocity/VelocityEngineFactory.java
index 2e81188..bd57496 100644
--- a/spring-context-support/src/main/java/org/springframework/ui/velocity/VelocityEngineFactory.java
+++ b/spring-context-support/src/main/java/org/springframework/ui/velocity/VelocityEngineFactory.java
@@ -250,9 +250,9 @@ public class VelocityEngineFactory {
// Perform actual initialization.
velocityEngine.init();
}
- catch (IOException ex) {
- throw ex;
- }
+ //catch (IOException ex) {
+ // throw ex;
+ //}
catch (VelocityException ex) {
throw ex;
}
--
1.8.3.1
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/springframework.git
git@gitee.com:src-openeuler/springframework.git
src-openeuler
springframework
springframework
master

搜索帮助