Updated copyright
This commit is contained in:
parent
6bd1aed18f
commit
137201c3e7
22 changed files with 23 additions and 23 deletions
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* JokeApiBuild.java
|
* JokeApiBuild.java
|
||||||
*
|
*
|
||||||
* Copyright 2022-2023 Erik C. Thauvin (erik@thauvin.net)
|
* Copyright 2022-2024 Erik C. Thauvin (erik@thauvin.net)
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* JokeApi.kt
|
* JokeApi.kt
|
||||||
*
|
*
|
||||||
* Copyright 2022-2023 Erik C. Thauvin (erik@thauvin.net)
|
* Copyright 2022-2024 Erik C. Thauvin (erik@thauvin.net)
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* JokeConfig.kt
|
* JokeConfig.kt
|
||||||
*
|
*
|
||||||
* Copyright 2022-2023 Erik C. Thauvin (erik@thauvin.net)
|
* Copyright 2022-2024 Erik C. Thauvin (erik@thauvin.net)
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* JokeUtil.kt
|
* JokeUtil.kt
|
||||||
*
|
*
|
||||||
* Copyright 2022-2023 Erik C. Thauvin (erik@thauvin.net)
|
* Copyright 2022-2024 Erik C. Thauvin (erik@thauvin.net)
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
@ -52,7 +52,7 @@ internal fun fetchUrl(url: String, auth: String = ""): String {
|
||||||
|
|
||||||
val connection = URL(url).openConnection() as HttpURLConnection
|
val connection = URL(url).openConnection() as HttpURLConnection
|
||||||
connection.setRequestProperty(
|
connection.setRequestProperty(
|
||||||
"User-Agent", "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0"
|
"User-Agent", "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0"
|
||||||
)
|
)
|
||||||
if (auth.isNotEmpty()) {
|
if (auth.isNotEmpty()) {
|
||||||
connection.setRequestProperty("Authentication", auth)
|
connection.setRequestProperty("Authentication", auth)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* HttpErrorException.kt
|
* HttpErrorException.kt
|
||||||
*
|
*
|
||||||
* Copyright 2022-2023 Erik C. Thauvin (erik@thauvin.net)
|
* Copyright 2022-2024 Erik C. Thauvin (erik@thauvin.net)
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* JokeException.kt
|
* JokeException.kt
|
||||||
*
|
*
|
||||||
* Copyright 2022-2023 Erik C. Thauvin (erik@thauvin.net)
|
* Copyright 2022-2024 Erik C. Thauvin (erik@thauvin.net)
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* Category.kt
|
* Category.kt
|
||||||
*
|
*
|
||||||
* Copyright 2022-2023 Erik C. Thauvin (erik@thauvin.net)
|
* Copyright 2022-2024 Erik C. Thauvin (erik@thauvin.net)
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* Flag.kt
|
* Flag.kt
|
||||||
*
|
*
|
||||||
* Copyright 2022-2023 Erik C. Thauvin (erik@thauvin.net)
|
* Copyright 2022-2024 Erik C. Thauvin (erik@thauvin.net)
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* Format.kt
|
* Format.kt
|
||||||
*
|
*
|
||||||
* Copyright 2022-2023 Erik C. Thauvin (erik@thauvin.net)
|
* Copyright 2022-2024 Erik C. Thauvin (erik@thauvin.net)
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* IdRange.kt
|
* IdRange.kt
|
||||||
*
|
*
|
||||||
* Copyright 2022-2023 Erik C. Thauvin (erik@thauvin.net)
|
* Copyright 2022-2024 Erik C. Thauvin (erik@thauvin.net)
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* Joke.kt
|
* Joke.kt
|
||||||
*
|
*
|
||||||
* Copyright 2022-2023 Erik C. Thauvin (erik@thauvin.net)
|
* Copyright 2022-2024 Erik C. Thauvin (erik@thauvin.net)
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* Language.kt
|
* Language.kt
|
||||||
*
|
*
|
||||||
* Copyright 2022-2023 Erik C. Thauvin (erik@thauvin.net)
|
* Copyright 2022-2024 Erik C. Thauvin (erik@thauvin.net)
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* Parameter.kt
|
* Parameter.kt
|
||||||
*
|
*
|
||||||
* Copyright 2022-2023 Erik C. Thauvin (erik@thauvin.net)
|
* Copyright 2022-2024 Erik C. Thauvin (erik@thauvin.net)
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* Type.kt
|
* Type.kt
|
||||||
*
|
*
|
||||||
* Copyright 2022-2023 Erik C. Thauvin (erik@thauvin.net)
|
* Copyright 2022-2024 Erik C. Thauvin (erik@thauvin.net)
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* ApiCallTest.kt
|
* ApiCallTest.kt
|
||||||
*
|
*
|
||||||
* Copyright 2022-2023 Erik C. Thauvin (erik@thauvin.net)
|
* Copyright 2022-2024 Erik C. Thauvin (erik@thauvin.net)
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* BeforeAllTests.kt
|
* BeforeAllTests.kt
|
||||||
*
|
*
|
||||||
* Copyright 2022-2023 Erik C. Thauvin (erik@thauvin.net)
|
* Copyright 2022-2024 Erik C. Thauvin (erik@thauvin.net)
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* ExceptionsTest.kt
|
* ExceptionsTest.kt
|
||||||
*
|
*
|
||||||
* Copyright 2022-2023 Erik C. Thauvin (erik@thauvin.net)
|
* Copyright 2022-2024 Erik C. Thauvin (erik@thauvin.net)
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* GetJokeTest.kt
|
* GetJokeTest.kt
|
||||||
*
|
*
|
||||||
* Copyright 2022-2023 Erik C. Thauvin (erik@thauvin.net)
|
* Copyright 2022-2024 Erik C. Thauvin (erik@thauvin.net)
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* GetJokesTest.kt
|
* GetJokesTest.kt
|
||||||
*
|
*
|
||||||
* Copyright 2022-2023 Erik C. Thauvin (erik@thauvin.net)
|
* Copyright 2022-2024 Erik C. Thauvin (erik@thauvin.net)
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* GetRawJokesTest.kt
|
* GetRawJokesTest.kt
|
||||||
*
|
*
|
||||||
* Copyright 2022-2023 Erik C. Thauvin (erik@thauvin.net)
|
* Copyright 2022-2024 Erik C. Thauvin (erik@thauvin.net)
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* JokeConfigTest.kt
|
* JokeConfigTest.kt
|
||||||
*
|
*
|
||||||
* Copyright 2022-2023 Erik C. Thauvin (erik@thauvin.net)
|
* Copyright 2022-2024 Erik C. Thauvin (erik@thauvin.net)
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* JokeUtilTest.kt
|
* JokeUtilTest.kt
|
||||||
*
|
*
|
||||||
* Copyright 2022-2023 Erik C. Thauvin (erik@thauvin.net)
|
* Copyright 2022-2024 Erik C. Thauvin (erik@thauvin.net)
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue