Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Aniketh Girish
yuzu-browser-clone
Commits
9ed04445
Commit
9ed04445
authored
6 years ago
by
hazuki
Browse files
Options
Download
Email Patches
Plain Diff
Fix throwable
parent
5589e546
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
module/connecter/src/main/java/jp/hazuki/yuzubrowser/browser/connecter/openable/OpenUrl.kt
+1
-1
.../hazuki/yuzubrowser/browser/connecter/openable/OpenUrl.kt
with
1 addition
and
1 deletion
+1
-1
module/connecter/src/main/java/jp/hazuki/yuzubrowser/browser/connecter/openable/OpenUrl.kt
View file @
9ed04445
...
...
@@ -24,7 +24,7 @@ class OpenUrl(private val url: String, override val target: Int) : BrowserOpenab
get
()
=
1
override
fun
get
(
index
:
Int
):
String
{
if
(
index
!=
0
)
throw
I
llegalArgumentException
(
)
if
(
index
!=
0
)
throw
I
ndexOutOfBoundsException
(
"Index: $index, Size: $size"
)
return
url
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help