From d7da25063805998de0e021f1ee8a0925779243f0 Mon Sep 17 00:00:00 2001 From: "Gary David Gregory (Code signing key)" Date: Tue, 28 Nov 2023 11:08:27 -0500 Subject: [PATCH] Use String#isEmpty() --- src/examples/JasminVisitor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/examples/JasminVisitor.java b/src/examples/JasminVisitor.java index e58e45de19..16ef15c55b 100644 --- a/src/examples/JasminVisitor.java +++ b/src/examples/JasminVisitor.java @@ -72,7 +72,7 @@ public static void main(final String[] argv) throws Exception { final String path = className.substring(0, index + 1).replace('.', File.separatorChar); className = className.substring(index + 1); - if (!path.equals("")) { + if (!path.isEmpty()) { final File f = new File(path); f.mkdirs(); }