myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tandrasc...@apache.org
Subject [myfaces] branch master updated: cosmetics
Date Wed, 05 Dec 2018 13:56:34 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new 75baa16  cosmetics
75baa16 is described below

commit 75baa16ff694353abcd3a8cb7bce42e8517da239
Author: Thomas Andraschko <tandraschko@apache.org>
AuthorDate: Wed Dec 5 14:56:29 2018 +0100

    cosmetics
---
 .../main/java/org/apache/myfaces/view/facelets/StateWriter.java    | 7 +++++++
 .../apache/myfaces/view/facelets/compiler/DoctypeInstruction.java  | 3 +++
 2 files changed, 10 insertions(+)

diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/StateWriter.java b/impl/src/main/java/org/apache/myfaces/view/facelets/StateWriter.java
index d04f8b9..e4472cb 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/StateWriter.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/StateWriter.java
@@ -154,11 +154,13 @@ public final class StateWriter extends Writer
         return this.writtenStateWithoutWrapper;
     }
 
+    @Override
     public void close() throws IOException
     {
         // do nothing
     }
 
+    @Override
     public void flush() throws IOException
     {
         if (!this.writtenState)
@@ -167,26 +169,31 @@ public final class StateWriter extends Writer
         }
     }
 
+    @Override
     public void write(char[] cbuf, int off, int len) throws IOException
     {
         this.out.write(cbuf, off, len);
     }
 
+    @Override
     public void write(char[] cbuf) throws IOException
     {
         this.out.write(cbuf);
     }
 
+    @Override
     public void write(int c) throws IOException
     {
         this.out.write(c);
     }
 
+    @Override
     public void write(String str, int off, int len) throws IOException
     {
         this.out.write(str, off, len);
     }
 
+    @Override
     public void write(String str) throws IOException
     {
         this.out.write(str);
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/DoctypeInstruction.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/DoctypeInstruction.java
index 3d0086e..e821195 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/DoctypeInstruction.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/DoctypeInstruction.java
@@ -45,6 +45,7 @@ public class DoctypeInstruction implements Instruction
         this.html5Doctype = html5Doctype;
     }
 
+    @Override
     public void write(FacesContext context) throws IOException
     {
         StringBuilder sb = new StringBuilder(64);
@@ -72,11 +73,13 @@ public class DoctypeInstruction implements Instruction
         context.getResponseWriter().writeDoctype(sb.toString());
     }
 
+    @Override
     public Instruction apply(ExpressionFactory factory, ELContext ctx)
     {
         return this;
     }
 
+    @Override
     public boolean isLiteral()
     {
         return true;


Mime
View raw message