Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JEP 261 module descriptor #36

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/main/java/io/github/ferdinandswoboda/folo/IdPair.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@
* @param leftId The left-hand ID of the relation.
* @param rightId The right-hand ID of the relation.
*/
// XXX: Workaround for https://github.com/google/error-prone/issues/2321
@SuppressWarnings("InvalidParam")
record IdPair(long leftId, long rightId) {}
public record IdPair(long leftId, long rightId) {}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@
* @param toSuccessors A map of all {@link L} objects to their related {@link R} objects.
* @param toPredecessors A reverse map of all {@link R} objects to their related {@link L} objects.
*/
// XXX: Workaround for https://github.com/google/error-prone/issues/2321
@SuppressWarnings({"ImmutableMemberCollection", "InvalidParam"})
@SuppressWarnings("ImmutableMemberCollection")
record ObjectMapping<L, R>(Map<L, List<R>> toSuccessors, Map<R, List<L>> toPredecessors) {}
15 changes: 15 additions & 0 deletions src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module io.github.ferdinandswoboda.folo {
requires java.compiler;
requires transitive org.jooq;
requires static com.google.errorprone.annotations;
requires static org.jetbrains.annotations;

exports io.github.ferdinandswoboda.folo;

uses org.jooq.Field;
uses org.jooq.Record;
uses org.jooq.Table;
uses org.jooq.TableField;
uses org.jooq.ForeignKey;
uses org.jooq.UniqueKey;
}