Commit 1c069365 authored by Björn Butzin's avatar Björn Butzin
Browse files

Fixed file encoding to be UTF-8

parent f1323d74
Pipeline #181 passed with stage
in 1 minute and 11 seconds
.settings
.idea
/log
/build.xml
/bin
......
......@@ -6,6 +6,11 @@
<artifactId>jcoap-proxy</artifactId>
<version>0.0.2</version>
<name>jCoAP Proxy</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
......
......@@ -5,6 +5,9 @@
<version>0.0.1</version>
<name>jCoAP Examples</name>
<description>Examples using jCoAP</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
......
......@@ -34,8 +34,8 @@ import org.ws4d.coap.core.tools.Encoder;
/**
* This class demonstrates a CoAP client
*
* @author Bjrn Konieczeck <bjoern.konieczeck@uni-rostock.de>
* @author Bjrn Butzin <bjoern.butzin@uni-rostock.de>
* @author Björn Konieczeck <bjoern.konieczeck@uni-rostock.de>
* @author Björn Butzin <bjoern.butzin@uni-rostock.de>
*/
public class Client implements CoapClient {
......
......@@ -31,8 +31,8 @@ import org.ws4d.coap.example.basics.resources.Window;
/**
* This class demonstrates a CoAP server
*
* @author Bjrn Konieczeck <bjoern.konieczeck@uni-rostock.de>
* @author Bjrn Butzin <bjoern.butzin@uni-rostock.de>
* @author Björn Konieczeck <bjoern.konieczeck@uni-rostock.de>
* @author Björn Butzin <bjoern.butzin@uni-rostock.de>
*/
public class Server {
......@@ -73,8 +73,8 @@ public class Server {
.setResourceType("Test Interface Foo"));
this.resourceServer.createResource(new BasicCoapResource("/Match*+","Match*+", CoapMediaType.text_plain)
.setResourceType("Test Intergalactic Foo"));
this.resourceServer.createResource(new BasicCoapResource("/Match-","Match-", CoapMediaType.text_plain)
.setResourceType("- Intergalactic Foo"));
this.resourceServer.createResource(new BasicCoapResource("/Matchöüäß-","Matchöüäß-", CoapMediaType.text_plain)
.setResourceType("öüäß- Intergalactic Foo"));
this.resourceServer.createResource(new BasicCoapResource("/sub/012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234",
"subresource".getBytes(), CoapMediaType.text_plain));
......
......@@ -26,8 +26,8 @@ import org.ws4d.coap.core.rest.CoapData;
/**
* This class demonstrates a CoAP ressource
*
* @author Bjrn Konieczeck <bjoern.konieczeck@uni-rostock.de>
* @author Bjrn Butzin <bjoern.butzin@uni-rostock.de>
* @author Björn Konieczeck <bjoern.konieczeck@uni-rostock.de>
* @author Björn Butzin <bjoern.butzin@uni-rostock.de>
*/
public class ObservableResource extends BasicCoapResource {
......
......@@ -27,8 +27,8 @@ import org.ws4d.coap.core.tools.Encoder;
/**
* This class demonstrates a CoAP ressource
*
* @author Bjrn Konieczeck <bjoern.konieczeck@uni-rostock.de>
* @author Bjrn Butzin <bjoern.butzin@uni-rostock.de>
* @author Björn Konieczeck <bjoern.konieczeck@uni-rostock.de>
* @author Björn Butzin <bjoern.butzin@uni-rostock.de>
*/
public class Window extends BasicCoapResource {
......
......@@ -35,7 +35,7 @@ import org.ws4d.coap.core.tools.Encoder;
/**
* @author Christian Lerche <christian.lerche@uni-rostock.de>
* @author Bjrn Butzin <bjoern.butzin@uni-rostock.de>
* @author Björn Butzin <bjoern.butzin@uni-rostock.de>
*/
public class BasicCoapResource implements CoapResource {
private static final Logger logger = LogManager.getLogger();
......
......@@ -42,8 +42,8 @@ import org.ws4d.coap.core.rest.api.ResourceServer;
/**
* @author Christian Lerche <christian.lerche@uni-rostock.de>
* @author Bjrn Konieczek <bjoern.konieczek@uni-rostock.de>
* @author Bjrn Butzin <bjoern.butzin@uni-rostock.de>
* @author Björn Konieczek <bjoern.konieczek@uni-rostock.de>
* @author Björn Butzin <bjoern.butzin@uni-rostock.de>
*/
public class CoapResourceServer implements ResourceServer {
private static final Logger logger = LogManager.getLogger();
......
......@@ -36,7 +36,7 @@ import org.ws4d.coap.core.tools.Encoder;
*
* @author Nico Laum <nico.laum@uni-rostock.de>
* @author Christian Lerche <christian.lerche@uni-rostock.de>
* @author Björn Butzin <bjoern.butzin@uni-rostock.de>
* @author Björn Butzin <bjoern.butzin@uni-rostock.de>
*/
public class CoreResource extends BasicCoapResource {
private static final Logger logger = LogManager.getLogger();
......
......@@ -24,7 +24,7 @@ import org.ws4d.coap.core.enumerations.CoapMediaType;
import org.ws4d.coap.core.rest.api.ResourceHandler;
/**
* @author Bjrn Butzin <bjoern.butzin@uni-rostock.de>
* @author Björn Butzin <bjoern.butzin@uni-rostock.de>
*/
public class MultiTypeResource extends BasicCoapResource {
// representations
......
......@@ -31,7 +31,7 @@ import org.ws4d.coap.core.rest.CoapData;
*
* @author Nico Laum <nico.laum@uni-rostock.de>
* @author Christian Lerche <christian.lerche@uni-rostock.de>
* @author Björn Butzin <bjoern.butzin@uni-rostock.de>
* @author Björn Butzin <bjoern.butzin@uni-rostock.de>
*/
public interface CoapResource {
......
......@@ -27,7 +27,7 @@ import org.ws4d.coap.core.messages.api.CoapRequest;
*
* @author Nico Laum
* @author Christian Lerche
* @author Björn Butzin <bjoern.butzin@uni-rostock.de>
* @author Björn Butzin <bjoern.butzin@uni-rostock.de>
*/
public interface ResourceServer extends CoapServer {
......
......@@ -21,7 +21,7 @@ import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
/**
* @author Bjrn Butzin <bjoern.butzin@uni-rostock.de>
* @author Björn Butzin <bjoern.butzin@uni-rostock.de>
*/
public class Encoder {
private static final Logger logger = LogManager.getLogger();
......
......@@ -28,7 +28,7 @@ import java.util.Set;
* This class provides a thread safe hash map implementation that automatically removes
* added items after a fixed amount of miliseconds.
*
* @author Bjrn Butzin <bjoern.butzin@uni-rostock.de>
* @author Björn Butzin <bjoern.butzin@uni-rostock.de>
*
* @param <K>
* the data type to be used as hash map key
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment