Skip to content

Commit 7c2cece

Browse files
committed
Fix Eclipse warnings
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1501303 13f79535-47bb-0310-9956-ffa450edef68
1 parent 5ef2855 commit 7c2cece

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

java/org/apache/jasper/JspC.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,7 @@ protected void processFile(String file)
12201220
* Locate all jsp files in the webapp. Used if no explicit
12211221
* jsps are specified.
12221222
*/
1223-
public void scanFiles( File base ) throws JasperException {
1223+
public void scanFiles( File base ) {
12241224
Stack<String> dirs = new Stack<>();
12251225
dirs.push(base.toString());
12261226

java/org/apache/jasper/compiler/ParserController.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,7 @@ private Node.Nodes doParse(String inFileName,
276276
* @return The value of the <page-encoding> attribute of the
277277
* jsp-property-group with matching URL pattern
278278
*/
279-
private String getJspConfigPageEncoding(String absFileName)
280-
throws JasperException {
279+
private String getJspConfigPageEncoding(String absFileName) {
281280

282281
JspConfig jspConfig = ctxt.getOptions().getJspConfig();
283282
JspConfig.JspProperty jspProperty

0 commit comments

Comments
 (0)