[incubator-plc4x] branch master updated: - Fixed a typo

2018-10-05 Thread cdutz
This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git


The following commit(s) were added to refs/heads/master by this push:
 new 0d11ea1  - Fixed a typo
0d11ea1 is described below

commit 0d11ea1c76443ac5648c0fe806ff5da2917be6c4
Author: Christofer Dutz 
AuthorDate: Fri Oct 5 08:30:22 2018 +0200

- Fixed a typo
---
 src/site/asciidoc/developers/release.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/site/asciidoc/developers/release.adoc 
b/src/site/asciidoc/developers/release.adoc
index d13ac68..bc80660 100644
--- a/src/site/asciidoc/developers/release.adoc
+++ b/src/site/asciidoc/developers/release.adoc
@@ -394,7 +394,7 @@ annou...@apache.org
 d...@plc4x.apache.org
 
 E-Mail Topic:
-[ANOUNCE] Apache PLC4X (incubating) 0.1.0 released
+[ANNOUNCE] Apache PLC4X (incubating) 0.1.0 released
 
 Message:
 The Apache PLC4X (Incubating) team is pleased to announce the release of 
Apache PLC4X (incubating) 0.1.0



[incubator-plc4x] branch master updated: Fixed a typo

2018-08-13 Thread cdutz
This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git


The following commit(s) were added to refs/heads/master by this push:
 new 68b0388  Fixed a typo
68b0388 is described below

commit 68b0388d97afc11caa8ee92a8dfb68de67461db7
Author: Christofer Dutz 
AuthorDate: Mon Aug 13 09:32:15 2018 +0200

Fixed a typo
---
 .../java/org/apache/plc4x/java/api/messages/items/ReadResponseItem.java | 2 +-
 .../test/java/org/apache/plc4x/java/api/connection/PlcReaderTest.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/plc4j/api/src/main/java/org/apache/plc4x/java/api/messages/items/ReadResponseItem.java
 
b/plc4j/api/src/main/java/org/apache/plc4x/java/api/messages/items/ReadResponseItem.java
index 1e8e601..72dbdb0 100644
--- 
a/plc4j/api/src/main/java/org/apache/plc4x/java/api/messages/items/ReadResponseItem.java
+++ 
b/plc4j/api/src/main/java/org/apache/plc4x/java/api/messages/items/ReadResponseItem.java
@@ -39,7 +39,7 @@ public class ReadResponseItem extends 
ResponseItem> {
 Objects.requireNonNull(values, "Values must not be null");
 for (T value : values) {
 if (!requestItem.getDatatype().isAssignableFrom(value.getClass())) 
{
-throw new IllegalArgumentException("Datatype of " + value + " 
doesn't macht required datatype of " + requestItem.getDatatype());
+throw new IllegalArgumentException("Datatype of " + value + " 
doesn't match required datatype of " + requestItem.getDatatype());
 }
 }
 this.values = values;
diff --git 
a/plc4j/api/src/test/java/org/apache/plc4x/java/api/connection/PlcReaderTest.java
 
b/plc4j/api/src/test/java/org/apache/plc4x/java/api/connection/PlcReaderTest.java
index e97c288..368286f 100644
--- 
a/plc4j/api/src/test/java/org/apache/plc4x/java/api/connection/PlcReaderTest.java
+++ 
b/plc4j/api/src/test/java/org/apache/plc4x/java/api/connection/PlcReaderTest.java
@@ -51,7 +51,7 @@ public class PlcReaderTest {
 .read(new TypeSafePlcReadRequest<>(String.class, 
mock(Address.class))).get();
 fail("Should throw an exception");
 } catch (IllegalArgumentException e) {
-assertThat(e.getMessage(), equalTo("Datatype of 1 doesn't macht 
required datatype of class java.lang.String"));
+assertThat(e.getMessage(), equalTo("Datatype of 1 doesn't match 
required datatype of class java.lang.String"));
 } catch (ExecutionException e) {
 assertThat(e.getCause(), 
instanceOf(IllegalArgumentException.class));
 assertThat(e.getCause().getMessage(), equalTo("Unexpected data 
type class java.lang.Integer on readRequestItem. Expected class 
java.lang.String"));



[incubator-plc4x] branch master updated: Fixed a typo

2018-02-16 Thread cdutz
This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git


The following commit(s) were added to refs/heads/master by this push:
 new 3124e57  Fixed a typo
3124e57 is described below

commit 3124e57c489e853d42ff7a3e008504816ead926f
Author: Christofer Dutz 
AuthorDate: Fri Feb 16 15:55:54 2018 +0100

Fixed a typo
---
 .../main/java/org/apache/plc4x/java/isotp/netty/IsoTPProtocol.java| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/plc4j/protocols/s7/src/main/java/org/apache/plc4x/java/isotp/netty/IsoTPProtocol.java
 
b/plc4j/protocols/s7/src/main/java/org/apache/plc4x/java/isotp/netty/IsoTPProtocol.java
index 12c3467..71bdcaa 100644
--- 
a/plc4j/protocols/s7/src/main/java/org/apache/plc4x/java/isotp/netty/IsoTPProtocol.java
+++ 
b/plc4j/protocols/s7/src/main/java/org/apache/plc4x/java/isotp/netty/IsoTPProtocol.java
@@ -102,7 +102,7 @@ public class IsoTPProtocol extends 
MessageToMessageCodec
 encodeDisconnect(in, buf);
 break;
 case TPDU_ERROR:
-enocdeError(in, buf);
+encodeError(in, buf);
 break;
 default:
 if (logger.isErrorEnabled()) {
@@ -116,7 +116,7 @@ public class IsoTPProtocol extends 
MessageToMessageCodec
 out.add(new IsoOnTcpMessage(buf));
 }
 
-private void enocdeError(Tpdu in, ByteBuf buf) {
+private void encodeError(Tpdu in, ByteBuf buf) {
 ErrorTpdu errorTpdu = (ErrorTpdu) in;
 buf.writeShort(errorTpdu.getDestinationReference());
 buf.writeByte(errorTpdu.getRejectCause().getCode());

-- 
To stop receiving notification emails like this one, please contact
cd...@apache.org.