Skip to content

Java Console Tool - #353

Open
razan1454 wants to merge 3 commits into
mainfrom
feature/86ex5udz6-Java-Consol-oop
Open

Java Console Tool#353
razan1454 wants to merge 3 commits into
mainfrom
feature/86ex5udz6-Java-Consol-oop

Conversation

@razan1454

Copy link
Copy Markdown
Collaborator

feature/86ex5udz6-Java-Consol-oop

Mariya-2001
Mariya-2001 previously approved these changes Apr 9, 2026
@github-actions

Copy link
Copy Markdown

Code Review Comments

  1. Pull Request Title: The title does not follow the required format. It should start with a ClickUp ticket ID followed by a colon (e.g., "86ex6r17g: Java Console Tool").
  2. Pull Request Description: The description "feature/86ex5udz6-Java-Consol-oop" does not adequately reflect the changes made in the pull request, which should summarize the purpose of the code changes.
  3. Indentation: The code has inconsistent indentation. Ensure all indentation is consistently set to 4 spaces.
  4. Unnecessary Blank Lines: There are several unnecessary blank lines throughout the code, particularly between method definitions and at the end of the file.
  5. Logical Errors:
    • In line 46, SelecionSort(numbers); should be corrected to SelectionSort(numbers); to match the method name.
    • The getLowestThree method in line 146 returns the first three elements without sorting. This might not give the expected result unless the input is guaranteed to be sorted.
  6. Code Practices:
    • It might be useful to handle potential edge cases in parseInput, such as checking for non-integer values.
    • Consider implementing checks for the selected algorithm in main to ensure it is a valid choice before proceeding.

Feel free to ask if you need further details on any specific points!

New%20session%20-%202026-04-13T10%3A59%3A07.438Z
opencode session  |  github run

Mariya-2001
Mariya-2001 previously approved these changes Apr 14, 2026
JuniorPrice
JuniorPrice previously approved these changes Apr 19, 2026
@razan1454
razan1454 dismissed stale reviews from JuniorPrice and Mariya-2001 via 637a73a April 26, 2026 08:01
@github-actions

Copy link
Copy Markdown

Code Review Comments

  1. Pull Request Title: The title should start with a ClickUp ticket ID followed by a colon. Currently, it is "Java Console Tool". It should be modified to, for example, "86ex5udz6: Java Console Tool".

  2. Pull Request Description: The description "feature/86ex5udz6-Java-Consol-oop" does not effectively summarize the changes. It should provide a clear overview of the feature implemented.

  3. Indentation: The code exhibits inconsistent indentation. All code should use 4 spaces for indentation for uniformity.

  4. Unnecessary Blank Lines: There are several instances of unnecessary blank lines, particularly in the JavaConsol and Sorter classes. These should be removed to enhance code clarity.

  5. Logical Errors:

    • In JavaConsol.java:
      • Line 47: The method is incorrectly named as SelecionSort instead of SelectionSort.
      • Line 52: The method getLowestThree in Sorter returns the first three elements without sorting, which may not produce the expected result.
  6. Code Practices:

    • In InputParser.java:
      • Line 19: Consider handling potential edge cases more robustly, such as logging or managing non-integer inputs.
    • In JavaConsol.java:
      • Before choosing a sorting algorithm, implement checks to validate user input for the selected algorithm. This ensures safe defaults and prevents unexpected behavior.

Overall, addressing the above points will enhance the quality and maintainability of the code.

New%20session%20-%202026-04-26T08%3A01%3A30.487Z
opencode session  |  github run

Mariya-2001
Mariya-2001 previously approved these changes May 5, 2026
@razan1454
razan1454 dismissed Mariya-2001’s stale review May 19, 2026 05:19

The merge-base changed after approval.

JuniorPrice
JuniorPrice previously approved these changes Jun 4, 2026
@razan1454
razan1454 dismissed JuniorPrice’s stale review June 4, 2026 10:59

The merge-base changed after approval.

JuniorPrice
JuniorPrice previously approved these changes Jun 4, 2026
@razan1454
razan1454 dismissed JuniorPrice’s stale review June 4, 2026 11:22

The merge-base changed after approval.

TibyanSaad
TibyanSaad previously approved these changes Jun 21, 2026
@razan1454
razan1454 dismissed TibyanSaad’s stale review June 21, 2026 10:31

The merge-base changed after approval.

RimaAhmed1
RimaAhmed1 previously approved these changes Jun 25, 2026
@razan1454
razan1454 dismissed RimaAhmed1’s stale review June 25, 2026 05:30

The merge-base changed after approval.

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.

5 participants