Skip to content

Commit

Permalink
Another round for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
rorbech committed Jul 9, 2024
1 parent dc4b83e commit 66a8ced
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/include-static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:

- name: Run Ktlint
run: ./gradlew ktlintCheck
continue-on-error: true

- name: Stash Ktlint results
run: |
Expand Down Expand Up @@ -85,7 +84,6 @@ jobs:

- name: Run Detekt
run: ./gradlew detekt
continue-on-error: true

- name: Stash Detekt results
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1782,4 +1782,4 @@ jobs:
secrets: inherit
with:
version-label: ${{ needs.check-cache.outputs.version-label }}
packages-sha-label: ${{ needs.check-cache.outputs.packages-sha }}
packages-sha-label: ${{ needs.check-cache.outputs.packages-sha }}
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ public open class UnrecoverableSyncException internal constructor(message: Strin
* Thrown when the type of sync used by the server does not match the one used by the client, i.e.
* the server and client disagrees whether to use Partition-based or Flexible Sync.
*/
public class WrongSyncTypeException internal constructor(message: String,
) : UnrecoverableSyncException(message)
public class WrongSyncTypeException internal constructor(message: String) :
UnrecoverableSyncException(message)

/**
* Thrown when the server does not support one or more of the queries defined in the
Expand All @@ -73,7 +73,8 @@ public class BadFlexibleSyncQueryException internal constructor(message: String?
*/
public class CompensatingWriteException internal constructor(
message: String,
compensatingWrites: Array<CoreCompensatingWriteInfo>, isFatal: Boolean
compensatingWrites: Array<CoreCompensatingWriteInfo>,
isFatal: Boolean
) : SyncException(message, isFatal) {
/**
* List of all the objects created that has been reversed as part of triggering this exception.
Expand Down

0 comments on commit 66a8ced

Please sign in to comment.