mirror of
https://github.com/github/awesome-copilot.git
synced 2026-04-11 10:45:56 +00:00
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -22,7 +22,12 @@ public class AccessibilityReport {
|
||||
var reader = new BufferedReader(new InputStreamReader(System.in));
|
||||
|
||||
System.out.print("Enter URL to analyze: ");
|
||||
String url = reader.readLine().trim();
|
||||
String urlLine = reader.readLine();
|
||||
if (urlLine == null) {
|
||||
System.out.println("No URL provided. Exiting.");
|
||||
return;
|
||||
}
|
||||
String url = urlLine.trim();
|
||||
if (url.isEmpty()) {
|
||||
System.out.println("No URL provided. Exiting.");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user