mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
simplify stackoverflow urls
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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" />
|
||||
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user