Skip to content

Conversation

@mariusmarin-dev
Copy link

No description provided.

return false;
}
return true;
if (!(obj instanceof RegisteredUserDTO other)) return false;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck> reported by reviewdog 🐶
'if' construct must use '{}'s.

return false;
}
return true;
if (!(obj instanceof RegisteredUserDTO other)) return false;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck> reported by reviewdog 🐶
'if' construct must use '{}'s.

return true;
if (!(obj instanceof RegisteredUserDTO other)) return false;

return Objects.equals(id, other.id) &&

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.whitespace.OperatorWrapCheck> reported by reviewdog 🐶
'&&' should be on a new line.

if (!(obj instanceof RegisteredUserDTO other)) return false;

return Objects.equals(id, other.id) &&
Objects.equals(dateOfBirth, other.dateOfBirth) &&

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.whitespace.OperatorWrapCheck> reported by reviewdog 🐶
'&&' should be on a new line.


return Objects.equals(id, other.id) &&
Objects.equals(dateOfBirth, other.dateOfBirth) &&
Objects.equals(email, other.email) &&

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.whitespace.OperatorWrapCheck> reported by reviewdog 🐶
'&&' should be on a new line.

Objects.equals(schoolOther, other.schoolOther) &&
Objects.equals(teacherPending, other.teacherPending) &&
Objects.equals(lastSeen, other.lastSeen) &&
Objects.equals(registeredContexts, other.registeredContexts) &&

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.whitespace.OperatorWrapCheck> reported by reviewdog 🐶
'&&' should be on a new line.

return false;
}
return true;
if (!(obj instanceof RegisteredUser other)) return false;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck> reported by reviewdog 🐶
'if' construct must use '{}'s.

import uk.ac.cam.cl.dtg.isaac.api.GameboardsFacade;
import uk.ac.cam.cl.dtg.isaac.api.managers.GameManager;
import uk.ac.cam.cl.dtg.isaac.api.managers.NoWildcardException;
import uk.ac.cam.cl.dtg.isaac.api.exceptions.NoWildcardException;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck> reported by reviewdog 🐶
Wrong lexicographical order for 'uk.ac.cam.cl.dtg.isaac.api.exceptions.NoWildcardException' import. Should be before 'uk.ac.cam.cl.dtg.isaac.api.managers.GameManager'.

import uk.ac.cam.cl.dtg.isaac.api.managers.EventBookingManager;
import uk.ac.cam.cl.dtg.isaac.api.managers.EventBookingUpdateException;
import uk.ac.cam.cl.dtg.isaac.api.managers.EventIsCancelledException;
import uk.ac.cam.cl.dtg.isaac.api.exceptions.EventBookingUpdateException;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck> reported by reviewdog 🐶
Wrong lexicographical order for 'uk.ac.cam.cl.dtg.isaac.api.exceptions.EventBookingUpdateException' import. Should be before 'uk.ac.cam.cl.dtg.isaac.api.managers.EventBookingManager'.

import uk.ac.cam.cl.dtg.isaac.api.managers.EventBookingUpdateException;
import uk.ac.cam.cl.dtg.isaac.api.managers.EventIsCancelledException;
import uk.ac.cam.cl.dtg.isaac.api.exceptions.EventBookingUpdateException;
import uk.ac.cam.cl.dtg.isaac.api.exceptions.EventIsCancelledException;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck> reported by reviewdog 🐶
Wrong lexicographical order for 'uk.ac.cam.cl.dtg.isaac.api.exceptions.EventIsCancelledException' import. Should be before 'uk.ac.cam.cl.dtg.isaac.api.managers.EventBookingManager'.

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
3.2% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@github-actions
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants