Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 'Parentheses in (client.newCall(Request.Builder().url(url).build()) .execute() .body .string() .substringAfter("<title>") .substringBefore("</title>") .split("|") .first() .replace("\u200F", "") .trim()) are unnecessary and can be replaced with: client.newCall(Request.Builder().url(url).build()) .execute() .body .string() .substringAfter("<title>") .substringBefore("</title>") .split("|") .first() .replace("\u200F", "") .trim()' issue in src\main\kotlin\ReadmeBuilder.kt #12

Open
yamin8000 opened this issue Jun 4, 2024 · 0 comments

Comments

@yamin8000
Copy link
Owner

CodeFactor found an issue: Parentheses in (client.newCall(Request.Builder().url(url).build()) .execute() .body .string() .substringAfter("<title>") .substringBefore("</title>") .split("|") .first() .replace("\u200F", "") .trim()) are unnecessary and can be replaced with: client.newCall(Request.Builder().url(url).build()) .execute() .body .string() .substringAfter("<title>") .substringBefore("</title>") .split("|") .first() .replace("\u200F", "") .trim()

It's currently on:
src\main\kotlin\ReadmeBuilder.kt:86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant