You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ta...@apache.org on 2022/08/30 12:01:06 UTC

[myfaces] branch 2.3-next updated: MYFACES-4448 Fix impossible cast (#296)

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

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


The following commit(s) were added to refs/heads/2.3-next by this push:
     new fe631b807 MYFACES-4448 Fix impossible cast (#296)
fe631b807 is described below

commit fe631b8070b893da80526d5f7dc5a76a329d62e2
Author: Piotrek Żygieło <11...@users.noreply.github.com>
AuthorDate: Tue Aug 30 14:01:02 2022 +0200

    MYFACES-4448 Fix impossible cast (#296)
    
    Co-authored-by: Piotrek Żygieło <pz...@users.noreply.github.com>
---
 .../main/java/org/apache/myfaces/view/facelets/compiler/TextUnit.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/TextUnit.java b/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/TextUnit.java
index 34f8e808b..bde4480d1 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/TextUnit.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/TextUnit.java
@@ -580,7 +580,7 @@ final class TextUnit extends CompilationUnit
             }
             else if (ins instanceof LiteralNonExcapedTextInstruction)
             {
-                text = ((LiteralTextInstruction)ins).getText();
+                text = ((LiteralNonExcapedTextInstruction)ins).getText();
                 instructionType = 2;
             }
             else if (ins instanceof LiteralXMLInstruction)