Skip to content

Commit

Permalink
Minor test chnages
Browse files Browse the repository at this point in the history
  • Loading branch information
rt4914 committed Jul 7, 2022
1 parent 354ba9f commit eda4f57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions foremwebview/src/main/java/com/forem/webview/UrlChecks.kt
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ object UrlChecks {
*/
fun checkUrlIsCorrect(url: String): Boolean {
return try {
val checkURL = URL(url)
val checkURI = Uri.parse(url)
URL(url)
Uri.parse(url)
return true
} catch (e: MalformedURLException) {
false
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit eda4f57

Please sign in to comment.