Browse Source

Use correct nullable annotations in smoke tests

See gh-46926
pull/47268/head
Moritz Halbritter 3 months ago
parent
commit
7689389349
  1. 2
      smoke-test/spring-boot-smoke-test-web-thymeleaf/src/main/java/smoketest/web/thymeleaf/Message.java
  2. 2
      smoke-test/spring-boot-smoke-test-websocket-jetty/src/main/java/smoketest/websocket/jetty/snake/SnakeTimer.java

2
smoke-test/spring-boot-smoke-test-web-thymeleaf/src/main/java/smoketest/web/thymeleaf/Message.java

@ -18,8 +18,8 @@ package smoketest.web.thymeleaf;
import java.util.Calendar; import java.util.Calendar;
import jakarta.annotation.Nullable;
import jakarta.validation.constraints.NotEmpty; import jakarta.validation.constraints.NotEmpty;
import org.jspecify.annotations.Nullable;
public class Message { public class Message {

2
smoke-test/spring-boot-smoke-test-websocket-jetty/src/main/java/smoketest/websocket/jetty/snake/SnakeTimer.java

@ -24,9 +24,9 @@ import java.util.TimerTask;
import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.CopyOnWriteArrayList; import java.util.concurrent.CopyOnWriteArrayList;
import jakarta.annotation.Nullable;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import org.jspecify.annotations.Nullable;
/** /**
* Sets up the timer for the multiplayer snake game WebSocket example. * Sets up the timer for the multiplayer snake game WebSocket example.

Loading…
Cancel
Save