Skip to content

Commit

Permalink
🦉 Updates from OwlBot post-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Sep 14, 2023
1 parent bf7b3ef commit 9d850df
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ implementation 'com.google.cloud:google-cloud-pubsub'
If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-pubsub:1.124.2'
implementation 'com.google.cloud:google-cloud-pubsub:1.125.0'
```

If you are using SBT, add this to your dependencies:

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.124.2"
libraryDependencies += "com.google.cloud" % "google-cloud-pubsub" % "1.125.0"
```
<!-- {x-version-update-end} -->

Expand Down Expand Up @@ -408,7 +408,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsub/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-pubsub.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.124.2
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsub/1.125.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@

public class MessageDataMatcher implements ArgumentMatcher<PubsubMessage> {

private ByteString expectedData;
private ByteString expectedData;

public MessageDataMatcher(ByteString expectedData) {
this.expectedData = expectedData;
}
public MessageDataMatcher(ByteString expectedData) {
this.expectedData = expectedData;
}

@Override
public boolean matches(PubsubMessage message2) {
return (expectedData.equals(message2.getData()));
}
}
@Override
public boolean matches(PubsubMessage message2) {
return (expectedData.equals(message2.getData()));
}
}

0 comments on commit 9d850df

Please sign in to comment.