Skip to content

Comments

Update readme and add examples#1

Merged
CatarinaGamboa merged 8 commits intomainfrom
update-readme
Apr 11, 2025
Merged

Update readme and add examples#1
CatarinaGamboa merged 8 commits intomainfrom
update-readme

Conversation

@CatarinaGamboa
Copy link
Collaborator

Description

Updated readme and testes template for PRs
Add examples

Type of change

  • Bug fix
  • New feature
  • Documentation update
  • Code refactoring

@CatarinaGamboa CatarinaGamboa requested a review from Copilot April 11, 2025 10:55
@CatarinaGamboa CatarinaGamboa merged commit 2d3aa3e into main Apr 11, 2025
1 check passed
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 10 out of 10 changed files in this pull request and generated 3 comments.

Comments suppressed due to low confidence (1)

latte-umbrella/src/test/examples/URLConnectionSetPropertyMultipleShort.java:32

  • Consider renaming 'requestMethode' to 'requestMethod' for consistent spelling.
public URLConnection openConnection(@Borrowed URL url, boolean in, boolean out, String requestMethode) throws IOException {

Comment on lines +98 to +99
assert(false);
}
Copy link

Copilot AI Apr 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using fail() from JUnit instead of assert(false), as the built-in assert may be disabled in production runs.

Suggested change
assert(false);
}
fail();

Copilot uses AI. Check for mistakes.
Comment on lines +31 to +35
public URLConnection openConnection(@Borrowed URL url, boolean in, boolean out, String requestMethode) throws IOException{
URLConnection con = url.openConnection();
con.setDoInput(in);
con.setDoOutput (out);
con.setRequestMethod(requestMethode);
Copy link

Copilot AI Apr 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider renaming 'requestMethode' to 'requestMethod' for consistent spelling.

Suggested change
public URLConnection openConnection(@Borrowed URL url, boolean in, boolean out, String requestMethode) throws IOException{
URLConnection con = url.openConnection();
con.setDoInput(in);
con.setDoOutput (out);
con.setRequestMethod(requestMethode);
public URLConnection openConnection(@Borrowed URL url, boolean in, boolean out, String requestMethod) throws IOException{
URLConnection con = url.openConnection();
con.setDoInput(in);
con.setDoOutput (out);
con.setRequestMethod(requestMethod);

Copilot uses AI. Check for mistakes.
Comment on lines +50 to +54
### Prerequisites

- Java 11 or higher
- Maven

Copy link

Copilot AI Apr 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Duplicate 'Prerequisites' header detected; consider removing the redundant section for clarity.

Suggested change
### Prerequisites
- Java 11 or higher
- Maven

Copilot uses AI. Check for mistakes.
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

Successfully merging this pull request may close these issues.

1 participant