Skip to content

Commit

Permalink
Minor refactoring
Browse files Browse the repository at this point in the history
Signed-off-by: Mohammad Ghazanfar Ali Danish <[email protected]>
  • Loading branch information
mdanish98 committed Nov 24, 2023
1 parent e0dc9b2 commit dbc5a89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class RegistryIntegrationAasRepositoryFeature implements AasRepositoryFea
private String registryBaseURL;

@Value("${basyx.externalurl:}")
private String submodelRepositoryExternalBaseURL;
private String aasRepositoryExternalBaseURL;

@Autowired
public RegistryIntegrationAasRepositoryFeature(AasRepositoryRegistryLink aasRepositoryRegistryLink) {
Expand Down Expand Up @@ -78,6 +78,6 @@ public String getName() {

@Override
public boolean isEnabled() {
return !registryBaseURL.isBlank() && !submodelRepositoryExternalBaseURL.isBlank();
return !registryBaseURL.isBlank() && !aasRepositoryExternalBaseURL.isBlank();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public class RegistryIntegrationSubmodelRepositoryFeature implements SubmodelRep
private String registryBaseURL;

@Value("${basyx.externalurl:}")
private String aasRepositoryExternalBaseURL;
private String submodelRepositoryExternalBaseURL;

@Autowired
public RegistryIntegrationSubmodelRepositoryFeature(SubmodelRepositoryRegistryLink submodelRepositoryRegistryLink) {
Expand Down Expand Up @@ -76,6 +76,6 @@ public String getName() {

@Override
public boolean isEnabled() {
return !registryBaseURL.isBlank() && !aasRepositoryExternalBaseURL.isBlank();
return !registryBaseURL.isBlank() && !submodelRepositoryExternalBaseURL.isBlank();
}
}

0 comments on commit dbc5a89

Please sign in to comment.