diff --git a/core-java-modules/core-java-networking-4/pom.xml b/core-java-modules/core-java-networking-4/pom.xml
index cbe6356d0f..4b49359c8c 100644
--- a/core-java-modules/core-java-networking-4/pom.xml
+++ b/core-java-modules/core-java-networking-4/pom.xml
@@ -56,7 +56,7 @@
1.7
- 1.15.4
+ 1.16.2
\ No newline at end of file
diff --git a/jsoup/pom.xml b/jsoup/pom.xml
index 44f8f996f5..d2780424de 100644
--- a/jsoup/pom.xml
+++ b/jsoup/pom.xml
@@ -22,7 +22,7 @@
- 1.10.2
+ 1.16.2
\ No newline at end of file
diff --git a/jsoup/src/test/java/com/baeldung/jsoup/PreservingLineBreaksUnitTest.java b/jsoup/src/test/java/com/baeldung/jsoup/PreservingLineBreaksUnitTest.java
index 0958fa96e2..e6bd8eccbf 100644
--- a/jsoup/src/test/java/com/baeldung/jsoup/PreservingLineBreaksUnitTest.java
+++ b/jsoup/src/test/java/com/baeldung/jsoup/PreservingLineBreaksUnitTest.java
@@ -2,7 +2,7 @@ package com.baeldung.jsoup;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
-import org.jsoup.safety.Whitelist;
+import org.jsoup.safety.Safelist;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
@@ -13,7 +13,7 @@ public class PreservingLineBreaksUnitTest {
String strHTML = "
Hello\nworld";
Document.OutputSettings outputSettings = new Document.OutputSettings();
outputSettings.prettyPrint(false);
- String strWithNewLines = Jsoup.clean(strHTML, "", Whitelist.none(), outputSettings);
+ String strWithNewLines = Jsoup.clean(strHTML, "", Safelist.none(), outputSettings);
assertEquals("Hello\nworld", strWithNewLines);
}
@@ -33,7 +33,7 @@ public class PreservingLineBreaksUnitTest {
jsoupDoc.select("p").before("\\n");
String str = jsoupDoc.html().replaceAll("\\\\n", "\n");
String strWithNewLines =
- Jsoup.clean(str, "", Whitelist.none(), outputSettings);
+ Jsoup.clean(str, "", Safelist.none(), outputSettings);
assertEquals("Hello\nWorld\nParagraph", strWithNewLines);
}
}
diff --git a/pdf/pom.xml b/pdf/pom.xml
index 0fe90b6eb5..34094481bf 100644
--- a/pdf/pom.xml
+++ b/pdf/pom.xml
@@ -112,11 +112,11 @@
1.8
3.15
3.0.11.RELEASE
- 9.1.20
+ 9.3.1
1.0.6
- 1.0.6
- 9.1.22
- 1.14.2
+ 1.0.10
+ 9.2.1
+ 1.16.2
\ No newline at end of file
diff --git a/xml/pom.xml b/xml/pom.xml
index b56b919914..785634e265 100644
--- a/xml/pom.xml
+++ b/xml/pom.xml
@@ -372,7 +372,7 @@
0.9.6
1.3.1
- 1.14.3
+ 1.16.2
2.25
3.4
6.7.0