Skip to content

Commit

Permalink
fix for generateDocs
Browse files Browse the repository at this point in the history
no documented classes may be abstract
  • Loading branch information
cwensel committed Oct 18, 2023
1 parent 6054bc2 commit 599f396
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clusterless-main/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ tasks.register<JavaExec>("generateCLIDocs") {
args = listOf(
"--outdir",
"build/generated-docs/modules/commands/pages",
"clusterless.Main"
"clusterless.cls.Main"
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ protected static String getModel(Class<? extends Struct> modelClass, boolean req
return JSONUtil.writeAsPrettyStringSafe(modelClass.getConstructor().newInstance());
} catch (InstantiationException | IllegalAccessException | InvocationTargetException |
NoSuchMethodException e) {
throw new RuntimeException(e);
throw new RuntimeException("unable to instantiate model: " + modelClass.getCanonicalName(), e);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
See the documentation for the arc component for details.
"""
)
public abstract class Arc<W extends Workload<?>> extends Extensible {
public class Arc<W extends Workload<?>> extends Extensible {
@JsonRequiredProperty
String name;
@JsonRequiredProperty
Expand Down

0 comments on commit 599f396

Please sign in to comment.