Skip to content

Commit

Permalink
I forgot to rename setContent method name to setBody. Also updating d…
Browse files Browse the repository at this point in the history
…ependencies in the release POM. (#66)
  • Loading branch information
yvgopal authored Jun 16, 2017
1 parent ca6d435 commit 5377c52
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
12 changes: 11 additions & 1 deletion azure-servicebus/azure-servicebus.pom
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-servicebus</artifactId>
<version>1.0.0-PREVIEW-1</version>
<version>1.0.0-PREVIEW-3</version>
<licenses>
<license>
<name>The MIT License (MIT)</name>
Expand Down Expand Up @@ -64,5 +64,15 @@
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.8.0-alpha2</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.8.0-alpha2</version>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public interface IMessage {

public byte[] getBody();

public void setContent(byte[] content);
public void setBody(byte[] body);

public Map<String, String> getProperties();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public byte[] getBody() {
}

@Override
public void setContent(byte[] content) {
public void setBody(byte[] content) {
this.content = content;
}

Expand Down

0 comments on commit 5377c52

Please sign in to comment.