diff --git a/spring/src/main/java/io/cloudevents/spring/codec/package-info.java b/spring/src/main/java/io/cloudevents/spring/codec/package-info.java new file mode 100644 index 00000000..4457bb6a --- /dev/null +++ b/spring/src/main/java/io/cloudevents/spring/codec/package-info.java @@ -0,0 +1,4 @@ +/** + * Provides classes related to working with Cloud Events within the context of Spring and byte buffers. + */ +package io.cloudevents.spring.codec; diff --git a/spring/src/main/java/io/cloudevents/spring/http/CloudEventHttpUtils.java b/spring/src/main/java/io/cloudevents/spring/http/CloudEventHttpUtils.java index 5ff14887..e8addda9 100644 --- a/spring/src/main/java/io/cloudevents/spring/http/CloudEventHttpUtils.java +++ b/spring/src/main/java/io/cloudevents/spring/http/CloudEventHttpUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2019 the original author or authors. + * Copyright 2020-Present The CloudEvents Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/spring/src/main/java/io/cloudevents/spring/http/CloudEventsHeaders.java b/spring/src/main/java/io/cloudevents/spring/http/CloudEventsHeaders.java index 40644dda..e3c063a2 100644 --- a/spring/src/main/java/io/cloudevents/spring/http/CloudEventsHeaders.java +++ b/spring/src/main/java/io/cloudevents/spring/http/CloudEventsHeaders.java @@ -1,18 +1,17 @@ /* - * Copyright 2018-Present The CloudEvents Authors - *
+ * Copyright 2020-Present The CloudEvents Authors. + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *
- * http://www.apache.org/licenses/LICENSE-2.0 - *
+ * + * https://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * */ package io.cloudevents.spring.http; @@ -37,4 +36,4 @@ public class CloudEventsHeaders { public static final String SPEC_VERSION = ATTRIBUTES_TO_HEADERS.get("specversion"); -} \ No newline at end of file +} diff --git a/spring/src/main/java/io/cloudevents/spring/messaging/CloudEventContextUtils.java b/spring/src/main/java/io/cloudevents/spring/messaging/CloudEventContextUtils.java index 73ce0665..cce9c206 100644 --- a/spring/src/main/java/io/cloudevents/spring/messaging/CloudEventContextUtils.java +++ b/spring/src/main/java/io/cloudevents/spring/messaging/CloudEventContextUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2019 the original author or authors. + * Copyright 2020-Present The CloudEvents Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/spring/src/main/java/io/cloudevents/spring/messaging/CloudEventMessageConverter.java b/spring/src/main/java/io/cloudevents/spring/messaging/CloudEventMessageConverter.java index ab31a954..68c41f57 100644 --- a/spring/src/main/java/io/cloudevents/spring/messaging/CloudEventMessageConverter.java +++ b/spring/src/main/java/io/cloudevents/spring/messaging/CloudEventMessageConverter.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2019 the original author or authors. + * Copyright 2020-Present The CloudEvents Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/spring/src/main/java/io/cloudevents/spring/messaging/CloudEventsHeaders.java b/spring/src/main/java/io/cloudevents/spring/messaging/CloudEventsHeaders.java index 0d956823..47dcbabf 100644 --- a/spring/src/main/java/io/cloudevents/spring/messaging/CloudEventsHeaders.java +++ b/spring/src/main/java/io/cloudevents/spring/messaging/CloudEventsHeaders.java @@ -1,18 +1,17 @@ /* - * Copyright 2018-Present The CloudEvents Authors - *
+ * Copyright 2020-Present The CloudEvents Authors. + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *
- * http://www.apache.org/licenses/LICENSE-2.0 - *
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- *
*/
package io.cloudevents.spring.messaging;
@@ -25,4 +24,4 @@ public class CloudEventsHeaders {
public static final String CONTENT_TYPE = CE_PREFIX + "datacontenttype";
-}
\ No newline at end of file
+}
diff --git a/spring/src/main/java/io/cloudevents/spring/messaging/MessageBinaryMessageReader.java b/spring/src/main/java/io/cloudevents/spring/messaging/MessageBinaryMessageReader.java
index aa181f33..8989fbe8 100644
--- a/spring/src/main/java/io/cloudevents/spring/messaging/MessageBinaryMessageReader.java
+++ b/spring/src/main/java/io/cloudevents/spring/messaging/MessageBinaryMessageReader.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019-2019 the original author or authors.
+ * Copyright 2020-Present The CloudEvents Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,7 +27,7 @@ import static org.springframework.messaging.MessageHeaders.CONTENT_TYPE;
/**
* Utility for converting maps (message headers) to `CloudEvent` contexts.
- *
+ *
* @author Dave Syer
*
*/
@@ -70,4 +70,4 @@ class MessageBinaryMessageReader extends BaseGenericBinaryMessageReaderImpl