Skip to content

Commit

Permalink
fix (core): Address DeepSource JAVA-E0169 & JAVA-W1059
Browse files Browse the repository at this point in the history
  • Loading branch information
vorburger committed Jan 4, 2025
1 parent 860bbdd commit 3c63ac0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/concepts/other.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ Enola 🕵🏾‍♀️ is not a Communication tool.
* [Anzo, by Cambridge Semantics](https://cambridgesemantics.com/anzo-platform/) #commercial
* [Semaphore, by Progress](https://www.progress.com/semaphore) #commercial
* [metaphactory, by Metaphacts](https://metaphacts.com)
* [openEngiadina](https://openengiadina.net) #opensource #swiss

### Personal

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public List<String> listTemplates() {
return templates;
}

// skipcq: JAVA-E0169
public static class Builder<T> implements dev.enola.common.Builder<URITemplateMatcherChain<T>> {
private Builder() {
splitters = new ArrayList<>();
Expand Down
1 change: 1 addition & 0 deletions java/dev/enola/common/protobuf/TypeRegistryWrapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ private static String getTypeName(String typeUrl) throws IllegalArgumentExceptio
return parts[parts.length - 1];
}

// skipcq: JAVA-E0169
public static final class Builder implements dev.enola.common.Builder<TypeRegistryWrapper> {
private final Set<String> files = new HashSet<>();
private ImmutableMap.Builder<String, GenericDescriptor> typesBuilder =
Expand Down
4 changes: 3 additions & 1 deletion java/dev/enola/thing/gen/DocGenConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import dev.enola.common.Version;

public interface DocGenConstants {
public final class DocGenConstants {

public static final String FOOTER =
"\n---\n_This model documentation was generated with ❤️ by"
Expand All @@ -28,4 +28,6 @@ public interface DocGenConstants {
? " @ [" + Version.get() + "](" + Version.gitUI() + ")"
: "")
+ "_\n";

private DocGenConstants() {}
}

0 comments on commit 3c63ac0

Please sign in to comment.