Skip to content

Commit

Permalink
SMHE-832 Object Registration
Browse files Browse the repository at this point in the history
proper naming

Signed-off-by: Natasja Nortier <natasja.nortier@alliander.com>
  • Loading branch information
natasja-n committed Jun 29, 2022
1 parent 9dd0cab commit e195c46
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ private Optional<Map<DlmsObjectType, CosemObject>> getCosemObjectFromMeterConfig
}

private List<MeterConfig> getMeterConfigListFromResources() throws IOException {
final ClassPathResource c = new ClassPathResource("/meter_config");
final ClassPathResource classPathResource = new ClassPathResource("/meter_config");
final ObjectMapper objectMapper = new ObjectMapper();

final List<MeterConfig> meterConfigs = new ArrayList<>();
try (final Stream<Path> stream = Files.walk(c.getFile().toPath())) {
try (final Stream<Path> stream = Files.walk(classPathResource.getFile().toPath())) {
stream
.map(Path::normalize)
.filter(Files::isRegularFile)
Expand Down

0 comments on commit e195c46

Please sign in to comment.