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

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


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

commit c3986264bfac32694369f5d5e630f65030167066
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Mar 29 16:27:31 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to