Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 424159

Summary: Undocumented empty block warning shouldn't occur in JSPs that emit source
Product: [Eclipse Project] JDT Reporter: Bob Durie <bob_durie>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: minor    
Priority: P3    
Version: 4.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows Server 2008   
Whiteboard: stalebug

Description Bob Durie CLA 2013-12-16 12:44:38 EST
If we have the "Undocumented empty block" warning enabled, jsp's with the following block show up with a warning:

<% if (foo) { %>
doThis();
<% } %>

I don't think this is useful, i would expect in EL you could open and close sections provided there was something non-whitespace in between.
Comment 1 Eclipse Genie CLA 2020-04-26 05:07:16 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.