Skip to content

Commit

Permalink
JSpecify is not an optional dependency, because its annotations have …
Browse files Browse the repository at this point in the history
…'runtime' retention.
  • Loading branch information
Werner Randelshofer committed Jul 16, 2024
1 parent a8a8fd2 commit 4a10db6
Show file tree
Hide file tree
Showing 38 changed files with 20 additions and 37 deletions.
1 change: 0 additions & 1 deletion org.jhotdraw8.application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
<dependency>
<groupId>org.jspecify</groupId>
<artifactId>jspecify</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>ch.randelshofer</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
requires transitive java.desktop;
requires transitive java.prefs;
requires transitive javafx.fxml;
requires transitive static org.jspecify;
requires transitive org.jspecify;

requires transitive org.jhotdraw8.collection;
requires transitive org.jhotdraw8.base;
Expand Down
1 change: 0 additions & 1 deletion org.jhotdraw8.base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
<dependency>
<groupId>org.jspecify</groupId>
<artifactId>jspecify</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
@SuppressWarnings("module")
@NullMarked
module org.jhotdraw8.base {
requires transitive static org.jspecify;
requires transitive org.jspecify;

requires java.logging;
exports org.jhotdraw8.base.converter;
Expand Down
1 change: 0 additions & 1 deletion org.jhotdraw8.collection/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
<dependency>
<groupId>org.jspecify</groupId>
<artifactId>jspecify</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>ch.randelshofer</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
@SuppressWarnings("module")
@NullMarked
module org.jhotdraw8.collection {
requires transitive static org.jspecify;
requires transitive org.jspecify;

requires transitive org.jhotdraw8.icollection;
requires java.logging;
Expand Down
1 change: 0 additions & 1 deletion org.jhotdraw8.color/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
<dependency>
<groupId>org.jspecify</groupId>
<artifactId>jspecify</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
module org.jhotdraw8.color {
requires transitive java.desktop;
requires transitive javafx.graphics;
requires transitive static org.jspecify;
requires transitive org.jspecify;

requires java.logging;

Expand Down
1 change: 0 additions & 1 deletion org.jhotdraw8.css/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
<dependency>
<groupId>org.jspecify</groupId>
<artifactId>jspecify</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>ch.randelshofer</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
requires transitive java.logging;
requires transitive java.xml;
requires transitive javafx.graphics;
requires transitive static org.jspecify;
requires transitive org.jspecify;

requires transitive org.jhotdraw8.base;
requires transitive org.jhotdraw8.collection;
Expand Down
1 change: 0 additions & 1 deletion org.jhotdraw8.draw/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
<dependency>
<groupId>org.jspecify</groupId>
<artifactId>jspecify</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>ch.randelshofer</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
requires transitive javafx.controls;
requires transitive javafx.fxml;
requires transitive javafx.graphics;
requires transitive static org.jspecify;
requires transitive org.jspecify;

requires transitive org.jhotdraw8.application;
requires transitive org.jhotdraw8.base;
Expand Down
1 change: 0 additions & 1 deletion org.jhotdraw8.examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
<dependency>
<groupId>org.jspecify</groupId>
<artifactId>jspecify</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>ch.randelshofer</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
module org.jhotdraw8.examples {
requires transitive java.desktop;
requires transitive org.jhotdraw8.draw;
requires transitive static org.jspecify;
requires transitive org.jspecify;

requires transitive org.jhotdraw8.color;
requires transitive org.jhotdraw8.os;
Expand Down
1 change: 0 additions & 1 deletion org.jhotdraw8.fxbase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
<dependency>
<groupId>org.jspecify</groupId>
<artifactId>jspecify</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>ch.randelshofer</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
@SuppressWarnings("module")
@NullMarked
module org.jhotdraw8.fxbase {
requires transitive static org.jspecify;
requires transitive org.jspecify;

requires transitive org.jhotdraw8.base;
requires transitive javafx.base;
Expand Down
1 change: 0 additions & 1 deletion org.jhotdraw8.fxcollection/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
<dependency>
<groupId>org.jspecify</groupId>
<artifactId>jspecify</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>ch.randelshofer</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
@SuppressWarnings("module")
@NullMarked
module org.jhotdraw8.fxcollection {
requires transitive static org.jspecify;
requires transitive org.jspecify;

requires transitive javafx.base;
requires transitive org.jhotdraw8.collection;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
requires transitive javafx.graphics;
requires transitive javafx.controls;
requires transitive javafx.fxml;
requires transitive static org.jspecify;
requires transitive org.jspecify;

requires transitive org.jhotdraw8.application;
requires transitive org.jhotdraw8.base;
Expand Down
1 change: 0 additions & 1 deletion org.jhotdraw8.geom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
<dependency>
<groupId>org.jspecify</groupId>
<artifactId>jspecify</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>ch.randelshofer</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@NullMarked
module org.jhotdraw8.geom {
requires transitive javafx.graphics;
requires transitive static org.jspecify;
requires transitive org.jspecify;
requires transitive java.desktop;
requires transitive org.jhotdraw8.collection;
requires transitive org.jhotdraw8.base;
Expand Down
1 change: 0 additions & 1 deletion org.jhotdraw8.graph/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
<dependency>
<groupId>org.jspecify</groupId>
<artifactId>jspecify</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>ch.randelshofer</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
@SuppressWarnings("module")
@NullMarked
module org.jhotdraw8.graph {
requires transitive static org.jspecify;
requires transitive org.jspecify;

requires transitive org.jhotdraw8.base;
requires transitive org.jhotdraw8.collection;
Expand Down
1 change: 0 additions & 1 deletion org.jhotdraw8.grapher/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
<dependency>
<groupId>org.jspecify</groupId>
<artifactId>jspecify</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>ch.randelshofer</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
requires transitive org.jhotdraw8.os;
requires transitive org.jhotdraw8.svg;
requires transitive org.jhotdraw8.theme;
requires transitive static org.jspecify;
requires transitive org.jspecify;


opens org.jhotdraw8.grapher to javafx.fxml, javafx.graphics;
Expand Down
1 change: 0 additions & 1 deletion org.jhotdraw8.icollection/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
<dependency>
<groupId>org.jspecify</groupId>
<artifactId>jspecify</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@SuppressWarnings("module")
@NullMarked
module org.jhotdraw8.icollection {
requires transitive static org.jspecify;
requires transitive org.jspecify;

requires java.logging;
exports org.jhotdraw8.icollection.exception;
Expand Down
1 change: 0 additions & 1 deletion org.jhotdraw8.os/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
<dependency>
<groupId>org.jspecify</groupId>
<artifactId>jspecify</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>ch.randelshofer</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
module org.jhotdraw8.os {
requires transitive java.xml;
requires transitive javafx.graphics;
requires transitive static org.jspecify;
requires transitive org.jspecify;

requires transitive org.jhotdraw8.collection;
requires transitive org.jhotdraw8.icollection;
Expand Down
1 change: 0 additions & 1 deletion org.jhotdraw8.svg/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
<dependency>
<groupId>org.jspecify</groupId>
<artifactId>jspecify</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>ch.randelshofer</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
requires transitive java.logging;
requires transitive java.xml;
requires transitive javafx.graphics;
requires transitive static org.jspecify;
requires transitive org.jspecify;

requires transitive org.jhotdraw8.base;
requires transitive org.jhotdraw8.collection;
Expand Down
1 change: 0 additions & 1 deletion org.jhotdraw8.teddy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
<dependency>
<groupId>org.jspecify</groupId>
<artifactId>jspecify</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>ch.randelshofer</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
module org.jhotdraw8.teddy {
requires transitive java.desktop;
requires transitive org.jhotdraw8.application;
requires transitive static org.jspecify;
requires transitive org.jspecify;

requires transitive org.jhotdraw8.collection;
requires transitive org.jhotdraw8.fxcontrols;
Expand Down
1 change: 0 additions & 1 deletion org.jhotdraw8.theme/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
<dependency>
<groupId>org.jspecify</groupId>
<artifactId>jspecify</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>ch.randelshofer</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@NullMarked
module org.jhotdraw8.theme {
requires transitive org.jhotdraw8.color;
requires transitive static org.jspecify;
requires transitive org.jspecify;

requires transitive org.jhotdraw8.fxbase;
exports org.jhotdraw8.theme;
Expand Down
1 change: 0 additions & 1 deletion org.jhotdraw8.xml/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
<dependency>
<groupId>org.jspecify</groupId>
<artifactId>jspecify</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>ch.randelshofer</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
requires transitive java.logging;
requires transitive java.xml;
requires transitive javafx.graphics;
requires transitive static org.jspecify;
requires transitive org.jspecify;

requires transitive org.jhotdraw8.base;
requires transitive org.jhotdraw8.css;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,7 @@ public void writeProcessingInstruction(String target) throws XMLStreamException
write(START_PROCESSING_INSTRUCTION);
write(target);
write(END_PROCESSING_INSTRUCTION);
write
}

@Override
Expand Down

0 comments on commit 4a10db6

Please sign in to comment.