Skip to content

Commit

Permalink
Add new line at the end of all files.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernard31 committed Jul 18, 2022
1 parent daebf16 commit cece99a
Show file tree
Hide file tree
Showing 58 changed files with 58 additions and 58 deletions.
Expand Up @@ -153,4 +153,4 @@ private void sendError(HttpServletResponse resp, int statusCode, String errorMes
if (errorMessage != null)
resp.getOutputStream().write(errorMessage.getBytes(StandardCharsets.UTF_8));
}
}
}
Expand Up @@ -107,4 +107,4 @@ public interface RegistrationEngine {
*/
void destroy(boolean deregister);

}
}
Expand Up @@ -401,4 +401,4 @@ public Link[] generate() {
return links;
}
}
}
}
Expand Up @@ -211,4 +211,4 @@ private Map.Entry<LwM2mPath, LwM2mNode> readRandomValue(LwM2mPath path) {
return new AbstractMap.SimpleEntry<>(path, resource);
}
}
}
}
Expand Up @@ -107,4 +107,4 @@ public Date getTimestamp() {
public List<Integer> getAvailableResourceIds(ObjectModel model) {
return supportedResources;
}
}
}
Expand Up @@ -386,4 +386,4 @@ public void run() {
}
}
}
}
}
Expand Up @@ -24,4 +24,4 @@ public abstract class AbstractRequestObserver extends MessageObserverAdapter {
public AbstractRequestObserver(Request coapRequest) {
this.coapRequest = coapRequest;
}
}
}
Expand Up @@ -192,4 +192,4 @@ private synchronized void cancelCleaningTask() {
}
cancelled = true;
}
}
}
Expand Up @@ -137,4 +137,4 @@ public Response waitForCoapResponse() throws InterruptedException {
}
return ref.get();
}
}
}
Expand Up @@ -130,4 +130,4 @@ public static String extractCN(String dn) {
"Unable to extract sender identity : can not get common name in certificate");
}
}
}
}
Expand Up @@ -124,4 +124,4 @@ protected Identity extractIdentitySafely(EndpointContext context) {
return null;
}
}
}
}
Expand Up @@ -118,4 +118,4 @@ public boolean equals(Object obj) {
return false;
return true;
}
}
}
Expand Up @@ -27,4 +27,4 @@ public class PublicKeyConverter implements ITypeConverter<PublicKey> {
public PublicKey convert(String value) throws Exception {
return SecurityUtil.publicKey.readFromFile(value);
}
}
}
Expand Up @@ -255,4 +255,4 @@ protected String consumeParmName(StringParser<LinkParseException> parser) throws
}
return parmName;
}
}
}
Expand Up @@ -42,4 +42,4 @@ public String serializeCoreLinkFormat(Link... linkObjects) {
return builder.toString();
}

}
}
Expand Up @@ -148,4 +148,4 @@ public boolean equals(Object obj) {
return false;
return true;
}
}
}
Expand Up @@ -100,4 +100,4 @@ public String getApplicabilityError(LwM2mPath path, LwM2mModel model) {
}
return null;
}
}
}
Expand Up @@ -56,4 +56,4 @@ public LwM2mVersion extractLWM2MVersion(Document document, String DocumentName)
public DDFFileValidator create(LwM2mVersion lwm2mVersion) {
return new DefaultDDFFileValidator(lwm2mVersion);
}
}
}
Expand Up @@ -199,4 +199,4 @@ public ObjectModel getObjectModel(int objectId) {
}
};
}
}
}
Expand Up @@ -474,4 +474,4 @@ public static void validateNotOverlapping(List<LwM2mPath> paths) {
}
}
}
}
}
Expand Up @@ -207,4 +207,4 @@ private static Comparator<Long> getTimestampComparator() {
};
}
}
}
}
Expand Up @@ -498,4 +498,4 @@ protected ULong numberToULong(Number number) {
protected Double numberToDouble(Number number) {
return NumberUtil.numberToDouble(number, true);
}
}
}
Expand Up @@ -305,4 +305,4 @@ private void setResourceValue(Object value, Type type, JsonArrayEntry jsonResour
}
}
}
}
}
Expand Up @@ -611,4 +611,4 @@ protected ULong numberToULong(Number number, boolean permissiveNumberConvertion)
protected Double numberToDouble(Number number, boolean permissiveNumberConvertion) {
return NumberUtil.numberToDouble(number, permissiveNumberConvertion);
}
}
}
Expand Up @@ -360,4 +360,4 @@ private void setResourceValue(Object value, Type type, LwM2mPath resourcePath, S
}
}
}
}
}
Expand Up @@ -46,4 +46,4 @@ public LwM2mPath getPath() {
return path;
}

}
}
Expand Up @@ -162,4 +162,4 @@ private String getStringValue(Type expectedType, Object val) {
return strValue;
}
}
}
}
Expand Up @@ -239,4 +239,4 @@ private byte[] encodeTlvValue(Object value, Type type, LwM2mPath path) {
}
}
}
}
}
Expand Up @@ -34,4 +34,4 @@ public InvalidOscoreSettingException(Exception e, String message, Object... args
public InvalidOscoreSettingException(String message, Exception cause) {
super(message, cause);
}
}
}
Expand Up @@ -68,4 +68,4 @@ public boolean equals(Object obj) {
return false;
return true;
}
}
}
Expand Up @@ -144,4 +144,4 @@ public boolean equals(Object obj) {
return false;
return true;
}
}
}
Expand Up @@ -112,4 +112,4 @@ protected static LwM2mPath newPath(String path) {
}
}

}
}
Expand Up @@ -80,4 +80,4 @@ public static ExecuteResponse methodNotAllowed() {
public static ExecuteResponse internalServerError(String errorMessage) {
return new ExecuteResponse(ResponseCode.INTERNAL_SERVER_ERROR, errorMessage);
}
}
}
Expand Up @@ -75,4 +75,4 @@ public static WriteCompositeResponse notAcceptable() {
public static WriteCompositeResponse internalServerError(String errorMessage) {
return new WriteCompositeResponse(ResponseCode.INTERNAL_SERVER_ERROR, errorMessage);
}
}
}
Expand Up @@ -45,4 +45,4 @@ public Thread newThread(final Runnable r) {
thread.setName(String.format(nameFormat, counter.getAndIncrement()));
return thread;
}
}
}
Expand Up @@ -66,4 +66,4 @@ public List<T> deserialize(Iterator<JsonNode> nodes) throws JsonException {
}
return res;
}
}
}
Expand Up @@ -53,4 +53,4 @@ public String getName() {
public Long getTimeStamp() {
return timestamp;
}
}
}
Expand Up @@ -222,4 +222,4 @@ private TimestampedLwM2mNodes getExampleMixedTimestampLwM2mNodes() {
tsNodes.put(123L, new LwM2mPath("/0/0/1"), LwM2mSingleResource.newIntegerResource(1, 111L));
return tsNodes.build();
}
}
}
Expand Up @@ -76,4 +76,4 @@ public void run() throws InvalidArgumentException {
}
}

}
}
Expand Up @@ -57,4 +57,4 @@ public void should_serialize_as_null_empty_arguments() throws InvalidArgumentExc

assertNull(content);
}
}
}
Expand Up @@ -121,4 +121,4 @@ public void should_not_parse_unquoted_value() throws InvalidArgumentException {
Arguments.parse("3=string,4='Value'");
}

}
}
Expand Up @@ -98,4 +98,4 @@ public void should_forbid_arguments_with_the_same_digit() throws InvalidArgument
.addArgument(3, "stringValue") //
.build();
}
}
}
Expand Up @@ -91,4 +91,4 @@ public void reset() {
error = null;
this.counter = new AtomicInteger(0);
}
}
}
Expand Up @@ -73,4 +73,4 @@ public T getResponse() {
public Exception getException() {
return exception;
}
}
}
Expand Up @@ -75,4 +75,4 @@ public void waitForError(int timeout, TimeUnit unit) throws TimeoutException, In
if (!errorLatch.await(timeout, unit))
throw new TimeoutException("wait for error timeout");
}
}
}
Expand Up @@ -33,4 +33,4 @@ public RootResource() {
public void handleGET(CoapExchange exchange) {
exchange.respond(ResponseCode.NOT_FOUND);
}
}
}
Expand Up @@ -33,4 +33,4 @@ public void failed(BootstrapSession session, BootstrapFailureCause cause) {
public BootstrapSession getSessionByAddr(InetSocketAddress addr) {
return addrToSession.get(addr);
}
}
}
Expand Up @@ -83,4 +83,4 @@ Response sendCoapRequest(final Registration destination, final Request coapReque
*/
void sendCoapRequest(final Registration destination, final Request coapRequest, long timeoutInMs,
CoapResponseCallback responseCallback, ErrorCallback errorCallback);
}
}
Expand Up @@ -6,4 +6,4 @@ public class ServerCIDConverter extends CIDConverter {
public ServerCIDConverter() {
super(6);
}
};
};
Expand Up @@ -246,4 +246,4 @@ public static List<BootstrapDownlinkRequest<? extends LwM2mResponse>> toRequests
}
return (requests);
}
}
}
Expand Up @@ -190,4 +190,4 @@ public String toString() {
"DefaultBootstrapSession [id=%s, endpoint=%s, identity=%s, authorized=%s, contentFormat=%s, creationTime=%s, request=%s, cancelled=%s]",
id, endpoint, identity, authorized, contentFormat, creationTime, request, cancelled);
}
}
}
Expand Up @@ -44,4 +44,4 @@ public InvalidConfigurationException(String m, Throwable e) {
public InvalidConfigurationException(Throwable e, String m, Object... args) {
super(String.format(m, args), e);
}
}
}
Expand Up @@ -84,4 +84,4 @@ public Collection<ObjectModel> getObjectModels() {
return result;
}
}
}
}
Expand Up @@ -87,4 +87,4 @@ public Collection<ObjectModel> getObjectModels() {
return result;
}
}
}
}
Expand Up @@ -167,4 +167,4 @@ private static boolean isSerializable(Field field, ParameterizedType ptype,
}
return false;
}
}
}
Expand Up @@ -63,4 +63,4 @@ public void testAdditionalAttributesUpdate() throws Exception {
Assert.assertEquals("hello", updatedAdditionalAttributes.get("h"));

}
}
}
Expand Up @@ -167,4 +167,4 @@ public void addListener(SecurityStoreListener listener) {
public void removeListener(SecurityStoreListener listener) {
listeners.remove(listener);
}
}
}

0 comments on commit cece99a

Please sign in to comment.