2020-04-02 21:07:06 +00:00
|
|
|
From dd6fd5a88bcd591f5bd770a575ca7ea9d745ac4e Mon Sep 17 00:00:00 2001
|
2019-03-20 00:28:15 +00:00
|
|
|
From: Shane Freeder <theboyetronic@gmail.com>
|
|
|
|
Date: Sun, 17 Mar 2019 23:04:30 +0000
|
|
|
|
Subject: [PATCH] Annotation Test changes
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/test/java/org/bukkit/AnnotationTest.java b/src/test/java/org/bukkit/AnnotationTest.java
|
2020-04-02 21:07:06 +00:00
|
|
|
index 0c7377247..38be576b3 100644
|
2019-03-20 00:28:15 +00:00
|
|
|
--- a/src/test/java/org/bukkit/AnnotationTest.java
|
|
|
|
+++ b/src/test/java/org/bukkit/AnnotationTest.java
|
|
|
|
@@ -40,7 +40,17 @@ public class AnnotationTest {
|
|
|
|
"org/bukkit/util/io/Wrapper",
|
|
|
|
"org/bukkit/plugin/java/PluginClassLoader",
|
|
|
|
// Generic functional interface
|
|
|
|
- "org/bukkit/util/Consumer"
|
|
|
|
+ "org/bukkit/util/Consumer",
|
|
|
|
+ // Paper start
|
|
|
|
+ // Timings history is broken in terms of nullability due to guavas Function defining that the param is NonNull
|
|
|
|
+ "co/aikar/timings/TimingHistory$2",
|
|
|
|
+ "co/aikar/timings/TimingHistory$2$1",
|
|
|
|
+ "co/aikar/timings/TimingHistory$2$1$1",
|
|
|
|
+ "co/aikar/timings/TimingHistory$2$1$2",
|
|
|
|
+ "co/aikar/timings/TimingHistory$3",
|
|
|
|
+ "co/aikar/timings/TimingHistory$4",
|
|
|
|
+ "co/aikar/timings/TimingHistoryEntry$1"
|
|
|
|
+ // Paper end
|
|
|
|
};
|
|
|
|
|
|
|
|
@Test
|
|
|
|
--
|
2020-04-02 21:07:06 +00:00
|
|
|
2.25.1
|
2019-03-20 00:28:15 +00:00
|
|
|
|