File tree Expand file tree Collapse file tree
framework/src/main/java/org/tron/program Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99import javax .annotation .PostConstruct ;
1010import javax .annotation .PreDestroy ;
1111import lombok .extern .slf4j .Slf4j ;
12- import org .checkerframework .checker .nullness .qual .NonNull ;
1312import org .springframework .beans .factory .annotation .Autowired ;
1413import org .springframework .context .ApplicationListener ;
1514import org .springframework .context .annotation .Condition ;
@@ -66,7 +65,7 @@ private void init() {
6665 }
6766
6867 @ Override
69- public void onApplicationEvent (@ NonNull ContextClosedEvent event ) {
68+ public void onApplicationEvent (ContextClosedEvent event ) {
7069 flag = false ; // invoke earlier than @PreDestroy
7170 }
7271
@@ -217,8 +216,7 @@ private void resolveCompatibilityIssueIfUsingFullNodeDatabase() {
217216 static class SolidityCondition implements Condition {
218217
219218 @ Override
220- public boolean matches (@ NonNull ConditionContext context ,
221- @ NonNull AnnotatedTypeMetadata metadata ) {
219+ public boolean matches (ConditionContext context , AnnotatedTypeMetadata metadata ) {
222220 return Args .getInstance ().isSolidityNode ();
223221 }
224222 }
You can’t perform that action at this time.
0 commit comments