Skip to content

Commit

Permalink
[ACS-9062] Fix camelcase
Browse files Browse the repository at this point in the history
  • Loading branch information
kmagdziarz committed Dec 4, 2024
1 parent e161ab6 commit cbbe46c
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,26 +107,26 @@ public static Optional<PropertyDelta<?>> calculateModifiedAtDelta(RepoEvent<Data

public static Optional<PropertyDelta<?>> calculateAllowAccessDelta(RepoEvent<DataAttributes<NodeResource>> event)
{
EventData EventData = (EventData) event.getData();
EventData eventData = (EventData) event.getData();

if (EventData.getResourceReaderAuthorities() == null)
if (eventData.getResourceReaderAuthorities() == null)
{
return Optional.of(PropertyDelta.updated(ALLOW_ACCESS, Set.of(GROUP_EVERYONE)));
}

return Optional.of(PropertyDelta.updated(ALLOW_ACCESS, EventData.getResourceReaderAuthorities()));
return Optional.of(PropertyDelta.updated(ALLOW_ACCESS, eventData.getResourceReaderAuthorities()));
}

public static Optional<PropertyDelta<?>> calculateDenyAccessDelta(RepoEvent<DataAttributes<NodeResource>> event)
{
EventData EventData = (EventData) event.getData();
EventData eventData = (EventData) event.getData();

if (EventData.getResourceDeniedAuthorities() == null)
if (eventData.getResourceDeniedAuthorities() == null)
{
return Optional.of(PropertyDelta.updated(DENY_ACCESS, Set.of()));
}

return Optional.of(PropertyDelta.updated(DENY_ACCESS, EventData.getResourceDeniedAuthorities()));
return Optional.of(PropertyDelta.updated(DENY_ACCESS, eventData.getResourceDeniedAuthorities()));
}

private static Long toMilliseconds(ZonedDateTime time)
Expand Down

0 comments on commit cbbe46c

Please sign in to comment.