memesearch
Useless Java Inspection

Useless Java Inspection

Download Find similar pictures
Text on the meme
What steps will reproduce the issue? Consider this Java code: //noinspection SwitchStatementWithTooFewBranches switch ((Object) args[0]) { default -> {} case String s && true -> {} } The true condition does not do anything! Muda, muda, muda! Useless! Useless! Useless! Useless! Useless! Useless! Useless! Useless! Useless! Useless! What is the expected result? I wish there could be an inspection for removing it! What happens instead? It survives IDEA's inspection!!
What it means

A Java code snippet shows a redundant true condition that does nothing, followed by Dio from JoJo dramatically shouting “Useless!” and “Muda!” The joke is that the IDE inspection fails to remove or flag the useless condition, so the unwanted code survives. This is used as a reaction to stubborn bugs, pointless code, or tools ignoring an obvious issue. EN: A Java code snippet shows a redundant true condition that does nothing, followed by Dio from JoJo dramatically shouting “Useless!” and “Muda!” The joke is that the IDE inspection fails to remove or flag the useless condition, so the unwanted code survives. This is used as a reaction to stubborn bugs, pointless code, or tools ignoring an obvious issue.

Who
Objects
Tags
Source
Template
Dio yelling “Muda”
Type
image
Size
766×800 · 101.3 KiB
Mood
саркастичный, абсурдный
Language
en
Added