Skip to content

Commit

Permalink
Merge pull request #107 from KyoriPowered/renovate/ca.stellardrift-st…
Browse files Browse the repository at this point in the history
…ylecheck-0.x

chore(deps): Update dependency ca.stellardrift:stylecheck to v0.2.0
  • Loading branch information
zml2008 committed Nov 3, 2022
2 parents ca1c133 + b783f4b commit 95303b2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ subprojects {
withModule("com.destroystokyo.paper:paper-api", BukkitAnnotationsRule)
}
annotationProcessor 'ca.stellardrift:contract-validator:1.0.1'
checkstyle 'ca.stellardrift:stylecheck:0.1'
checkstyle 'ca.stellardrift:stylecheck:0.2.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ public void close() {
private void broadcastPacket(final int action) {
if (this.isEmpty()) return;

synchronized(this.bar) {
synchronized (this.bar) {
this.bar.setAction(action);
for (final ProxiedPlayer viewer : this.viewers) {
viewer.unsafe().sendPacket(this.bar);
Expand All @@ -319,7 +319,7 @@ private void broadcastPacket(final int action) {
}

private void sendPacket(final int action, final ProxiedPlayer... viewers) {
synchronized(this.bar) {
synchronized (this.bar) {
final int lastAction = this.bar.getAction();
this.bar.setAction(action);
for (final ProxiedPlayer viewer : viewers) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ public void showBossBar(final @NotNull BossBar bar) {
if (this.bossBar == null || this.bossBars == null) return;

Facet.BossBar<V> listener;
synchronized(this.bossBars) {
synchronized (this.bossBars) {
listener = this.bossBars.get(bar);
if (listener == null) {
listener =
Expand Down

0 comments on commit 95303b2

Please sign in to comment.