Skip to content

Commit

Permalink
chore: Fix compiler warnings in schedule service (#14692)
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Riley <[email protected]>
  • Loading branch information
derektriley authored Aug 15, 2024
1 parent 25a42bc commit 5d2d919
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
4 changes: 0 additions & 4 deletions hedera-node/hedera-schedule-service-impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ plugins {

description = "Default Hedera Schedule Service Implementation"

// Remove the following line to enable all 'javac' lint checks that we have turned on by default
// and then fix the reported issues.
tasks.withType<JavaCompile>().configureEach { options.compilerArgs.add("-Xlint:-exports,-static") }

mainModuleInfo { annotationProcessor("dagger.compiler") }

testModuleInfo {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
requires transitive com.swirlds.state.api;
requires transitive com.hedera.pbj.runtime;
requires transitive dagger;
requires transitive static java.compiler; // javax.annotation.processing.Generated
requires transitive javax.inject;
requires com.hedera.node.app.service.token; // ReadableAccountStore: payer account details on create, sign, query
requires com.hedera.node.config;
requires com.google.common;
requires org.apache.logging.log4j;
requires static com.github.spotbugs.annotations;
requires static java.compiler; // javax.annotation.processing.Generated

exports com.hedera.node.app.service.schedule.impl;
exports com.hedera.node.app.service.schedule.impl.handlers;
Expand Down
4 changes: 0 additions & 4 deletions hedera-node/hedera-schedule-service/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ plugins {

description = "Hedera Schedule Service API"

// Remove the following line to enable all 'javac' lint checks that we have turned on by default
// and then fix the reported issues.
tasks.withType<JavaCompile>().configureEach { options.compilerArgs.add("-Xlint:-exports") }

testModuleInfo {
requires("com.swirlds.state.api")
requires("org.assertj.core")
Expand Down

0 comments on commit 5d2d919

Please sign in to comment.