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

ISSUE-598 # remove maven-compiler warnings with target Java 17 (JDK8 Compatible) #604

Merged
merged 2 commits into from
Mar 1, 2024

Conversation

baulea
Copy link
Contributor

@baulea baulea commented Nov 8, 2023

remove maven-compiler warnings with target Java 17 (JDK8 Compatible)

PR Branch
pull request

Motivation and Context

#598

Checklist:

  • Unit tests added

  • Integration tests added

  • Test names are meaningful

  • Feature manually tested

  • Branch build passed

  • No 'package.*' in the imports

  • Relevant Wiki page updated with clear instruction for the end user

    • Not applicable. This was only a refactor change, no functional or behaviour changes were introduced
  • Http test added to http-testing module(if applicable) ?

    • Not applicable. The changes did not affect HTTP automation flow
  • Kafka test added to kafka-testing module(if applicable) ?

    • Not applicable. The changes did not affect Kafka automation flow

[WARNING] /home/alois/zerocode/core/src/main/java/org/jsmart/zerocode/core/kafka/helper/KafkaProducerHelper.java:[102,62] non-varargs call of varargs method with inexact argument type for last parameter;
  cast to java.lang.Class<?> for a varargs call
  cast to java.lang.Class<?>[] for a non-varargs call and to suppress this warning
[WARNING] /home/alois/zerocode/core/src/main/java/org/jsmart/zerocode/core/kafka/helper/KafkaProducerHelper.java:[103,50] non-varargs call of varargs method with inexact argument type for last parameter;
  cast to java.lang.Object for a varargs call
  cast to java.lang.Object[] for a non-varargs call and to suppress this warning

  WARNING] /home/alois/zerocode/core/src/test/java/org/jsmart/zerocode/core/engine/assertion/NumberComparatorTest.java:[21,39] Integer(java.lang.String) in java.lang.Integer has been deprecated and marked for removal
[WARNING] /home/alois/zerocode/core/src/test/java/org/jsmart/zerocode/core/engine/assertion/NumberComparatorTest.java:[21,57] Long(java.lang.String) in java.lang.Long has been deprecated and marked for removal
[WARNING] /home/alois/zerocode/core/src/test/java/org/jsmart/zerocode/core/engine/assertion/NumberComparatorTest.java:[22,39] Integer(java.lang.String) in java.lang.Integer has been deprecated and marked for removal
[WARNING] /home/alois/zerocode/core/src/test/java/org/jsmart/zerocode/core/engine/assertion/NumberComparatorTest.java:[22,57] Double(java.lang.String) in java.lang.Double has been deprecated and marked for removal
[WARNING] /home/alois/zerocode/core/src/test/java/org/jsmart/zerocode/core/runner/ZeroCodeUnitRuntimeAnnoTest.java:[57,78] non-varargs call of varargs method with inexact argument type for last parameter;
  cast to java.lang.Class<?> for a varargs call
  cast to java.lang.Class<?>[] for a non-varargs call and to suppress this warning
[WARNING] /home/alois/zerocode/core/src/test/java/org/jsmart/zerocode/core/engine/executor/javaapi/JavaMethodExecutorImplTest.java:[90,83] non-varargs call of varargs method with inexact argument type for last parameter;
  cast to java.lang.Object for a varargs call
  cast to java.lang.Object[] for a non-varargs call and to suppress this warning
@baulea
Copy link
Contributor Author

baulea commented Feb 27, 2024

@authorjapps @nirmalchandra This PR could be merged into master. It is fully compatible with JDK8.

@authorjapps
Copy link
Owner

CI Passed 🟢 as on : [INFO] Finished at: 2024-02-27T16:17:34Z

@authorjapps authorjapps self-requested a review February 28, 2024 21:28
@authorjapps authorjapps changed the title ISSUE-598 # remove maven-compiler warnings with target Java 17 ISSUE-598 # remove maven-compiler warnings with target Java 17 (JDK8 Compatible) Feb 28, 2024
@a1shadows a1shadows merged commit d142ce3 into authorjapps:master Mar 1, 2024
1 check passed
@nirmalchandra
Copy link
Collaborator

nirmalchandra commented Mar 1, 2024

@baulea , just checking why this PR name has "Java 17" ? If not needed, can you remove "17" from the PR name?
It seems confusing a bit

@nirmalchandra
Copy link
Collaborator

I am slightly late, already merged :-)

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.

4 participants