simplify stackoverflow urls

This commit is contained in:
Athou
2024-07-28 09:58:21 +02:00
parent 2395d0782e
commit 272f5b42f9
3 changed files with 3 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ class FeedCleaner {
return sb.toString();
}
// https://stackoverflow.com/a/40836618/1885506
// https://stackoverflow.com/a/40836618
public String replaceHtmlEntitiesWithNumericEntities(String source) {
// Create a buffer sufficiently large that re-allocations are minimized.
StringBuilder sb = new StringBuilder(source.length() << 1);

View File

@@ -8,7 +8,7 @@
<!-- liquibase uses the 'TIMESTAMP WITHOUT TIME ZONE' type by default, which is not a UTC timestamp -->
<!-- postgresql UTC timestamp is actually 'TIMESTAMP WITH TIME ZONE' -->
<!-- see https://stackoverflow.com/a/48069726/1885506 -->
<!-- see https://stackoverflow.com/a/48069726 -->
<property name="timestamp_type" value="timestamp with time zone" dbms="postgresql" />
<property name="timestamp_type" value="timestamp" dbms="h2,mysql,mariadb,mssql" />

View File

@@ -126,7 +126,7 @@ class HttpGetterTest {
@Test
void connectTimeout() {
// try to connect to a non-routable address
// https://stackoverflow.com/a/904609/1885506
// https://stackoverflow.com/a/904609
Assertions.assertThrows(ConnectTimeoutException.class, () -> getter.getBinary("http://10.255.255.1", 2000));
}