This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new e3c7999  No functional change. Align 10.0.x, 9.0.x, 8.5.x
e3c7999 is described below

commit e3c799978a931ac4e5e966a3f919796d831a9f55
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Mar 29 16:27:37 2021 +0100

    No functional change. Align 10.0.x, 9.0.x, 8.5.x
---
 java/org/apache/jasper/compiler/JDTCompiler.java | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/java/org/apache/jasper/compiler/JDTCompiler.java 
b/java/org/apache/jasper/compiler/JDTCompiler.java
index ebc00f6..5b15a80 100644
--- a/java/org/apache/jasper/compiler/JDTCompiler.java
+++ b/java/org/apache/jasper/compiler/JDTCompiler.java
@@ -421,9 +421,8 @@ public class JDTCompiler extends 
org.apache.jasper.compiler.Compiler {
                                 }
                                 byte[] bytes = classFile.getBytes();
                                 classFileName.append(".class");
-                                try (FileOutputStream fout = new 
FileOutputStream(
-                                        classFileName.toString());
-                                     BufferedOutputStream bos = new 
BufferedOutputStream(fout)) {
+                                try (FileOutputStream fout = new 
FileOutputStream(classFileName.toString());
+                                        BufferedOutputStream bos = new 
BufferedOutputStream(fout)) {
                                     bos.write(bytes);
                                 }
                             }

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to