Skip to content

Commit

Permalink
Removed the now unused default case in node->element conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
hugithordarson committed Oct 19, 2024
1 parent a979e76 commit d1b6e35
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ private static NGElement toDynamicElement( PNode node ) throws NGDeclarationForm
case PGroupNode n -> new NGDynamicGroup( null, null, template( n.tag() ) );
case PHTMLNode n -> new NGHTMLBareString( n.value() );
case PCommentNode n -> new NGHTMLCommentString( n.value() );
/*
default -> {
throw new IllegalStateException( "Unhandled node type: " + node );
}*/
};

return element;
Expand Down

0 comments on commit d1b6e35

Please sign in to comment.