Skip to content

Commit 678ab56

Browse files
authored
fix conditions (#66)
1 parent 90f56ed commit 678ab56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prism-core/src/main/java/io/avaje/prism/internal/ModuleInfoReaderWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public static void write(PrintWriter out, String packageName) {
201201
+ " * @param implementations the implementations to verify the presence of\n"
202202
+ " */\n"
203203
+ " public void validateServices(String providesType, Collection<String> implementations) {\n"
204-
+ " if (!buildPluginAvailable() || !moduleElement.isUnnamed()) {\n"
204+
+ " if (buildPluginAvailable() || moduleElement.isUnnamed()) {\n"
205205
+ " return;\n"
206206
+ " }\n"
207207
+ " var implSet = new TreeSet<>(implementations);\n"

0 commit comments

Comments
 (0)