Skip to content

Commit

Permalink
Fully remove contextconditions
Browse files Browse the repository at this point in the history
  • Loading branch information
FDelporte committed Jun 13, 2024
1 parent 6c254de commit efd0f91
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
@SpringBootApplication
public class Application {

// Expose with ngrok: `ngrok http --domain=pi4j.ngrok.dev 8080`

public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Conditional;
import org.springframework.context.annotation.Configuration;

@Configuration(proxyBeanMethods = false)
Expand Down Expand Up @@ -50,7 +49,6 @@ public ContextConfiguration() {
}

@Bean
@Conditional(ContextConditions.class)
@ConditionalOnMissingBean
Context context() {
return pi4j;
Expand Down

0 comments on commit efd0f91

Please sign in to comment.