From 3ae845764db2465ceaca4138ea0f2cf22fc107d3 Mon Sep 17 00:00:00 2001 From: Julien Ponge Date: Fri, 15 Dec 2017 15:44:57 +0100 Subject: [PATCH] EPLv2 migration of src/main --- pom.xml | 19 +- src/main/assembly/docs.xml | 24 +- .../core/DeploymentOptionsConverter.java | 102 ------- .../io/vertx/core/VertxOptionsConverter.java | 134 ---------- .../io/vertx/core/cli/ArgumentConverter.java | 68 ----- .../io/vertx/core/cli/OptionConverter.java | 102 ------- .../DatagramSocketOptionsConverter.java | 56 ---- .../dns/AddressResolverOptionsConverter.java | 104 -------- .../core/dns/DnsClientOptionsConverter.java | 48 ---- .../eventbus/EventBusOptionsConverter.java | 248 ------------------ .../vertx/core/file/CopyOptionsConverter.java | 50 ---- .../vertx/core/file/OpenOptionsConverter.java | 80 ------ .../io/vertx/core/http/GoAwayConverter.java | 48 ---- .../core/http/Http2SettingsConverter.java | 58 ---- .../core/http/HttpClientOptionsConverter.java | 149 ----------- .../core/http/HttpServerOptionsConverter.java | 107 -------- .../core/metrics/MetricsOptionsConverter.java | 38 --- .../core/net/ClientOptionsBaseConverter.java | 60 ----- .../vertx/core/net/JksOptionsConverter.java | 52 ---- .../core/net/NetClientOptionsConverter.java | 48 ---- .../core/net/NetServerOptionsConverter.java | 62 ----- .../core/net/NetworkOptionsConverter.java | 58 ---- .../net/OpenSSLEngineOptionsConverter.java | 40 --- .../core/net/PemKeyCertOptionsConverter.java | 98 ------- .../core/net/PemTrustOptionsConverter.java | 56 ---- .../vertx/core/net/PfxOptionsConverter.java | 52 ---- .../vertx/core/net/ProxyOptionsConverter.java | 62 ----- .../core/net/TCPSSLOptionsConverter.java | 166 ------------ .../java/docoverride/buffer/Examples.java | 17 +- .../java/docoverride/buffer/package-info.java | 17 +- .../dependencies/package-info.java | 19 +- src/main/java/docoverride/dns/Examples.java | 17 +- .../java/docoverride/dns/package-info.java | 19 +- .../java/docoverride/eventbus/Examples.java | 17 +- .../eventbus/headers/package-info.java | 20 +- .../docoverride/eventbus/package-info.java | 19 +- src/main/java/docoverride/json/Examples.java | 17 +- .../java/docoverride/json/package-info.java | 17 +- .../verticles/configuration/package-info.java | 19 +- .../docoverride/verticles/package-info.java | 17 +- src/main/java/examples/BufferExamples.java | 17 +- .../ConfigurableVerticleExamples.java | 11 + src/main/java/examples/CoreExamples.java | 17 +- src/main/java/examples/DNSExamples.java | 17 +- src/main/java/examples/DatagramExamples.java | 17 +- src/main/java/examples/EventBusExamples.java | 17 +- .../java/examples/FileSystemExamples.java | 17 +- src/main/java/examples/HTTP2Examples.java | 17 +- src/main/java/examples/HTTPExamples.java | 17 +- src/main/java/examples/NetExamples.java | 17 +- .../java/examples/ParseToolsExamples.java | 11 + .../java/examples/SharedDataExamples.java | 17 +- src/main/java/examples/StreamsExamples.java | 17 +- src/main/java/examples/cli/AnnotatedCli.java | 17 +- src/main/java/examples/cli/CLIExamples.java | 17 +- src/main/java/examples/cli/MyCommand.java | 17 +- .../java/examples/cli/TypedCLIExamples.java | 17 +- src/main/java/examples/cli/package-info.java | 19 +- src/main/java/examples/package-info.java | 19 +- .../java/io/vertx/core/AbstractVerticle.java | 17 +- src/main/java/io/vertx/core/AsyncResult.java | 17 +- src/main/java/io/vertx/core/Closeable.java | 17 +- .../java/io/vertx/core/CompositeFuture.java | 17 +- src/main/java/io/vertx/core/Context.java | 17 +- .../java/io/vertx/core/DeploymentOptions.java | 17 +- src/main/java/io/vertx/core/Future.java | 17 +- src/main/java/io/vertx/core/Handler.java | 17 +- src/main/java/io/vertx/core/Launcher.java | 18 +- src/main/java/io/vertx/core/MultiMap.java | 17 +- .../java/io/vertx/core/ServiceHelper.java | 17 +- src/main/java/io/vertx/core/Starter.java | 29 +- .../java/io/vertx/core/TimeoutStream.java | 17 +- src/main/java/io/vertx/core/Verticle.java | 17 +- src/main/java/io/vertx/core/Vertx.java | 17 +- .../java/io/vertx/core/VertxException.java | 18 +- src/main/java/io/vertx/core/VertxOptions.java | 17 +- .../java/io/vertx/core/WorkerExecutor.java | 17 +- .../java/io/vertx/core/buffer/Buffer.java | 18 +- .../core/buffer/impl/BufferFactoryImpl.java | 17 +- .../io/vertx/core/buffer/impl/BufferImpl.java | 18 +- .../io/vertx/core/buffer/package-info.java | 17 +- .../core/cli/AmbiguousOptionException.java | 18 +- src/main/java/io/vertx/core/cli/Argument.java | 17 +- src/main/java/io/vertx/core/cli/CLI.java | 17 +- .../java/io/vertx/core/cli/CLIException.java | 18 +- .../java/io/vertx/core/cli/CommandLine.java | 17 +- .../vertx/core/cli/InvalidValueException.java | 18 +- .../core/cli/MissingOptionException.java | 18 +- .../vertx/core/cli/MissingValueException.java | 18 +- src/main/java/io/vertx/core/cli/Option.java | 17 +- .../java/io/vertx/core/cli/TypedArgument.java | 17 +- .../java/io/vertx/core/cli/TypedOption.java | 17 +- .../vertx/core/cli/UsageMessageFormatter.java | 18 +- .../vertx/core/cli/annotations/Argument.java | 18 +- .../core/cli/annotations/CLIConfigurator.java | 19 +- .../core/cli/annotations/ConvertedBy.java | 18 +- .../core/cli/annotations/DefaultValue.java | 18 +- .../core/cli/annotations/Description.java | 18 +- .../io/vertx/core/cli/annotations/Hidden.java | 18 +- .../io/vertx/core/cli/annotations/Name.java | 20 +- .../io/vertx/core/cli/annotations/Option.java | 18 +- .../core/cli/annotations/ParsedAsList.java | 18 +- .../vertx/core/cli/annotations/Summary.java | 20 +- .../core/cli/annotations/package-info.java | 19 +- .../core/cli/converters/BooleanConverter.java | 18 +- .../cli/converters/CharacterConverter.java | 18 +- .../converters/ConstructorBasedConverter.java | 18 +- .../vertx/core/cli/converters/Converter.java | 18 +- .../vertx/core/cli/converters/Converters.java | 18 +- .../cli/converters/FromBasedConverter.java | 18 +- .../converters/FromStringBasedConverter.java | 18 +- .../core/cli/converters/StringConverter.java | 18 +- .../cli/converters/ValueOfBasedConverter.java | 18 +- .../io/vertx/core/cli/impl/DefaultCLI.java | 17 +- .../core/cli/impl/DefaultCommandLine.java | 17 +- .../io/vertx/core/cli/impl/DefaultParser.java | 17 +- .../vertx/core/cli/impl/ReflectionUtils.java | 18 +- .../java/io/vertx/core/cli/package-info.java | 19 +- .../vertx/core/datagram/DatagramPacket.java | 18 +- .../vertx/core/datagram/DatagramSocket.java | 18 +- .../core/datagram/DatagramSocketOptions.java | 17 +- .../impl/DatagramChannelFutureListener.java | 18 +- .../datagram/impl/DatagramPacketImpl.java | 18 +- .../datagram/impl/DatagramServerHandler.java | 18 +- .../datagram/impl/DatagramSocketImpl.java | 18 +- .../datagram/impl/InternetProtocolFamily.java | 18 +- .../datagram/impl/PacketWriteStreamImpl.java | 17 +- .../io/vertx/core/datagram/package-info.java | 17 +- .../core/dns/AddressResolverOptions.java | 17 +- .../java/io/vertx/core/dns/DnsClient.java | 19 +- .../io/vertx/core/dns/DnsClientOptions.java | 18 +- .../java/io/vertx/core/dns/DnsException.java | 18 +- .../io/vertx/core/dns/DnsResponseCode.java | 18 +- src/main/java/io/vertx/core/dns/MxRecord.java | 18 +- .../java/io/vertx/core/dns/SrvRecord.java | 18 +- .../io/vertx/core/dns/impl/DnsClientImpl.java | 18 +- .../io/vertx/core/dns/impl/MxRecordImpl.java | 18 +- .../io/vertx/core/dns/impl/SrvRecordImpl.java | 19 +- .../core/dns/impl/decoder/RecordDecoder.java | 15 +- .../impl/decoder/StartOfAuthorityRecord.java | 18 +- .../java/io/vertx/core/dns/package-info.java | 17 +- .../vertx/core/eventbus/DeliveryOptions.java | 17 +- .../java/io/vertx/core/eventbus/EventBus.java | 17 +- .../vertx/core/eventbus/EventBusOptions.java | 17 +- .../java/io/vertx/core/eventbus/Message.java | 17 +- .../io/vertx/core/eventbus/MessageCodec.java | 17 +- .../vertx/core/eventbus/MessageConsumer.java | 17 +- .../vertx/core/eventbus/MessageProducer.java | 17 +- .../vertx/core/eventbus/ReplyException.java | 17 +- .../io/vertx/core/eventbus/ReplyFailure.java | 17 +- .../io/vertx/core/eventbus/SendContext.java | 11 + .../core/eventbus/impl/BodyReadStream.java | 17 +- .../core/eventbus/impl/CodecManager.java | 11 + .../core/eventbus/impl/EventBusImpl.java | 17 +- .../core/eventbus/impl/HandlerHolder.java | 11 + .../eventbus/impl/HandlerRegistration.java | 11 + .../io/vertx/core/eventbus/impl/Handlers.java | 11 + .../vertx/core/eventbus/impl/MessageImpl.java | 17 +- .../eventbus/impl/MessageProducerImpl.java | 17 +- .../impl/clustered/ClusterNodeInfo.java | 17 +- .../impl/clustered/ClusteredEventBus.java | 17 +- .../impl/clustered/ClusteredMessage.java | 17 +- .../impl/clustered/ConnectionHolder.java | 11 + .../impl/codecs/BooleanMessageCodec.java | 17 +- .../impl/codecs/BufferMessageCodec.java | 17 +- .../impl/codecs/ByteArrayMessageCodec.java | 17 +- .../impl/codecs/ByteMessageCodec.java | 17 +- .../impl/codecs/CharMessageCodec.java | 17 +- .../impl/codecs/DoubleMessageCodec.java | 17 +- .../impl/codecs/FloatMessageCodec.java | 17 +- .../eventbus/impl/codecs/IntMessageCodec.java | 17 +- .../impl/codecs/JsonArrayMessageCodec.java | 17 +- .../impl/codecs/JsonObjectMessageCodec.java | 17 +- .../impl/codecs/LongMessageCodec.java | 17 +- .../impl/codecs/NullMessageCodec.java | 17 +- .../impl/codecs/PingMessageCodec.java | 17 +- .../codecs/ReplyExceptionMessageCodec.java | 17 +- .../impl/codecs/ShortMessageCodec.java | 17 +- .../impl/codecs/StringMessageCodec.java | 17 +- .../io/vertx/core/eventbus/package-info.java | 11 + .../java/io/vertx/core/file/AsyncFile.java | 17 +- .../java/io/vertx/core/file/CopyOptions.java | 17 +- .../java/io/vertx/core/file/FileProps.java | 17 +- .../java/io/vertx/core/file/FileSystem.java | 17 +- .../vertx/core/file/FileSystemException.java | 17 +- .../io/vertx/core/file/FileSystemProps.java | 17 +- .../java/io/vertx/core/file/OpenOptions.java | 17 +- .../vertx/core/file/impl/AsyncFileImpl.java | 17 +- .../vertx/core/file/impl/FilePropsImpl.java | 19 +- .../vertx/core/file/impl/FileSystemImpl.java | 17 +- .../core/file/impl/FileSystemPropsImpl.java | 17 +- .../core/file/impl/WindowsFileSystem.java | 18 +- .../java/io/vertx/core/file/package-info.java | 17 +- .../core/http/CaseInsensitiveHeaders.java | 19 +- .../java/io/vertx/core/http/ClientAuth.java | 11 + .../http/ConnectionPoolTooBusyException.java | 17 +- src/main/java/io/vertx/core/http/GoAway.java | 17 +- .../io/vertx/core/http/Http2Settings.java | 17 +- .../java/io/vertx/core/http/HttpClient.java | 17 +- .../io/vertx/core/http/HttpClientOptions.java | 17 +- .../io/vertx/core/http/HttpClientRequest.java | 17 +- .../vertx/core/http/HttpClientResponse.java | 17 +- .../io/vertx/core/http/HttpConnection.java | 17 +- .../java/io/vertx/core/http/HttpFrame.java | 17 +- .../java/io/vertx/core/http/HttpHeaders.java | 18 +- .../java/io/vertx/core/http/HttpMethod.java | 17 +- .../java/io/vertx/core/http/HttpServer.java | 17 +- .../vertx/core/http/HttpServerFileUpload.java | 18 +- .../io/vertx/core/http/HttpServerOptions.java | 17 +- .../io/vertx/core/http/HttpServerRequest.java | 17 +- .../vertx/core/http/HttpServerResponse.java | 17 +- .../java/io/vertx/core/http/HttpVersion.java | 17 +- .../io/vertx/core/http/RequestOptions.java | 18 +- .../io/vertx/core/http/ServerWebSocket.java | 17 +- .../vertx/core/http/StreamResetException.java | 17 +- .../java/io/vertx/core/http/WebSocket.java | 17 +- .../io/vertx/core/http/WebSocketBase.java | 17 +- .../io/vertx/core/http/WebSocketFrame.java | 15 +- .../core/http/WebsocketRejectedException.java | 18 +- .../io/vertx/core/http/WebsocketVersion.java | 17 +- .../http/impl/AssembledFullHttpRequest.java | 18 +- .../http/impl/AssembledFullHttpResponse.java | 18 +- .../core/http/impl/AssembledHttpRequest.java | 18 +- .../core/http/impl/AssembledHttpResponse.java | 18 +- .../http/impl/AssembledLastHttpContent.java | 18 +- .../core/http/impl/ConnectionManager.java | 17 +- .../core/http/impl/FileStreamChannel.java | 17 +- .../io/vertx/core/http/impl/FrameType.java | 18 +- .../vertx/core/http/impl/HeadersAdaptor.java | 17 +- .../http/impl/Http1xClientConnection.java | 17 +- .../core/http/impl/Http1xClientHandler.java | 17 +- .../core/http/impl/Http1xConnectionBase.java | 18 +- .../core/http/impl/Http1xOrH2CHandler.java | 11 + .../http/impl/Http1xServerConnection.java | 17 +- .../core/http/impl/Http1xServerHandler.java | 11 + .../core/http/impl/Http2ClientConnection.java | 17 +- .../core/http/impl/Http2ConnectionBase.java | 17 +- .../core/http/impl/Http2HeadersAdaptor.java | 18 +- .../core/http/impl/Http2ServerConnection.java | 17 +- .../http/impl/Http2ServerRequestImpl.java | 17 +- .../http/impl/Http2ServerResponseImpl.java | 17 +- .../core/http/impl/HttpChannelConnector.java | 18 +- .../http/impl/HttpChunkContentCompressor.java | 18 +- .../core/http/impl/HttpClientConnection.java | 17 +- .../vertx/core/http/impl/HttpClientImpl.java | 17 +- .../core/http/impl/HttpClientRequestBase.java | 17 +- .../core/http/impl/HttpClientRequestImpl.java | 17 +- .../impl/HttpClientRequestPushPromise.java | 17 +- .../http/impl/HttpClientResponseImpl.java | 17 +- .../core/http/impl/HttpClientStream.java | 17 +- .../vertx/core/http/impl/HttpFrameImpl.java | 17 +- .../io/vertx/core/http/impl/HttpHandlers.java | 18 +- .../http/impl/HttpServerFileUploadImpl.java | 18 +- .../vertx/core/http/impl/HttpServerImpl.java | 17 +- .../core/http/impl/HttpServerRequestImpl.java | 17 +- .../http/impl/HttpServerResponseImpl.java | 17 +- .../io/vertx/core/http/impl/HttpUtils.java | 18 +- .../io/vertx/core/http/impl/MimeMapping.java | 17 +- .../vertx/core/http/impl/NettyFileUpload.java | 17 +- .../http/impl/NettyFileUploadDataFactory.java | 17 +- .../core/http/impl/ServerWebSocketImpl.java | 17 +- .../impl/VertxHttp2ClientUpgradeCodec.java | 17 +- .../impl/VertxHttp2ConnectionHandler.java | 17 +- .../VertxHttp2ConnectionHandlerBuilder.java | 17 +- .../core/http/impl/VertxHttp2NetSocket.java | 17 +- .../core/http/impl/VertxHttp2Stream.java | 17 +- .../core/http/impl/VertxHttpHandler.java | 18 +- .../http/impl/VertxHttpResponseEncoder.java | 18 +- .../http/impl/WebSocketFrameFactoryImpl.java | 17 +- .../vertx/core/http/impl/WebSocketImpl.java | 17 +- .../core/http/impl/WebSocketImplBase.java | 17 +- .../impl/cgbystrom/FlashPolicyHandler.java | 19 +- .../http/impl/headers/VertxHttpHeaders.java | 18 +- .../http/impl/pool/ConnectionListener.java | 18 +- .../http/impl/pool/ConnectionProvider.java | 18 +- .../io/vertx/core/http/impl/pool/Pool.java | 18 +- .../io/vertx/core/http/impl/pool/Waiter.java | 17 +- .../core/http/impl/ws/WebSocketFrameImpl.java | 15 +- .../http/impl/ws/WebSocketFrameInternal.java | 15 +- .../java/io/vertx/core/http/package-info.java | 17 +- src/main/java/io/vertx/core/impl/Action.java | 17 +- .../io/vertx/core/impl/AddressResolver.java | 17 +- src/main/java/io/vertx/core/impl/Args.java | 17 +- .../java/io/vertx/core/impl/Arguments.java | 17 +- .../vertx/core/impl/BlockedThreadChecker.java | 15 +- .../java/io/vertx/core/impl/CloseHooks.java | 11 + .../vertx/core/impl/CompositeFutureImpl.java | 17 +- .../io/vertx/core/impl/ConcurrentHashSet.java | 17 +- .../java/io/vertx/core/impl/ContextImpl.java | 17 +- .../io/vertx/core/impl/ContextInternal.java | 17 +- .../java/io/vertx/core/impl/ContextTask.java | 17 +- .../io/vertx/core/impl/ConversionHelper.java | 16 +- .../java/io/vertx/core/impl/Deployment.java | 17 +- .../io/vertx/core/impl/DeploymentManager.java | 17 +- .../io/vertx/core/impl/EventLoopContext.java | 19 +- .../java/io/vertx/core/impl/FailedFuture.java | 18 +- .../core/impl/FailoverCompleteHandler.java | 15 +- .../java/io/vertx/core/impl/FileResolver.java | 17 +- .../io/vertx/core/impl/FutureFactoryImpl.java | 17 +- .../java/io/vertx/core/impl/FutureImpl.java | 17 +- .../java/io/vertx/core/impl/HAManager.java | 17 +- .../vertx/core/impl/IsolatingClassLoader.java | 17 +- .../vertx/core/impl/JavaVerticleFactory.java | 17 +- .../core/impl/MultiThreadedWorkerContext.java | 17 +- .../io/vertx/core/impl/NetSocketInternal.java | 18 +- .../core/impl/NoStackTraceThrowable.java | 17 +- .../io/vertx/core/impl/StringEscapeUtils.java | 34 +-- .../io/vertx/core/impl/SucceededFuture.java | 18 +- .../java/io/vertx/core/impl/TaskQueue.java | 18 +- src/main/java/io/vertx/core/impl/Utils.java | 17 +- .../io/vertx/core/impl/VertxFactoryImpl.java | 18 +- .../java/io/vertx/core/impl/VertxImpl.java | 17 +- .../io/vertx/core/impl/VertxInternal.java | 17 +- .../java/io/vertx/core/impl/VertxThread.java | 17 +- .../vertx/core/impl/VertxThreadFactory.java | 17 +- .../io/vertx/core/impl/WorkerContext.java | 17 +- .../vertx/core/impl/WorkerExecutorImpl.java | 17 +- .../core/impl/WorkerExecutorInternal.java | 18 +- .../java/io/vertx/core/impl/WorkerPool.java | 17 +- .../io/vertx/core/impl/cpu/CpuCoreSensor.java | 11 + .../core/impl/launcher/CommandLineUtils.java | 17 +- .../launcher/ServiceCommandFactoryLoader.java | 18 +- .../impl/launcher/VertxCommandLauncher.java | 18 +- .../impl/launcher/VertxLifecycleHooks.java | 18 +- .../impl/launcher/commands/BareCommand.java | 18 +- .../launcher/commands/BareCommandFactory.java | 17 +- .../launcher/commands/ClasspathHandler.java | 17 +- .../impl/launcher/commands/ExecUtils.java | 18 +- .../impl/launcher/commands/FileSelector.java | 17 +- .../impl/launcher/commands/ListCommand.java | 19 +- .../launcher/commands/ListCommandFactory.java | 17 +- .../impl/launcher/commands/RunCommand.java | 18 +- .../launcher/commands/RunCommandFactory.java | 17 +- .../impl/launcher/commands/StartCommand.java | 19 +- .../commands/StartCommandFactory.java | 17 +- .../impl/launcher/commands/StopCommand.java | 19 +- .../launcher/commands/StopCommandFactory.java | 17 +- .../launcher/commands/VersionCommand.java | 18 +- .../commands/VersionCommandFactory.java | 17 +- .../commands/VertxIsolatedDeployer.java | 18 +- .../core/impl/launcher/commands/Watcher.java | 17 +- .../resolver/DefaultResolverProvider.java | 18 +- .../impl/resolver/DnsResolverProvider.java | 18 +- .../impl/verticle/CompilingClassLoader.java | 17 +- .../impl/verticle/CustomJavaFileObject.java | 19 +- .../core/impl/verticle/JavaSourceContext.java | 17 +- .../core/impl/verticle/MemoryFileManager.java | 17 +- .../core/impl/verticle/PackageHelper.java | 20 +- .../io/vertx/core/json/DecodeException.java | 17 +- .../io/vertx/core/json/EncodeException.java | 17 +- src/main/java/io/vertx/core/json/Json.java | 17 +- .../java/io/vertx/core/json/JsonArray.java | 17 +- .../java/io/vertx/core/json/JsonObject.java | 18 +- .../io/vertx/core/logging/JULLogDelegate.java | 17 +- .../core/logging/JULLogDelegateFactory.java | 17 +- .../vertx/core/logging/Log4j2LogDelegate.java | 17 +- .../logging/Log4j2LogDelegateFactory.java | 17 +- .../vertx/core/logging/Log4jLogDelegate.java | 17 +- .../core/logging/Log4jLogDelegateFactory.java | 17 +- .../java/io/vertx/core/logging/Logger.java | 17 +- .../io/vertx/core/logging/LoggerFactory.java | 17 +- .../vertx/core/logging/SLF4JLogDelegate.java | 17 +- .../core/logging/SLF4JLogDelegateFactory.java | 17 +- .../core/logging/VertxLoggerFormatter.java | 17 +- .../java/io/vertx/core/metrics/Measured.java | 17 +- .../io/vertx/core/metrics/MetricsOptions.java | 17 +- .../core/metrics/impl/DummyVertxMetrics.java | 19 +- .../io/vertx/core/metrics/package-info.java | 17 +- .../io/vertx/core/net/ClientOptionsBase.java | 17 +- .../vertx/core/net/JdkSSLEngineOptions.java | 11 + .../java/io/vertx/core/net/JksOptions.java | 17 +- .../io/vertx/core/net/KeyCertOptions.java | 18 +- .../java/io/vertx/core/net/NetClient.java | 17 +- .../io/vertx/core/net/NetClientOptions.java | 17 +- .../java/io/vertx/core/net/NetServer.java | 17 +- .../io/vertx/core/net/NetServerOptions.java | 17 +- .../java/io/vertx/core/net/NetSocket.java | 17 +- .../io/vertx/core/net/NetworkOptions.java | 17 +- .../vertx/core/net/OpenSSLEngineOptions.java | 11 + .../io/vertx/core/net/PemKeyCertOptions.java | 17 +- .../io/vertx/core/net/PemTrustOptions.java | 17 +- .../java/io/vertx/core/net/PfxOptions.java | 17 +- .../java/io/vertx/core/net/ProxyOptions.java | 17 +- .../java/io/vertx/core/net/ProxyType.java | 17 +- .../io/vertx/core/net/SSLEngineOptions.java | 17 +- .../vertx/core/net/SelfSignedCertificate.java | 15 +- .../io/vertx/core/net/ServerOptionsBase.java | 17 +- .../java/io/vertx/core/net/SocketAddress.java | 17 +- .../java/io/vertx/core/net/TCPSSLOptions.java | 17 +- .../java/io/vertx/core/net/TrustOptions.java | 18 +- .../net/impl/AsyncResolveConnectHelper.java | 17 +- .../vertx/core/net/impl/ChannelProvider.java | 11 + .../vertx/core/net/impl/ConnectionBase.java | 17 +- .../io/vertx/core/net/impl/HandlerHolder.java | 17 +- .../vertx/core/net/impl/HandlerManager.java | 17 +- .../vertx/core/net/impl/KeyStoreHelper.java | 18 +- .../io/vertx/core/net/impl/NetClientImpl.java | 17 +- .../io/vertx/core/net/impl/NetServerImpl.java | 17 +- .../io/vertx/core/net/impl/NetSocketImpl.java | 17 +- .../impl/PartialPooledByteBufAllocator.java | 18 +- .../core/net/impl/ProxyChannelProvider.java | 11 + .../io/vertx/core/net/impl/SSLHelper.java | 17 +- .../net/impl/SelfSignedCertificateImpl.java | 15 +- .../java/io/vertx/core/net/impl/ServerID.java | 17 +- .../core/net/impl/SocketAddressImpl.java | 17 +- .../core/net/impl/TrustAllTrustManager.java | 18 +- .../core/net/impl/VertxEventLoopGroup.java | 17 +- .../io/vertx/core/net/impl/VertxHandler.java | 18 +- .../vertx/core/net/impl/VertxNetHandler.java | 17 +- .../vertx/core/net/impl/VertxSniHandler.java | 18 +- .../net/impl/VertxTrustManagerFactory.java | 18 +- .../core/net/impl/pkcs1/PrivateKeyParser.java | 18 +- .../net/impl/transport/EpollTransport.java | 18 +- .../net/impl/transport/KQueueTransport.java | 18 +- .../core/net/impl/transport/Transport.java | 18 +- .../java/io/vertx/core/net/package-info.java | 17 +- src/main/java/io/vertx/core/package-info.java | 17 +- .../io/vertx/core/parsetools/JsonEvent.java | 18 +- .../vertx/core/parsetools/JsonEventType.java | 18 +- .../io/vertx/core/parsetools/JsonParser.java | 18 +- .../vertx/core/parsetools/RecordParser.java | 17 +- .../core/parsetools/impl/JsonEventImpl.java | 18 +- .../core/parsetools/impl/JsonParserImpl.java | 18 +- .../parsetools/impl/RecordParserImpl.java | 17 +- .../vertx/core/parsetools/package-info.java | 15 +- .../io/vertx/core/shareddata/AsyncMap.java | 17 +- .../io/vertx/core/shareddata/Counter.java | 17 +- .../io/vertx/core/shareddata/LocalMap.java | 17 +- .../java/io/vertx/core/shareddata/Lock.java | 17 +- .../io/vertx/core/shareddata/Shareable.java | 17 +- .../io/vertx/core/shareddata/SharedData.java | 17 +- .../shareddata/impl/AsynchronousCounter.java | 17 +- .../shareddata/impl/AsynchronousLock.java | 17 +- .../vertx/core/shareddata/impl/Checker.java | 17 +- .../shareddata/impl/ClusterSerializable.java | 17 +- .../core/shareddata/impl/LocalMapImpl.java | 17 +- .../core/shareddata/impl/SharedDataImpl.java | 17 +- .../vertx/core/shareddata/package-info.java | 17 +- .../java/io/vertx/core/spi/BufferFactory.java | 17 +- .../java/io/vertx/core/spi/FutureFactory.java | 17 +- .../java/io/vertx/core/spi/PumpFactory.java | 17 +- .../io/vertx/core/spi/VerticleFactory.java | 17 +- .../java/io/vertx/core/spi/VertxFactory.java | 18 +- .../vertx/core/spi/VertxMetricsFactory.java | 17 +- .../vertx/core/spi/WebSocketFrameFactory.java | 17 +- .../vertx/core/spi/cluster/AsyncMultiMap.java | 17 +- .../core/spi/cluster/ChoosableIterable.java | 17 +- .../core/spi/cluster/ClusterManager.java | 17 +- .../vertx/core/spi/cluster/NodeListener.java | 18 +- .../io/vertx/core/spi/launcher/Command.java | 17 +- .../core/spi/launcher/CommandFactory.java | 17 +- .../spi/launcher/CommandFactoryLookup.java | 18 +- .../core/spi/launcher/DefaultCommand.java | 18 +- .../spi/launcher/DefaultCommandFactory.java | 17 +- .../core/spi/launcher/ExecutionContext.java | 18 +- .../vertx/core/spi/logging/LogDelegate.java | 19 +- .../core/spi/logging/LogDelegateFactory.java | 17 +- .../spi/metrics/DatagramSocketMetrics.java | 17 +- .../core/spi/metrics/EventBusMetrics.java | 17 +- .../core/spi/metrics/HttpClientMetrics.java | 17 +- .../core/spi/metrics/HttpServerMetrics.java | 17 +- .../io/vertx/core/spi/metrics/Metrics.java | 17 +- .../core/spi/metrics/MetricsProvider.java | 17 +- .../core/spi/metrics/NetworkMetrics.java | 17 +- .../vertx/core/spi/metrics/PoolMetrics.java | 19 +- .../io/vertx/core/spi/metrics/TCPMetrics.java | 17 +- .../vertx/core/spi/metrics/VertxMetrics.java | 17 +- .../core/spi/resolver/ResolverProvider.java | 18 +- src/main/java/io/vertx/core/streams/Pump.java | 17 +- .../io/vertx/core/streams/ReadStream.java | 17 +- .../io/vertx/core/streams/StreamBase.java | 17 +- .../io/vertx/core/streams/WriteStream.java | 17 +- .../core/streams/impl/PumpFactoryImpl.java | 17 +- .../io/vertx/core/streams/impl/PumpImpl.java | 17 +- .../io/vertx/core/streams/package-info.java | 17 +- .../io.vertx.core.spi.launcher.CommandFactory | 19 +- 476 files changed, 2936 insertions(+), 6935 deletions(-) delete mode 100644 src/main/generated/io/vertx/core/DeploymentOptionsConverter.java delete mode 100644 src/main/generated/io/vertx/core/VertxOptionsConverter.java delete mode 100644 src/main/generated/io/vertx/core/cli/ArgumentConverter.java delete mode 100644 src/main/generated/io/vertx/core/cli/OptionConverter.java delete mode 100644 src/main/generated/io/vertx/core/datagram/DatagramSocketOptionsConverter.java delete mode 100644 src/main/generated/io/vertx/core/dns/AddressResolverOptionsConverter.java delete mode 100644 src/main/generated/io/vertx/core/dns/DnsClientOptionsConverter.java delete mode 100644 src/main/generated/io/vertx/core/eventbus/EventBusOptionsConverter.java delete mode 100644 src/main/generated/io/vertx/core/file/CopyOptionsConverter.java delete mode 100644 src/main/generated/io/vertx/core/file/OpenOptionsConverter.java delete mode 100644 src/main/generated/io/vertx/core/http/GoAwayConverter.java delete mode 100644 src/main/generated/io/vertx/core/http/Http2SettingsConverter.java delete mode 100644 src/main/generated/io/vertx/core/http/HttpClientOptionsConverter.java delete mode 100644 src/main/generated/io/vertx/core/http/HttpServerOptionsConverter.java delete mode 100644 src/main/generated/io/vertx/core/metrics/MetricsOptionsConverter.java delete mode 100644 src/main/generated/io/vertx/core/net/ClientOptionsBaseConverter.java delete mode 100644 src/main/generated/io/vertx/core/net/JksOptionsConverter.java delete mode 100644 src/main/generated/io/vertx/core/net/NetClientOptionsConverter.java delete mode 100644 src/main/generated/io/vertx/core/net/NetServerOptionsConverter.java delete mode 100644 src/main/generated/io/vertx/core/net/NetworkOptionsConverter.java delete mode 100644 src/main/generated/io/vertx/core/net/OpenSSLEngineOptionsConverter.java delete mode 100644 src/main/generated/io/vertx/core/net/PemKeyCertOptionsConverter.java delete mode 100644 src/main/generated/io/vertx/core/net/PemTrustOptionsConverter.java delete mode 100644 src/main/generated/io/vertx/core/net/PfxOptionsConverter.java delete mode 100644 src/main/generated/io/vertx/core/net/ProxyOptionsConverter.java delete mode 100644 src/main/generated/io/vertx/core/net/TCPSSLOptionsConverter.java diff --git a/pom.xml b/pom.xml index d79c514c7..67d315c95 100644 --- a/pom.xml +++ b/pom.xml @@ -1,18 +1,15 @@ 4.0.0 @@ -34,8 +31,8 @@ repo - Eclipse Public License - v 1.0 - http://www.eclipse.org/legal/epl-v10.html + Eclipse Public License - v 2.0 + http://www.eclipse.org/legal/epl-v20.html repo diff --git a/src/main/assembly/docs.xml b/src/main/assembly/docs.xml index e4d2e3c1d..efb67994d 100644 --- a/src/main/assembly/docs.xml +++ b/src/main/assembly/docs.xml @@ -1,15 +1,15 @@ - docs - - zip - - false - - - ${asciidoc.dir} - / - - - \ No newline at end of file + docs + + zip + + false + + + ${asciidoc.dir} + / + + + diff --git a/src/main/generated/io/vertx/core/DeploymentOptionsConverter.java b/src/main/generated/io/vertx/core/DeploymentOptionsConverter.java deleted file mode 100644 index f4b67b892..000000000 --- a/src/main/generated/io/vertx/core/DeploymentOptionsConverter.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Copyright 2014 Red Hat, Inc. - * - * Red Hat licenses this file to you 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 - * - * 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.vertx.core; - -import io.vertx.core.json.JsonObject; -import io.vertx.core.json.JsonArray; - -/** - * Converter for {@link io.vertx.core.DeploymentOptions}. - * - * NOTE: This class has been automatically generated from the {@link io.vertx.core.DeploymentOptions} original class using Vert.x codegen. - */ - class DeploymentOptionsConverter { - - static void fromJson(JsonObject json, DeploymentOptions obj) { - if (json.getValue("config") instanceof JsonObject) { - obj.setConfig(((JsonObject)json.getValue("config")).copy()); - } - if (json.getValue("extraClasspath") instanceof JsonArray) { - java.util.ArrayList list = new java.util.ArrayList<>(); - json.getJsonArray("extraClasspath").forEach( item -> { - if (item instanceof String) - list.add((String)item); - }); - obj.setExtraClasspath(list); - } - if (json.getValue("ha") instanceof Boolean) { - obj.setHa((Boolean)json.getValue("ha")); - } - if (json.getValue("instances") instanceof Number) { - obj.setInstances(((Number)json.getValue("instances")).intValue()); - } - if (json.getValue("isolatedClasses") instanceof JsonArray) { - java.util.ArrayList list = new java.util.ArrayList<>(); - json.getJsonArray("isolatedClasses").forEach( item -> { - if (item instanceof String) - list.add((String)item); - }); - obj.setIsolatedClasses(list); - } - if (json.getValue("isolationGroup") instanceof String) { - obj.setIsolationGroup((String)json.getValue("isolationGroup")); - } - if (json.getValue("maxWorkerExecuteTime") instanceof Number) { - obj.setMaxWorkerExecuteTime(((Number)json.getValue("maxWorkerExecuteTime")).longValue()); - } - if (json.getValue("multiThreaded") instanceof Boolean) { - obj.setMultiThreaded((Boolean)json.getValue("multiThreaded")); - } - if (json.getValue("worker") instanceof Boolean) { - obj.setWorker((Boolean)json.getValue("worker")); - } - if (json.getValue("workerPoolName") instanceof String) { - obj.setWorkerPoolName((String)json.getValue("workerPoolName")); - } - if (json.getValue("workerPoolSize") instanceof Number) { - obj.setWorkerPoolSize(((Number)json.getValue("workerPoolSize")).intValue()); - } - } - - static void toJson(DeploymentOptions obj, JsonObject json) { - if (obj.getConfig() != null) { - json.put("config", obj.getConfig()); - } - if (obj.getExtraClasspath() != null) { - JsonArray array = new JsonArray(); - obj.getExtraClasspath().forEach(item -> array.add(item)); - json.put("extraClasspath", array); - } - json.put("ha", obj.isHa()); - json.put("instances", obj.getInstances()); - if (obj.getIsolatedClasses() != null) { - JsonArray array = new JsonArray(); - obj.getIsolatedClasses().forEach(item -> array.add(item)); - json.put("isolatedClasses", array); - } - if (obj.getIsolationGroup() != null) { - json.put("isolationGroup", obj.getIsolationGroup()); - } - json.put("maxWorkerExecuteTime", obj.getMaxWorkerExecuteTime()); - json.put("multiThreaded", obj.isMultiThreaded()); - json.put("worker", obj.isWorker()); - if (obj.getWorkerPoolName() != null) { - json.put("workerPoolName", obj.getWorkerPoolName()); - } - json.put("workerPoolSize", obj.getWorkerPoolSize()); - } -} \ No newline at end of file diff --git a/src/main/generated/io/vertx/core/VertxOptionsConverter.java b/src/main/generated/io/vertx/core/VertxOptionsConverter.java deleted file mode 100644 index e426009c2..000000000 --- a/src/main/generated/io/vertx/core/VertxOptionsConverter.java +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Copyright 2014 Red Hat, Inc. - * - * Red Hat licenses this file to you 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 - * - * 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.vertx.core; - -import io.vertx.core.json.JsonObject; -import io.vertx.core.json.JsonArray; - -/** - * Converter for {@link io.vertx.core.VertxOptions}. - * - * NOTE: This class has been automatically generated from the {@link io.vertx.core.VertxOptions} original class using Vert.x codegen. - */ - class VertxOptionsConverter { - - static void fromJson(JsonObject json, VertxOptions obj) { - if (json.getValue("addressResolverOptions") instanceof JsonObject) { - obj.setAddressResolverOptions(new io.vertx.core.dns.AddressResolverOptions((JsonObject)json.getValue("addressResolverOptions"))); - } - if (json.getValue("blockedThreadCheckInterval") instanceof Number) { - obj.setBlockedThreadCheckInterval(((Number)json.getValue("blockedThreadCheckInterval")).longValue()); - } - if (json.getValue("clusterHost") instanceof String) { - obj.setClusterHost((String)json.getValue("clusterHost")); - } - if (json.getValue("clusterPingInterval") instanceof Number) { - obj.setClusterPingInterval(((Number)json.getValue("clusterPingInterval")).longValue()); - } - if (json.getValue("clusterPingReplyInterval") instanceof Number) { - obj.setClusterPingReplyInterval(((Number)json.getValue("clusterPingReplyInterval")).longValue()); - } - if (json.getValue("clusterPort") instanceof Number) { - obj.setClusterPort(((Number)json.getValue("clusterPort")).intValue()); - } - if (json.getValue("clusterPublicHost") instanceof String) { - obj.setClusterPublicHost((String)json.getValue("clusterPublicHost")); - } - if (json.getValue("clusterPublicPort") instanceof Number) { - obj.setClusterPublicPort(((Number)json.getValue("clusterPublicPort")).intValue()); - } - if (json.getValue("clustered") instanceof Boolean) { - obj.setClustered((Boolean)json.getValue("clustered")); - } - if (json.getValue("eventBusOptions") instanceof JsonObject) { - obj.setEventBusOptions(new io.vertx.core.eventbus.EventBusOptions((JsonObject)json.getValue("eventBusOptions"))); - } - if (json.getValue("eventLoopPoolSize") instanceof Number) { - obj.setEventLoopPoolSize(((Number)json.getValue("eventLoopPoolSize")).intValue()); - } - if (json.getValue("fileResolverCachingEnabled") instanceof Boolean) { - obj.setFileResolverCachingEnabled((Boolean)json.getValue("fileResolverCachingEnabled")); - } - if (json.getValue("haEnabled") instanceof Boolean) { - obj.setHAEnabled((Boolean)json.getValue("haEnabled")); - } - if (json.getValue("haGroup") instanceof String) { - obj.setHAGroup((String)json.getValue("haGroup")); - } - if (json.getValue("internalBlockingPoolSize") instanceof Number) { - obj.setInternalBlockingPoolSize(((Number)json.getValue("internalBlockingPoolSize")).intValue()); - } - if (json.getValue("maxEventLoopExecuteTime") instanceof Number) { - obj.setMaxEventLoopExecuteTime(((Number)json.getValue("maxEventLoopExecuteTime")).longValue()); - } - if (json.getValue("maxWorkerExecuteTime") instanceof Number) { - obj.setMaxWorkerExecuteTime(((Number)json.getValue("maxWorkerExecuteTime")).longValue()); - } - if (json.getValue("metricsOptions") instanceof JsonObject) { - obj.setMetricsOptions(new io.vertx.core.metrics.MetricsOptions((JsonObject)json.getValue("metricsOptions"))); - } - if (json.getValue("preferNativeTransport") instanceof Boolean) { - obj.setPreferNativeTransport((Boolean)json.getValue("preferNativeTransport")); - } - if (json.getValue("quorumSize") instanceof Number) { - obj.setQuorumSize(((Number)json.getValue("quorumSize")).intValue()); - } - if (json.getValue("warningExceptionTime") instanceof Number) { - obj.setWarningExceptionTime(((Number)json.getValue("warningExceptionTime")).longValue()); - } - if (json.getValue("workerPoolSize") instanceof Number) { - obj.setWorkerPoolSize(((Number)json.getValue("workerPoolSize")).intValue()); - } - } - - static void toJson(VertxOptions obj, JsonObject json) { - if (obj.getAddressResolverOptions() != null) { - json.put("addressResolverOptions", obj.getAddressResolverOptions().toJson()); - } - json.put("blockedThreadCheckInterval", obj.getBlockedThreadCheckInterval()); - if (obj.getClusterHost() != null) { - json.put("clusterHost", obj.getClusterHost()); - } - json.put("clusterPingInterval", obj.getClusterPingInterval()); - json.put("clusterPingReplyInterval", obj.getClusterPingReplyInterval()); - json.put("clusterPort", obj.getClusterPort()); - if (obj.getClusterPublicHost() != null) { - json.put("clusterPublicHost", obj.getClusterPublicHost()); - } - json.put("clusterPublicPort", obj.getClusterPublicPort()); - json.put("clustered", obj.isClustered()); - if (obj.getEventBusOptions() != null) { - json.put("eventBusOptions", obj.getEventBusOptions().toJson()); - } - json.put("eventLoopPoolSize", obj.getEventLoopPoolSize()); - json.put("fileResolverCachingEnabled", obj.isFileResolverCachingEnabled()); - json.put("haEnabled", obj.isHAEnabled()); - if (obj.getHAGroup() != null) { - json.put("haGroup", obj.getHAGroup()); - } - json.put("internalBlockingPoolSize", obj.getInternalBlockingPoolSize()); - json.put("maxEventLoopExecuteTime", obj.getMaxEventLoopExecuteTime()); - json.put("maxWorkerExecuteTime", obj.getMaxWorkerExecuteTime()); - if (obj.getMetricsOptions() != null) { - json.put("metricsOptions", obj.getMetricsOptions().toJson()); - } - json.put("preferNativeTransport", obj.getPreferNativeTransport()); - json.put("quorumSize", obj.getQuorumSize()); - json.put("warningExceptionTime", obj.getWarningExceptionTime()); - json.put("workerPoolSize", obj.getWorkerPoolSize()); - } -} \ No newline at end of file diff --git a/src/main/generated/io/vertx/core/cli/ArgumentConverter.java b/src/main/generated/io/vertx/core/cli/ArgumentConverter.java deleted file mode 100644 index c1d19e48c..000000000 --- a/src/main/generated/io/vertx/core/cli/ArgumentConverter.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2014 Red Hat, Inc. - * - * Red Hat licenses this file to you 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 - * - * 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.vertx.core.cli; - -import io.vertx.core.json.JsonObject; -import io.vertx.core.json.JsonArray; - -/** - * Converter for {@link io.vertx.core.cli.Argument}. - * - * NOTE: This class has been automatically generated from the {@link io.vertx.core.cli.Argument} original class using Vert.x codegen. - */ - class ArgumentConverter { - - static void fromJson(JsonObject json, Argument obj) { - if (json.getValue("argName") instanceof String) { - obj.setArgName((String)json.getValue("argName")); - } - if (json.getValue("defaultValue") instanceof String) { - obj.setDefaultValue((String)json.getValue("defaultValue")); - } - if (json.getValue("description") instanceof String) { - obj.setDescription((String)json.getValue("description")); - } - if (json.getValue("hidden") instanceof Boolean) { - obj.setHidden((Boolean)json.getValue("hidden")); - } - if (json.getValue("index") instanceof Number) { - obj.setIndex(((Number)json.getValue("index")).intValue()); - } - if (json.getValue("multiValued") instanceof Boolean) { - obj.setMultiValued((Boolean)json.getValue("multiValued")); - } - if (json.getValue("required") instanceof Boolean) { - obj.setRequired((Boolean)json.getValue("required")); - } - } - - static void toJson(Argument obj, JsonObject json) { - if (obj.getArgName() != null) { - json.put("argName", obj.getArgName()); - } - if (obj.getDefaultValue() != null) { - json.put("defaultValue", obj.getDefaultValue()); - } - if (obj.getDescription() != null) { - json.put("description", obj.getDescription()); - } - json.put("hidden", obj.isHidden()); - json.put("index", obj.getIndex()); - json.put("multiValued", obj.isMultiValued()); - json.put("required", obj.isRequired()); - } -} \ No newline at end of file diff --git a/src/main/generated/io/vertx/core/cli/OptionConverter.java b/src/main/generated/io/vertx/core/cli/OptionConverter.java deleted file mode 100644 index a6cbd4715..000000000 --- a/src/main/generated/io/vertx/core/cli/OptionConverter.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Copyright 2014 Red Hat, Inc. - * - * Red Hat licenses this file to you 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 - * - * 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.vertx.core.cli; - -import io.vertx.core.json.JsonObject; -import io.vertx.core.json.JsonArray; - -/** - * Converter for {@link io.vertx.core.cli.Option}. - * - * NOTE: This class has been automatically generated from the {@link io.vertx.core.cli.Option} original class using Vert.x codegen. - */ - class OptionConverter { - - static void fromJson(JsonObject json, Option obj) { - if (json.getValue("argName") instanceof String) { - obj.setArgName((String)json.getValue("argName")); - } - if (json.getValue("choices") instanceof JsonArray) { - json.getJsonArray("choices").forEach(item -> { - if (item instanceof String) - obj.addChoice((String)item); - }); - } - if (json.getValue("defaultValue") instanceof String) { - obj.setDefaultValue((String)json.getValue("defaultValue")); - } - if (json.getValue("description") instanceof String) { - obj.setDescription((String)json.getValue("description")); - } - if (json.getValue("flag") instanceof Boolean) { - obj.setFlag((Boolean)json.getValue("flag")); - } - if (json.getValue("help") instanceof Boolean) { - obj.setHelp((Boolean)json.getValue("help")); - } - if (json.getValue("hidden") instanceof Boolean) { - obj.setHidden((Boolean)json.getValue("hidden")); - } - if (json.getValue("longName") instanceof String) { - obj.setLongName((String)json.getValue("longName")); - } - if (json.getValue("multiValued") instanceof Boolean) { - obj.setMultiValued((Boolean)json.getValue("multiValued")); - } - if (json.getValue("required") instanceof Boolean) { - obj.setRequired((Boolean)json.getValue("required")); - } - if (json.getValue("shortName") instanceof String) { - obj.setShortName((String)json.getValue("shortName")); - } - if (json.getValue("singleValued") instanceof Boolean) { - obj.setSingleValued((Boolean)json.getValue("singleValued")); - } - } - - static void toJson(Option obj, JsonObject json) { - if (obj.getArgName() != null) { - json.put("argName", obj.getArgName()); - } - if (obj.getChoices() != null) { - JsonArray array = new JsonArray(); - obj.getChoices().forEach(item -> array.add(item)); - json.put("choices", array); - } - if (obj.getDefaultValue() != null) { - json.put("defaultValue", obj.getDefaultValue()); - } - if (obj.getDescription() != null) { - json.put("description", obj.getDescription()); - } - json.put("flag", obj.isFlag()); - json.put("help", obj.isHelp()); - json.put("hidden", obj.isHidden()); - if (obj.getLongName() != null) { - json.put("longName", obj.getLongName()); - } - json.put("multiValued", obj.isMultiValued()); - if (obj.getName() != null) { - json.put("name", obj.getName()); - } - json.put("required", obj.isRequired()); - if (obj.getShortName() != null) { - json.put("shortName", obj.getShortName()); - } - json.put("singleValued", obj.isSingleValued()); - } -} \ No newline at end of file diff --git a/src/main/generated/io/vertx/core/datagram/DatagramSocketOptionsConverter.java b/src/main/generated/io/vertx/core/datagram/DatagramSocketOptionsConverter.java deleted file mode 100644 index 37635663f..000000000 --- a/src/main/generated/io/vertx/core/datagram/DatagramSocketOptionsConverter.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2014 Red Hat, Inc. - * - * Red Hat licenses this file to you 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 - * - * 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.vertx.core.datagram; - -import io.vertx.core.json.JsonObject; -import io.vertx.core.json.JsonArray; - -/** - * Converter for {@link io.vertx.core.datagram.DatagramSocketOptions}. - * - * NOTE: This class has been automatically generated from the {@link io.vertx.core.datagram.DatagramSocketOptions} original class using Vert.x codegen. - */ - class DatagramSocketOptionsConverter { - - static void fromJson(JsonObject json, DatagramSocketOptions obj) { - if (json.getValue("broadcast") instanceof Boolean) { - obj.setBroadcast((Boolean)json.getValue("broadcast")); - } - if (json.getValue("ipV6") instanceof Boolean) { - obj.setIpV6((Boolean)json.getValue("ipV6")); - } - if (json.getValue("loopbackModeDisabled") instanceof Boolean) { - obj.setLoopbackModeDisabled((Boolean)json.getValue("loopbackModeDisabled")); - } - if (json.getValue("multicastNetworkInterface") instanceof String) { - obj.setMulticastNetworkInterface((String)json.getValue("multicastNetworkInterface")); - } - if (json.getValue("multicastTimeToLive") instanceof Number) { - obj.setMulticastTimeToLive(((Number)json.getValue("multicastTimeToLive")).intValue()); - } - } - - static void toJson(DatagramSocketOptions obj, JsonObject json) { - json.put("broadcast", obj.isBroadcast()); - json.put("ipV6", obj.isIpV6()); - json.put("loopbackModeDisabled", obj.isLoopbackModeDisabled()); - if (obj.getMulticastNetworkInterface() != null) { - json.put("multicastNetworkInterface", obj.getMulticastNetworkInterface()); - } - json.put("multicastTimeToLive", obj.getMulticastTimeToLive()); - } -} \ No newline at end of file diff --git a/src/main/generated/io/vertx/core/dns/AddressResolverOptionsConverter.java b/src/main/generated/io/vertx/core/dns/AddressResolverOptionsConverter.java deleted file mode 100644 index fda80d0da..000000000 --- a/src/main/generated/io/vertx/core/dns/AddressResolverOptionsConverter.java +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2014 Red Hat, Inc. - * - * Red Hat licenses this file to you 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 - * - * 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.vertx.core.dns; - -import io.vertx.core.json.JsonObject; -import io.vertx.core.json.JsonArray; - -/** - * Converter for {@link io.vertx.core.dns.AddressResolverOptions}. - * - * NOTE: This class has been automatically generated from the {@link io.vertx.core.dns.AddressResolverOptions} original class using Vert.x codegen. - */ - class AddressResolverOptionsConverter { - - static void fromJson(JsonObject json, AddressResolverOptions obj) { - if (json.getValue("cacheMaxTimeToLive") instanceof Number) { - obj.setCacheMaxTimeToLive(((Number)json.getValue("cacheMaxTimeToLive")).intValue()); - } - if (json.getValue("cacheMinTimeToLive") instanceof Number) { - obj.setCacheMinTimeToLive(((Number)json.getValue("cacheMinTimeToLive")).intValue()); - } - if (json.getValue("cacheNegativeTimeToLive") instanceof Number) { - obj.setCacheNegativeTimeToLive(((Number)json.getValue("cacheNegativeTimeToLive")).intValue()); - } - if (json.getValue("hostsPath") instanceof String) { - obj.setHostsPath((String)json.getValue("hostsPath")); - } - if (json.getValue("hostsValue") instanceof String) { - obj.setHostsValue(io.vertx.core.buffer.Buffer.buffer(java.util.Base64.getDecoder().decode((String)json.getValue("hostsValue")))); - } - if (json.getValue("maxQueries") instanceof Number) { - obj.setMaxQueries(((Number)json.getValue("maxQueries")).intValue()); - } - if (json.getValue("ndots") instanceof Number) { - obj.setNdots(((Number)json.getValue("ndots")).intValue()); - } - if (json.getValue("optResourceEnabled") instanceof Boolean) { - obj.setOptResourceEnabled((Boolean)json.getValue("optResourceEnabled")); - } - if (json.getValue("queryTimeout") instanceof Number) { - obj.setQueryTimeout(((Number)json.getValue("queryTimeout")).longValue()); - } - if (json.getValue("rdFlag") instanceof Boolean) { - obj.setRdFlag((Boolean)json.getValue("rdFlag")); - } - if (json.getValue("rotateServers") instanceof Boolean) { - obj.setRotateServers((Boolean)json.getValue("rotateServers")); - } - if (json.getValue("searchDomains") instanceof JsonArray) { - json.getJsonArray("searchDomains").forEach(item -> { - if (item instanceof String) - obj.addSearchDomain((String)item); - }); - } - if (json.getValue("servers") instanceof JsonArray) { - json.getJsonArray("servers").forEach(item -> { - if (item instanceof String) - obj.addServer((String)item); - }); - } - } - - static void toJson(AddressResolverOptions obj, JsonObject json) { - json.put("cacheMaxTimeToLive", obj.getCacheMaxTimeToLive()); - json.put("cacheMinTimeToLive", obj.getCacheMinTimeToLive()); - json.put("cacheNegativeTimeToLive", obj.getCacheNegativeTimeToLive()); - if (obj.getHostsPath() != null) { - json.put("hostsPath", obj.getHostsPath()); - } - if (obj.getHostsValue() != null) { - json.put("hostsValue", obj.getHostsValue().getBytes()); - } - json.put("maxQueries", obj.getMaxQueries()); - json.put("ndots", obj.getNdots()); - json.put("optResourceEnabled", obj.isOptResourceEnabled()); - json.put("queryTimeout", obj.getQueryTimeout()); - json.put("rdFlag", obj.getRdFlag()); - json.put("rotateServers", obj.isRotateServers()); - if (obj.getSearchDomains() != null) { - JsonArray array = new JsonArray(); - obj.getSearchDomains().forEach(item -> array.add(item)); - json.put("searchDomains", array); - } - if (obj.getServers() != null) { - JsonArray array = new JsonArray(); - obj.getServers().forEach(item -> array.add(item)); - json.put("servers", array); - } - } -} \ No newline at end of file diff --git a/src/main/generated/io/vertx/core/dns/DnsClientOptionsConverter.java b/src/main/generated/io/vertx/core/dns/DnsClientOptionsConverter.java deleted file mode 100644 index 83de91cac..000000000 --- a/src/main/generated/io/vertx/core/dns/DnsClientOptionsConverter.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2014 Red Hat, Inc. - * - * Red Hat licenses this file to you 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 - * - * 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.vertx.core.dns; - -import io.vertx.core.json.JsonObject; -import io.vertx.core.json.JsonArray; - -/** - * Converter for {@link io.vertx.core.dns.DnsClientOptions}. - * - * NOTE: This class has been automatically generated from the {@link io.vertx.core.dns.DnsClientOptions} original class using Vert.x codegen. - */ -public class DnsClientOptionsConverter { - - public static void fromJson(JsonObject json, DnsClientOptions obj) { - if (json.getValue("host") instanceof String) { - obj.setHost((String)json.getValue("host")); - } - if (json.getValue("port") instanceof Number) { - obj.setPort(((Number)json.getValue("port")).intValue()); - } - if (json.getValue("queryTimeout") instanceof Number) { - obj.setQueryTimeout(((Number)json.getValue("queryTimeout")).longValue()); - } - } - - public static void toJson(DnsClientOptions obj, JsonObject json) { - if (obj.getHost() != null) { - json.put("host", obj.getHost()); - } - json.put("port", obj.getPort()); - json.put("queryTimeout", obj.getQueryTimeout()); - } -} \ No newline at end of file diff --git a/src/main/generated/io/vertx/core/eventbus/EventBusOptionsConverter.java b/src/main/generated/io/vertx/core/eventbus/EventBusOptionsConverter.java deleted file mode 100644 index ecf149daf..000000000 --- a/src/main/generated/io/vertx/core/eventbus/EventBusOptionsConverter.java +++ /dev/null @@ -1,248 +0,0 @@ -/* - * Copyright 2014 Red Hat, Inc. - * - * Red Hat licenses this file to you 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 - * - * 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.vertx.core.eventbus; - -import io.vertx.core.json.JsonObject; -import io.vertx.core.json.JsonArray; - -/** - * Converter for {@link io.vertx.core.eventbus.EventBusOptions}. - * - * NOTE: This class has been automatically generated from the {@link io.vertx.core.eventbus.EventBusOptions} original class using Vert.x codegen. - */ - class EventBusOptionsConverter { - - static void fromJson(JsonObject json, EventBusOptions obj) { - if (json.getValue("acceptBacklog") instanceof Number) { - obj.setAcceptBacklog(((Number)json.getValue("acceptBacklog")).intValue()); - } - if (json.getValue("clientAuth") instanceof String) { - obj.setClientAuth(io.vertx.core.http.ClientAuth.valueOf((String)json.getValue("clientAuth"))); - } - if (json.getValue("clusterPingInterval") instanceof Number) { - obj.setClusterPingInterval(((Number)json.getValue("clusterPingInterval")).longValue()); - } - if (json.getValue("clusterPingReplyInterval") instanceof Number) { - obj.setClusterPingReplyInterval(((Number)json.getValue("clusterPingReplyInterval")).longValue()); - } - if (json.getValue("clusterPublicHost") instanceof String) { - obj.setClusterPublicHost((String)json.getValue("clusterPublicHost")); - } - if (json.getValue("clusterPublicPort") instanceof Number) { - obj.setClusterPublicPort(((Number)json.getValue("clusterPublicPort")).intValue()); - } - if (json.getValue("clustered") instanceof Boolean) { - obj.setClustered((Boolean)json.getValue("clustered")); - } - if (json.getValue("connectTimeout") instanceof Number) { - obj.setConnectTimeout(((Number)json.getValue("connectTimeout")).intValue()); - } - if (json.getValue("crlPaths") instanceof JsonArray) { - json.getJsonArray("crlPaths").forEach(item -> { - if (item instanceof String) - obj.addCrlPath((String)item); - }); - } - if (json.getValue("crlValues") instanceof JsonArray) { - json.getJsonArray("crlValues").forEach(item -> { - if (item instanceof String) - obj.addCrlValue(io.vertx.core.buffer.Buffer.buffer(java.util.Base64.getDecoder().decode((String)item))); - }); - } - if (json.getValue("enabledCipherSuites") instanceof JsonArray) { - json.getJsonArray("enabledCipherSuites").forEach(item -> { - if (item instanceof String) - obj.addEnabledCipherSuite((String)item); - }); - } - if (json.getValue("enabledSecureTransportProtocols") instanceof JsonArray) { - json.getJsonArray("enabledSecureTransportProtocols").forEach(item -> { - if (item instanceof String) - obj.addEnabledSecureTransportProtocol((String)item); - }); - } - if (json.getValue("host") instanceof String) { - obj.setHost((String)json.getValue("host")); - } - if (json.getValue("idleTimeout") instanceof Number) { - obj.setIdleTimeout(((Number)json.getValue("idleTimeout")).intValue()); - } - if (json.getValue("jdkSslEngineOptions") instanceof JsonObject) { - obj.setJdkSslEngineOptions(new io.vertx.core.net.JdkSSLEngineOptions((JsonObject)json.getValue("jdkSslEngineOptions"))); - } - if (json.getValue("keyStoreOptions") instanceof JsonObject) { - obj.setKeyStoreOptions(new io.vertx.core.net.JksOptions((JsonObject)json.getValue("keyStoreOptions"))); - } - if (json.getValue("logActivity") instanceof Boolean) { - obj.setLogActivity((Boolean)json.getValue("logActivity")); - } - if (json.getValue("openSslEngineOptions") instanceof JsonObject) { - obj.setOpenSslEngineOptions(new io.vertx.core.net.OpenSSLEngineOptions((JsonObject)json.getValue("openSslEngineOptions"))); - } - if (json.getValue("pemKeyCertOptions") instanceof JsonObject) { - obj.setPemKeyCertOptions(new io.vertx.core.net.PemKeyCertOptions((JsonObject)json.getValue("pemKeyCertOptions"))); - } - if (json.getValue("pemTrustOptions") instanceof JsonObject) { - obj.setPemTrustOptions(new io.vertx.core.net.PemTrustOptions((JsonObject)json.getValue("pemTrustOptions"))); - } - if (json.getValue("pfxKeyCertOptions") instanceof JsonObject) { - obj.setPfxKeyCertOptions(new io.vertx.core.net.PfxOptions((JsonObject)json.getValue("pfxKeyCertOptions"))); - } - if (json.getValue("pfxTrustOptions") instanceof JsonObject) { - obj.setPfxTrustOptions(new io.vertx.core.net.PfxOptions((JsonObject)json.getValue("pfxTrustOptions"))); - } - if (json.getValue("port") instanceof Number) { - obj.setPort(((Number)json.getValue("port")).intValue()); - } - if (json.getValue("receiveBufferSize") instanceof Number) { - obj.setReceiveBufferSize(((Number)json.getValue("receiveBufferSize")).intValue()); - } - if (json.getValue("reconnectAttempts") instanceof Number) { - obj.setReconnectAttempts(((Number)json.getValue("reconnectAttempts")).intValue()); - } - if (json.getValue("reconnectInterval") instanceof Number) { - obj.setReconnectInterval(((Number)json.getValue("reconnectInterval")).longValue()); - } - if (json.getValue("reuseAddress") instanceof Boolean) { - obj.setReuseAddress((Boolean)json.getValue("reuseAddress")); - } - if (json.getValue("reusePort") instanceof Boolean) { - obj.setReusePort((Boolean)json.getValue("reusePort")); - } - if (json.getValue("sendBufferSize") instanceof Number) { - obj.setSendBufferSize(((Number)json.getValue("sendBufferSize")).intValue()); - } - if (json.getValue("soLinger") instanceof Number) { - obj.setSoLinger(((Number)json.getValue("soLinger")).intValue()); - } - if (json.getValue("ssl") instanceof Boolean) { - obj.setSsl((Boolean)json.getValue("ssl")); - } - if (json.getValue("tcpCork") instanceof Boolean) { - obj.setTcpCork((Boolean)json.getValue("tcpCork")); - } - if (json.getValue("tcpFastOpen") instanceof Boolean) { - obj.setTcpFastOpen((Boolean)json.getValue("tcpFastOpen")); - } - if (json.getValue("tcpKeepAlive") instanceof Boolean) { - obj.setTcpKeepAlive((Boolean)json.getValue("tcpKeepAlive")); - } - if (json.getValue("tcpNoDelay") instanceof Boolean) { - obj.setTcpNoDelay((Boolean)json.getValue("tcpNoDelay")); - } - if (json.getValue("tcpQuickAck") instanceof Boolean) { - obj.setTcpQuickAck((Boolean)json.getValue("tcpQuickAck")); - } - if (json.getValue("trafficClass") instanceof Number) { - obj.setTrafficClass(((Number)json.getValue("trafficClass")).intValue()); - } - if (json.getValue("trustAll") instanceof Boolean) { - obj.setTrustAll((Boolean)json.getValue("trustAll")); - } - if (json.getValue("trustStoreOptions") instanceof JsonObject) { - obj.setTrustStoreOptions(new io.vertx.core.net.JksOptions((JsonObject)json.getValue("trustStoreOptions"))); - } - if (json.getValue("useAlpn") instanceof Boolean) { - obj.setUseAlpn((Boolean)json.getValue("useAlpn")); - } - if (json.getValue("usePooledBuffers") instanceof Boolean) { - obj.setUsePooledBuffers((Boolean)json.getValue("usePooledBuffers")); - } - } - - static void toJson(EventBusOptions obj, JsonObject json) { - json.put("acceptBacklog", obj.getAcceptBacklog()); - if (obj.getClientAuth() != null) { - json.put("clientAuth", obj.getClientAuth().name()); - } - json.put("clusterPingInterval", obj.getClusterPingInterval()); - json.put("clusterPingReplyInterval", obj.getClusterPingReplyInterval()); - if (obj.getClusterPublicHost() != null) { - json.put("clusterPublicHost", obj.getClusterPublicHost()); - } - json.put("clusterPublicPort", obj.getClusterPublicPort()); - json.put("clustered", obj.isClustered()); - json.put("connectTimeout", obj.getConnectTimeout()); - if (obj.getCrlPaths() != null) { - JsonArray array = new JsonArray(); - obj.getCrlPaths().forEach(item -> array.add(item)); - json.put("crlPaths", array); - } - if (obj.getCrlValues() != null) { - JsonArray array = new JsonArray(); - obj.getCrlValues().forEach(item -> array.add(item.getBytes())); - json.put("crlValues", array); - } - if (obj.getEnabledCipherSuites() != null) { - JsonArray array = new JsonArray(); - obj.getEnabledCipherSuites().forEach(item -> array.add(item)); - json.put("enabledCipherSuites", array); - } - if (obj.getEnabledSecureTransportProtocols() != null) { - JsonArray array = new JsonArray(); - obj.getEnabledSecureTransportProtocols().forEach(item -> array.add(item)); - json.put("enabledSecureTransportProtocols", array); - } - if (obj.getHost() != null) { - json.put("host", obj.getHost()); - } - json.put("idleTimeout", obj.getIdleTimeout()); - if (obj.getJdkSslEngineOptions() != null) { - json.put("jdkSslEngineOptions", obj.getJdkSslEngineOptions().toJson()); - } - if (obj.getKeyStoreOptions() != null) { - json.put("keyStoreOptions", obj.getKeyStoreOptions().toJson()); - } - json.put("logActivity", obj.getLogActivity()); - if (obj.getOpenSslEngineOptions() != null) { - json.put("openSslEngineOptions", obj.getOpenSslEngineOptions().toJson()); - } - if (obj.getPemKeyCertOptions() != null) { - json.put("pemKeyCertOptions", obj.getPemKeyCertOptions().toJson()); - } - if (obj.getPemTrustOptions() != null) { - json.put("pemTrustOptions", obj.getPemTrustOptions().toJson()); - } - if (obj.getPfxKeyCertOptions() != null) { - json.put("pfxKeyCertOptions", obj.getPfxKeyCertOptions().toJson()); - } - if (obj.getPfxTrustOptions() != null) { - json.put("pfxTrustOptions", obj.getPfxTrustOptions().toJson()); - } - json.put("port", obj.getPort()); - json.put("receiveBufferSize", obj.getReceiveBufferSize()); - json.put("reconnectAttempts", obj.getReconnectAttempts()); - json.put("reconnectInterval", obj.getReconnectInterval()); - json.put("reuseAddress", obj.isReuseAddress()); - json.put("reusePort", obj.isReusePort()); - json.put("sendBufferSize", obj.getSendBufferSize()); - json.put("soLinger", obj.getSoLinger()); - json.put("ssl", obj.isSsl()); - json.put("tcpCork", obj.isTcpCork()); - json.put("tcpFastOpen", obj.isTcpFastOpen()); - json.put("tcpKeepAlive", obj.isTcpKeepAlive()); - json.put("tcpNoDelay", obj.isTcpNoDelay()); - json.put("tcpQuickAck", obj.isTcpQuickAck()); - json.put("trafficClass", obj.getTrafficClass()); - json.put("trustAll", obj.isTrustAll()); - if (obj.getTrustStoreOptions() != null) { - json.put("trustStoreOptions", obj.getTrustStoreOptions().toJson()); - } - json.put("useAlpn", obj.isUseAlpn()); - json.put("usePooledBuffers", obj.isUsePooledBuffers()); - } -} \ No newline at end of file diff --git a/src/main/generated/io/vertx/core/file/CopyOptionsConverter.java b/src/main/generated/io/vertx/core/file/CopyOptionsConverter.java deleted file mode 100644 index 4dab0db77..000000000 --- a/src/main/generated/io/vertx/core/file/CopyOptionsConverter.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2014 Red Hat, Inc. - * - * Red Hat licenses this file to you 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 - * - * 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.vertx.core.file; - -import io.vertx.core.json.JsonObject; -import io.vertx.core.json.JsonArray; - -/** - * Converter for {@link io.vertx.core.file.CopyOptions}. - * - * NOTE: This class has been automatically generated from the {@link io.vertx.core.file.CopyOptions} original class using Vert.x codegen. - */ - class CopyOptionsConverter { - - static void fromJson(JsonObject json, CopyOptions obj) { - if (json.getValue("atomicMove") instanceof Boolean) { - obj.setAtomicMove((Boolean)json.getValue("atomicMove")); - } - if (json.getValue("copyAttributes") instanceof Boolean) { - obj.setCopyAttributes((Boolean)json.getValue("copyAttributes")); - } - if (json.getValue("nofollowLinks") instanceof Boolean) { - obj.setNofollowLinks((Boolean)json.getValue("nofollowLinks")); - } - if (json.getValue("replaceExisting") instanceof Boolean) { - obj.setReplaceExisting((Boolean)json.getValue("replaceExisting")); - } - } - - static void toJson(CopyOptions obj, JsonObject json) { - json.put("atomicMove", obj.isAtomicMove()); - json.put("copyAttributes", obj.isCopyAttributes()); - json.put("nofollowLinks", obj.isNofollowLinks()); - json.put("replaceExisting", obj.isReplaceExisting()); - } -} \ No newline at end of file diff --git a/src/main/generated/io/vertx/core/file/OpenOptionsConverter.java b/src/main/generated/io/vertx/core/file/OpenOptionsConverter.java deleted file mode 100644 index 078e69021..000000000 --- a/src/main/generated/io/vertx/core/file/OpenOptionsConverter.java +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2014 Red Hat, Inc. - * - * Red Hat licenses this file to you 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 - * - * 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.vertx.core.file; - -import io.vertx.core.json.JsonObject; -import io.vertx.core.json.JsonArray; - -/** - * Converter for {@link io.vertx.core.file.OpenOptions}. - * - * NOTE: This class has been automatically generated from the {@link io.vertx.core.file.OpenOptions} original class using Vert.x codegen. - */ - class OpenOptionsConverter { - - static void fromJson(JsonObject json, OpenOptions obj) { - if (json.getValue("append") instanceof Boolean) { - obj.setAppend((Boolean)json.getValue("append")); - } - if (json.getValue("create") instanceof Boolean) { - obj.setCreate((Boolean)json.getValue("create")); - } - if (json.getValue("createNew") instanceof Boolean) { - obj.setCreateNew((Boolean)json.getValue("createNew")); - } - if (json.getValue("deleteOnClose") instanceof Boolean) { - obj.setDeleteOnClose((Boolean)json.getValue("deleteOnClose")); - } - if (json.getValue("dsync") instanceof Boolean) { - obj.setDsync((Boolean)json.getValue("dsync")); - } - if (json.getValue("perms") instanceof String) { - obj.setPerms((String)json.getValue("perms")); - } - if (json.getValue("read") instanceof Boolean) { - obj.setRead((Boolean)json.getValue("read")); - } - if (json.getValue("sparse") instanceof Boolean) { - obj.setSparse((Boolean)json.getValue("sparse")); - } - if (json.getValue("sync") instanceof Boolean) { - obj.setSync((Boolean)json.getValue("sync")); - } - if (json.getValue("truncateExisting") instanceof Boolean) { - obj.setTruncateExisting((Boolean)json.getValue("truncateExisting")); - } - if (json.getValue("write") instanceof Boolean) { - obj.setWrite((Boolean)json.getValue("write")); - } - } - - static void toJson(OpenOptions obj, JsonObject json) { - json.put("append", obj.isAppend()); - json.put("create", obj.isCreate()); - json.put("createNew", obj.isCreateNew()); - json.put("deleteOnClose", obj.isDeleteOnClose()); - json.put("dsync", obj.isDsync()); - if (obj.getPerms() != null) { - json.put("perms", obj.getPerms()); - } - json.put("read", obj.isRead()); - json.put("sparse", obj.isSparse()); - json.put("sync", obj.isSync()); - json.put("truncateExisting", obj.isTruncateExisting()); - json.put("write", obj.isWrite()); - } -} \ No newline at end of file diff --git a/src/main/generated/io/vertx/core/http/GoAwayConverter.java b/src/main/generated/io/vertx/core/http/GoAwayConverter.java deleted file mode 100644 index f0a53da7d..000000000 --- a/src/main/generated/io/vertx/core/http/GoAwayConverter.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2014 Red Hat, Inc. - * - * Red Hat licenses this file to you 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 - * - * 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.vertx.core.http; - -import io.vertx.core.json.JsonObject; -import io.vertx.core.json.JsonArray; - -/** - * Converter for {@link io.vertx.core.http.GoAway}. - * - * NOTE: This class has been automatically generated from the {@link io.vertx.core.http.GoAway} original class using Vert.x codegen. - */ - class GoAwayConverter { - - static void fromJson(JsonObject json, GoAway obj) { - if (json.getValue("debugData") instanceof String) { - obj.setDebugData(io.vertx.core.buffer.Buffer.buffer(java.util.Base64.getDecoder().decode((String)json.getValue("debugData")))); - } - if (json.getValue("errorCode") instanceof Number) { - obj.setErrorCode(((Number)json.getValue("errorCode")).longValue()); - } - if (json.getValue("lastStreamId") instanceof Number) { - obj.setLastStreamId(((Number)json.getValue("lastStreamId")).intValue()); - } - } - - static void toJson(GoAway obj, JsonObject json) { - if (obj.getDebugData() != null) { - json.put("debugData", obj.getDebugData().getBytes()); - } - json.put("errorCode", obj.getErrorCode()); - json.put("lastStreamId", obj.getLastStreamId()); - } -} \ No newline at end of file diff --git a/src/main/generated/io/vertx/core/http/Http2SettingsConverter.java b/src/main/generated/io/vertx/core/http/Http2SettingsConverter.java deleted file mode 100644 index 2590858e5..000000000 --- a/src/main/generated/io/vertx/core/http/Http2SettingsConverter.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2014 Red Hat, Inc. - * - * Red Hat licenses this file to you 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 - * - * 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.vertx.core.http; - -import io.vertx.core.json.JsonObject; -import io.vertx.core.json.JsonArray; - -/** - * Converter for {@link io.vertx.core.http.Http2Settings}. - * - * NOTE: This class has been automatically generated from the {@link io.vertx.core.http.Http2Settings} original class using Vert.x codegen. - */ - class Http2SettingsConverter { - - static void fromJson(JsonObject json, Http2Settings obj) { - if (json.getValue("headerTableSize") instanceof Number) { - obj.setHeaderTableSize(((Number)json.getValue("headerTableSize")).longValue()); - } - if (json.getValue("initialWindowSize") instanceof Number) { - obj.setInitialWindowSize(((Number)json.getValue("initialWindowSize")).intValue()); - } - if (json.getValue("maxConcurrentStreams") instanceof Number) { - obj.setMaxConcurrentStreams(((Number)json.getValue("maxConcurrentStreams")).longValue()); - } - if (json.getValue("maxFrameSize") instanceof Number) { - obj.setMaxFrameSize(((Number)json.getValue("maxFrameSize")).intValue()); - } - if (json.getValue("maxHeaderListSize") instanceof Number) { - obj.setMaxHeaderListSize(((Number)json.getValue("maxHeaderListSize")).longValue()); - } - if (json.getValue("pushEnabled") instanceof Boolean) { - obj.setPushEnabled((Boolean)json.getValue("pushEnabled")); - } - } - - static void toJson(Http2Settings obj, JsonObject json) { - json.put("headerTableSize", obj.getHeaderTableSize()); - json.put("initialWindowSize", obj.getInitialWindowSize()); - json.put("maxConcurrentStreams", obj.getMaxConcurrentStreams()); - json.put("maxFrameSize", obj.getMaxFrameSize()); - json.put("maxHeaderListSize", obj.getMaxHeaderListSize()); - json.put("pushEnabled", obj.isPushEnabled()); - } -} \ No newline at end of file diff --git a/src/main/generated/io/vertx/core/http/HttpClientOptionsConverter.java b/src/main/generated/io/vertx/core/http/HttpClientOptionsConverter.java deleted file mode 100644 index 3173aa803..000000000 --- a/src/main/generated/io/vertx/core/http/HttpClientOptionsConverter.java +++ /dev/null @@ -1,149 +0,0 @@ -/* - * Copyright 2014 Red Hat, Inc. - * - * Red Hat licenses this file to you 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 - * - * 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.vertx.core.http; - -import io.vertx.core.json.JsonObject; -import io.vertx.core.json.JsonArray; - -/** - * Converter for {@link io.vertx.core.http.HttpClientOptions}. - * - * NOTE: This class has been automatically generated from the {@link io.vertx.core.http.HttpClientOptions} original class using Vert.x codegen. - */ - class HttpClientOptionsConverter { - - static void fromJson(JsonObject json, HttpClientOptions obj) { - if (json.getValue("alpnVersions") instanceof JsonArray) { - java.util.ArrayList list = new java.util.ArrayList<>(); - json.getJsonArray("alpnVersions").forEach( item -> { - if (item instanceof String) - list.add(io.vertx.core.http.HttpVersion.valueOf((String)item)); - }); - obj.setAlpnVersions(list); - } - if (json.getValue("decoderInitialBufferSize") instanceof Number) { - obj.setDecoderInitialBufferSize(((Number)json.getValue("decoderInitialBufferSize")).intValue()); - } - if (json.getValue("defaultHost") instanceof String) { - obj.setDefaultHost((String)json.getValue("defaultHost")); - } - if (json.getValue("defaultPort") instanceof Number) { - obj.setDefaultPort(((Number)json.getValue("defaultPort")).intValue()); - } - if (json.getValue("forceSni") instanceof Boolean) { - obj.setForceSni((Boolean)json.getValue("forceSni")); - } - if (json.getValue("http2ClearTextUpgrade") instanceof Boolean) { - obj.setHttp2ClearTextUpgrade((Boolean)json.getValue("http2ClearTextUpgrade")); - } - if (json.getValue("http2ConnectionWindowSize") instanceof Number) { - obj.setHttp2ConnectionWindowSize(((Number)json.getValue("http2ConnectionWindowSize")).intValue()); - } - if (json.getValue("http2MaxPoolSize") instanceof Number) { - obj.setHttp2MaxPoolSize(((Number)json.getValue("http2MaxPoolSize")).intValue()); - } - if (json.getValue("http2MultiplexingLimit") instanceof Number) { - obj.setHttp2MultiplexingLimit(((Number)json.getValue("http2MultiplexingLimit")).intValue()); - } - if (json.getValue("initialSettings") instanceof JsonObject) { - obj.setInitialSettings(new io.vertx.core.http.Http2Settings((JsonObject)json.getValue("initialSettings"))); - } - if (json.getValue("keepAlive") instanceof Boolean) { - obj.setKeepAlive((Boolean)json.getValue("keepAlive")); - } - if (json.getValue("maxChunkSize") instanceof Number) { - obj.setMaxChunkSize(((Number)json.getValue("maxChunkSize")).intValue()); - } - if (json.getValue("maxHeaderSize") instanceof Number) { - obj.setMaxHeaderSize(((Number)json.getValue("maxHeaderSize")).intValue()); - } - if (json.getValue("maxInitialLineLength") instanceof Number) { - obj.setMaxInitialLineLength(((Number)json.getValue("maxInitialLineLength")).intValue()); - } - if (json.getValue("maxPoolSize") instanceof Number) { - obj.setMaxPoolSize(((Number)json.getValue("maxPoolSize")).intValue()); - } - if (json.getValue("maxRedirects") instanceof Number) { - obj.setMaxRedirects(((Number)json.getValue("maxRedirects")).intValue()); - } - if (json.getValue("maxWaitQueueSize") instanceof Number) { - obj.setMaxWaitQueueSize(((Number)json.getValue("maxWaitQueueSize")).intValue()); - } - if (json.getValue("maxWebsocketFrameSize") instanceof Number) { - obj.setMaxWebsocketFrameSize(((Number)json.getValue("maxWebsocketFrameSize")).intValue()); - } - if (json.getValue("maxWebsocketMessageSize") instanceof Number) { - obj.setMaxWebsocketMessageSize(((Number)json.getValue("maxWebsocketMessageSize")).intValue()); - } - if (json.getValue("pipelining") instanceof Boolean) { - obj.setPipelining((Boolean)json.getValue("pipelining")); - } - if (json.getValue("pipeliningLimit") instanceof Number) { - obj.setPipeliningLimit(((Number)json.getValue("pipeliningLimit")).intValue()); - } - if (json.getValue("protocolVersion") instanceof String) { - obj.setProtocolVersion(io.vertx.core.http.HttpVersion.valueOf((String)json.getValue("protocolVersion"))); - } - if (json.getValue("sendUnmaskedFrames") instanceof Boolean) { - obj.setSendUnmaskedFrames((Boolean)json.getValue("sendUnmaskedFrames")); - } - if (json.getValue("tryUseCompression") instanceof Boolean) { - obj.setTryUseCompression((Boolean)json.getValue("tryUseCompression")); - } - if (json.getValue("verifyHost") instanceof Boolean) { - obj.setVerifyHost((Boolean)json.getValue("verifyHost")); - } - } - - static void toJson(HttpClientOptions obj, JsonObject json) { - if (obj.getAlpnVersions() != null) { - JsonArray array = new JsonArray(); - obj.getAlpnVersions().forEach(item -> array.add(item.name())); - json.put("alpnVersions", array); - } - json.put("decoderInitialBufferSize", obj.getDecoderInitialBufferSize()); - if (obj.getDefaultHost() != null) { - json.put("defaultHost", obj.getDefaultHost()); - } - json.put("defaultPort", obj.getDefaultPort()); - json.put("forceSni", obj.isForceSni()); - json.put("http2ClearTextUpgrade", obj.isHttp2ClearTextUpgrade()); - json.put("http2ConnectionWindowSize", obj.getHttp2ConnectionWindowSize()); - json.put("http2MaxPoolSize", obj.getHttp2MaxPoolSize()); - json.put("http2MultiplexingLimit", obj.getHttp2MultiplexingLimit()); - if (obj.getInitialSettings() != null) { - json.put("initialSettings", obj.getInitialSettings().toJson()); - } - json.put("keepAlive", obj.isKeepAlive()); - json.put("maxChunkSize", obj.getMaxChunkSize()); - json.put("maxHeaderSize", obj.getMaxHeaderSize()); - json.put("maxInitialLineLength", obj.getMaxInitialLineLength()); - json.put("maxPoolSize", obj.getMaxPoolSize()); - json.put("maxRedirects", obj.getMaxRedirects()); - json.put("maxWaitQueueSize", obj.getMaxWaitQueueSize()); - json.put("maxWebsocketFrameSize", obj.getMaxWebsocketFrameSize()); - json.put("maxWebsocketMessageSize", obj.getMaxWebsocketMessageSize()); - json.put("pipelining", obj.isPipelining()); - json.put("pipeliningLimit", obj.getPipeliningLimit()); - if (obj.getProtocolVersion() != null) { - json.put("protocolVersion", obj.getProtocolVersion().name()); - } - json.put("sendUnmaskedFrames", obj.isSendUnmaskedFrames()); - json.put("tryUseCompression", obj.isTryUseCompression()); - json.put("verifyHost", obj.isVerifyHost()); - } -} \ No newline at end of file diff --git a/src/main/generated/io/vertx/core/http/HttpServerOptionsConverter.java b/src/main/generated/io/vertx/core/http/HttpServerOptionsConverter.java deleted file mode 100644 index 4ae41b7bf..000000000 --- a/src/main/generated/io/vertx/core/http/HttpServerOptionsConverter.java +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Copyright 2014 Red Hat, Inc. - * - * Red Hat licenses this file to you 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 - * - * 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.vertx.core.http; - -import io.vertx.core.json.JsonObject; -import io.vertx.core.json.JsonArray; - -/** - * Converter for {@link io.vertx.core.http.HttpServerOptions}. - * - * NOTE: This class has been automatically generated from the {@link io.vertx.core.http.HttpServerOptions} original class using Vert.x codegen. - */ - class HttpServerOptionsConverter { - - static void fromJson(JsonObject json, HttpServerOptions obj) { - if (json.getValue("acceptUnmaskedFrames") instanceof Boolean) { - obj.setAcceptUnmaskedFrames((Boolean)json.getValue("acceptUnmaskedFrames")); - } - if (json.getValue("alpnVersions") instanceof JsonArray) { - java.util.ArrayList list = new java.util.ArrayList<>(); - json.getJsonArray("alpnVersions").forEach( item -> { - if (item instanceof String) - list.add(io.vertx.core.http.HttpVersion.valueOf((String)item)); - }); - obj.setAlpnVersions(list); - } - if (json.getValue("compressionLevel") instanceof Number) { - obj.setCompressionLevel(((Number)json.getValue("compressionLevel")).intValue()); - } - if (json.getValue("compressionSupported") instanceof Boolean) { - obj.setCompressionSupported((Boolean)json.getValue("compressionSupported")); - } - if (json.getValue("decoderInitialBufferSize") instanceof Number) { - obj.setDecoderInitialBufferSize(((Number)json.getValue("decoderInitialBufferSize")).intValue()); - } - if (json.getValue("decompressionSupported") instanceof Boolean) { - obj.setDecompressionSupported((Boolean)json.getValue("decompressionSupported")); - } - if (json.getValue("handle100ContinueAutomatically") instanceof Boolean) { - obj.setHandle100ContinueAutomatically((Boolean)json.getValue("handle100ContinueAutomatically")); - } - if (json.getValue("http2ConnectionWindowSize") instanceof Number) { - obj.setHttp2ConnectionWindowSize(((Number)json.getValue("http2ConnectionWindowSize")).intValue()); - } - if (json.getValue("initialSettings") instanceof JsonObject) { - obj.setInitialSettings(new io.vertx.core.http.Http2Settings((JsonObject)json.getValue("initialSettings"))); - } - if (json.getValue("maxChunkSize") instanceof Number) { - obj.setMaxChunkSize(((Number)json.getValue("maxChunkSize")).intValue()); - } - if (json.getValue("maxHeaderSize") instanceof Number) { - obj.setMaxHeaderSize(((Number)json.getValue("maxHeaderSize")).intValue()); - } - if (json.getValue("maxInitialLineLength") instanceof Number) { - obj.setMaxInitialLineLength(((Number)json.getValue("maxInitialLineLength")).intValue()); - } - if (json.getValue("maxWebsocketFrameSize") instanceof Number) { - obj.setMaxWebsocketFrameSize(((Number)json.getValue("maxWebsocketFrameSize")).intValue()); - } - if (json.getValue("maxWebsocketMessageSize") instanceof Number) { - obj.setMaxWebsocketMessageSize(((Number)json.getValue("maxWebsocketMessageSize")).intValue()); - } - if (json.getValue("websocketSubProtocols") instanceof String) { - obj.setWebsocketSubProtocols((String)json.getValue("websocketSubProtocols")); - } - } - - static void toJson(HttpServerOptions obj, JsonObject json) { - json.put("acceptUnmaskedFrames", obj.isAcceptUnmaskedFrames()); - if (obj.getAlpnVersions() != null) { - JsonArray array = new JsonArray(); - obj.getAlpnVersions().forEach(item -> array.add(item.name())); - json.put("alpnVersions", array); - } - json.put("compressionLevel", obj.getCompressionLevel()); - json.put("compressionSupported", obj.isCompressionSupported()); - json.put("decoderInitialBufferSize", obj.getDecoderInitialBufferSize()); - json.put("decompressionSupported", obj.isDecompressionSupported()); - json.put("handle100ContinueAutomatically", obj.isHandle100ContinueAutomatically()); - json.put("http2ConnectionWindowSize", obj.getHttp2ConnectionWindowSize()); - if (obj.getInitialSettings() != null) { - json.put("initialSettings", obj.getInitialSettings().toJson()); - } - json.put("maxChunkSize", obj.getMaxChunkSize()); - json.put("maxHeaderSize", obj.getMaxHeaderSize()); - json.put("maxInitialLineLength", obj.getMaxInitialLineLength()); - json.put("maxWebsocketFrameSize", obj.getMaxWebsocketFrameSize()); - json.put("maxWebsocketMessageSize", obj.getMaxWebsocketMessageSize()); - if (obj.getWebsocketSubProtocols() != null) { - json.put("websocketSubProtocols", obj.getWebsocketSubProtocols()); - } - } -} \ No newline at end of file diff --git a/src/main/generated/io/vertx/core/metrics/MetricsOptionsConverter.java b/src/main/generated/io/vertx/core/metrics/MetricsOptionsConverter.java deleted file mode 100644 index 01dbe0d3c..000000000 --- a/src/main/generated/io/vertx/core/metrics/MetricsOptionsConverter.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2014 Red Hat, Inc. - * - * Red Hat licenses this file to you 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 - * - * 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.vertx.core.metrics; - -import io.vertx.core.json.JsonObject; -import io.vertx.core.json.JsonArray; - -/** - * Converter for {@link io.vertx.core.metrics.MetricsOptions}. - * - * NOTE: This class has been automatically generated from the {@link io.vertx.core.metrics.MetricsOptions} original class using Vert.x codegen. - */ - class MetricsOptionsConverter { - - static void fromJson(JsonObject json, MetricsOptions obj) { - if (json.getValue("enabled") instanceof Boolean) { - obj.setEnabled((Boolean)json.getValue("enabled")); - } - } - - static void toJson(MetricsOptions obj, JsonObject json) { - json.put("enabled", obj.isEnabled()); - } -} \ No newline at end of file diff --git a/src/main/generated/io/vertx/core/net/ClientOptionsBaseConverter.java b/src/main/generated/io/vertx/core/net/ClientOptionsBaseConverter.java deleted file mode 100644 index b1c54958c..000000000 --- a/src/main/generated/io/vertx/core/net/ClientOptionsBaseConverter.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2014 Red Hat, Inc. - * - * Red Hat licenses this file to you 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 - * - * 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.vertx.core.net; - -import io.vertx.core.json.JsonObject; -import io.vertx.core.json.JsonArray; - -/** - * Converter for {@link io.vertx.core.net.ClientOptionsBase}. - * - * NOTE: This class has been automatically generated from the {@link io.vertx.core.net.ClientOptionsBase} original class using Vert.x codegen. - */ - class ClientOptionsBaseConverter { - - static void fromJson(JsonObject json, ClientOptionsBase obj) { - if (json.getValue("connectTimeout") instanceof Number) { - obj.setConnectTimeout(((Number)json.getValue("connectTimeout")).intValue()); - } - if (json.getValue("localAddress") instanceof String) { - obj.setLocalAddress((String)json.getValue("localAddress")); - } - if (json.getValue("metricsName") instanceof String) { - obj.setMetricsName((String)json.getValue("metricsName")); - } - if (json.getValue("proxyOptions") instanceof JsonObject) { - obj.setProxyOptions(new io.vertx.core.net.ProxyOptions((JsonObject)json.getValue("proxyOptions"))); - } - if (json.getValue("trustAll") instanceof Boolean) { - obj.setTrustAll((Boolean)json.getValue("trustAll")); - } - } - - static void toJson(ClientOptionsBase obj, JsonObject json) { - json.put("connectTimeout", obj.getConnectTimeout()); - if (obj.getLocalAddress() != null) { - json.put("localAddress", obj.getLocalAddress()); - } - if (obj.getMetricsName() != null) { - json.put("metricsName", obj.getMetricsName()); - } - if (obj.getProxyOptions() != null) { - json.put("proxyOptions", obj.getProxyOptions().toJson()); - } - json.put("trustAll", obj.isTrustAll()); - } -} \ No newline at end of file diff --git a/src/main/generated/io/vertx/core/net/JksOptionsConverter.java b/src/main/generated/io/vertx/core/net/JksOptionsConverter.java deleted file mode 100644 index 92a11aee8..000000000 --- a/src/main/generated/io/vertx/core/net/JksOptionsConverter.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright 2014 Red Hat, Inc. - * - * Red Hat licenses this file to you 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 - * - * 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.vertx.core.net; - -import io.vertx.core.json.JsonObject; -import io.vertx.core.json.JsonArray; - -/** - * Converter for {@link io.vertx.core.net.JksOptions}. - * - * NOTE: This class has been automatically generated from the {@link io.vertx.core.net.JksOptions} original class using Vert.x codegen. - */ -public class JksOptionsConverter { - - public static void fromJson(JsonObject json, JksOptions obj) { - if (json.getValue("password") instanceof String) { - obj.setPassword((String)json.getValue("password")); - } - if (json.getValue("path") instanceof String) { - obj.setPath((String)json.getValue("path")); - } - if (json.getValue("value") instanceof String) { - obj.setValue(io.vertx.core.buffer.Buffer.buffer(java.util.Base64.getDecoder().decode((String)json.getValue("value")))); - } - } - - public static void toJson(JksOptions obj, JsonObject json) { - if (obj.getPassword() != null) { - json.put("password", obj.getPassword()); - } - if (obj.getPath() != null) { - json.put("path", obj.getPath()); - } - if (obj.getValue() != null) { - json.put("value", obj.getValue().getBytes()); - } - } -} \ No newline at end of file diff --git a/src/main/generated/io/vertx/core/net/NetClientOptionsConverter.java b/src/main/generated/io/vertx/core/net/NetClientOptionsConverter.java deleted file mode 100644 index 2161d7007..000000000 --- a/src/main/generated/io/vertx/core/net/NetClientOptionsConverter.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2014 Red Hat, Inc. - * - * Red Hat licenses this file to you 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 - * - * 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.vertx.core.net; - -import io.vertx.core.json.JsonObject; -import io.vertx.core.json.JsonArray; - -/** - * Converter for {@link io.vertx.core.net.NetClientOptions}. - * - * NOTE: This class has been automatically generated from the {@link io.vertx.core.net.NetClientOptions} original class using Vert.x codegen. - */ - class NetClientOptionsConverter { - - static void fromJson(JsonObject json, NetClientOptions obj) { - if (json.getValue("hostnameVerificationAlgorithm") instanceof String) { - obj.setHostnameVerificationAlgorithm((String)json.getValue("hostnameVerificationAlgorithm")); - } - if (json.getValue("reconnectAttempts") instanceof Number) { - obj.setReconnectAttempts(((Number)json.getValue("reconnectAttempts")).intValue()); - } - if (json.getValue("reconnectInterval") instanceof Number) { - obj.setReconnectInterval(((Number)json.getValue("reconnectInterval")).longValue()); - } - } - - static void toJson(NetClientOptions obj, JsonObject json) { - if (obj.getHostnameVerificationAlgorithm() != null) { - json.put("hostnameVerificationAlgorithm", obj.getHostnameVerificationAlgorithm()); - } - json.put("reconnectAttempts", obj.getReconnectAttempts()); - json.put("reconnectInterval", obj.getReconnectInterval()); - } -} \ No newline at end of file diff --git a/src/main/generated/io/vertx/core/net/NetServerOptionsConverter.java b/src/main/generated/io/vertx/core/net/NetServerOptionsConverter.java deleted file mode 100644 index 52313f5d1..000000000 --- a/src/main/generated/io/vertx/core/net/NetServerOptionsConverter.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2014 Red Hat, Inc. - * - * Red Hat licenses this file to you 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 - * - * 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.vertx.core.net; - -import io.vertx.core.json.JsonObject; -import io.vertx.core.json.JsonArray; - -/** - * Converter for {@link io.vertx.core.net.NetServerOptions}. - * - * NOTE: This class has been automatically generated from the {@link io.vertx.core.net.NetServerOptions} original class using Vert.x codegen. - */ - class NetServerOptionsConverter { - - static void fromJson(JsonObject json, NetServerOptions obj) { - if (json.getValue("acceptBacklog") instanceof Number) { - obj.setAcceptBacklog(((Number)json.getValue("acceptBacklog")).intValue()); - } - if (json.getValue("clientAuth") instanceof String) { - obj.setClientAuth(io.vertx.core.http.ClientAuth.valueOf((String)json.getValue("clientAuth"))); - } - if (json.getValue("clientAuthRequired") instanceof Boolean) { - obj.setClientAuthRequired((Boolean)json.getValue("clientAuthRequired")); - } - if (json.getValue("host") instanceof String) { - obj.setHost((String)json.getValue("host")); - } - if (json.getValue("port") instanceof Number) { - obj.setPort(((Number)json.getValue("port")).intValue()); - } - if (json.getValue("sni") instanceof Boolean) { - obj.setSni((Boolean)json.getValue("sni")); - } - } - - static void toJson(NetServerOptions obj, JsonObject json) { - json.put("acceptBacklog", obj.getAcceptBacklog()); - if (obj.getClientAuth() != null) { - json.put("clientAuth", obj.getClientAuth().name()); - } - json.put("clientAuthRequired", obj.isClientAuthRequired()); - if (obj.getHost() != null) { - json.put("host", obj.getHost()); - } - json.put("port", obj.getPort()); - json.put("sni", obj.isSni()); - } -} \ No newline at end of file diff --git a/src/main/generated/io/vertx/core/net/NetworkOptionsConverter.java b/src/main/generated/io/vertx/core/net/NetworkOptionsConverter.java deleted file mode 100644 index b5b0f01bb..000000000 --- a/src/main/generated/io/vertx/core/net/NetworkOptionsConverter.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2014 Red Hat, Inc. - * - * Red Hat licenses this file to you 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 - * - * 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.vertx.core.net; - -import io.vertx.core.json.JsonObject; -import io.vertx.core.json.JsonArray; - -/** - * Converter for {@link io.vertx.core.net.NetworkOptions}. - * - * NOTE: This class has been automatically generated from the {@link io.vertx.core.net.NetworkOptions} original class using Vert.x codegen. - */ - class NetworkOptionsConverter { - - static void fromJson(JsonObject json, NetworkOptions obj) { - if (json.getValue("logActivity") instanceof Boolean) { - obj.setLogActivity((Boolean)json.getValue("logActivity")); - } - if (json.getValue("receiveBufferSize") instanceof Number) { - obj.setReceiveBufferSize(((Number)json.getValue("receiveBufferSize")).intValue()); - } - if (json.getValue("reuseAddress") instanceof Boolean) { - obj.setReuseAddress((Boolean)json.getValue("reuseAddress")); - } - if (json.getValue("reusePort") instanceof Boolean) { - obj.setReusePort((Boolean)json.getValue("reusePort")); - } - if (json.getValue("sendBufferSize") instanceof Number) { - obj.setSendBufferSize(((Number)json.getValue("sendBufferSize")).intValue()); - } - if (json.getValue("trafficClass") instanceof Number) { - obj.setTrafficClass(((Number)json.getValue("trafficClass")).intValue()); - } - } - - static void toJson(NetworkOptions obj, JsonObject json) { - json.put("logActivity", obj.getLogActivity()); - json.put("receiveBufferSize", obj.getReceiveBufferSize()); - json.put("reuseAddress", obj.isReuseAddress()); - json.put("reusePort", obj.isReusePort()); - json.put("sendBufferSize", obj.getSendBufferSize()); - json.put("trafficClass", obj.getTrafficClass()); - } -} \ No newline at end of file diff --git a/src/main/generated/io/vertx/core/net/OpenSSLEngineOptionsConverter.java b/src/main/generated/io/vertx/core/net/OpenSSLEngineOptionsConverter.java deleted file mode 100644 index d4c4583e5..000000000 --- a/src/main/generated/io/vertx/core/net/OpenSSLEngineOptionsConverter.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2014 Red Hat, Inc. - * - * Red Hat licenses this file to you 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 - * - * 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.vertx.core.net; - -import io.vertx.core.json.JsonObject; -import io.vertx.core.json.JsonArray; - -/** - * Converter for {@link io.vertx.core.net.OpenSSLEngineOptions}. - * - * NOTE: This class has been automatically generated from the {@link io.vertx.core.net.OpenSSLEngineOptions} original class using Vert.x codegen. - */ - class OpenSSLEngineOptionsConverter { - - static void fromJson(JsonObject json, OpenSSLEngineOptions obj) { - if (json.getValue("sessionCacheEnabled") instanceof Boolean) { - obj.setSessionCacheEnabled((Boolean)json.getValue("sessionCacheEnabled")); - } - } - - static void toJson(OpenSSLEngineOptions obj, JsonObject json) { - json.put("alpnAvailable", obj.isAlpnAvailable()); - json.put("available", obj.isAvailable()); - json.put("sessionCacheEnabled", obj.isSessionCacheEnabled()); - } -} \ No newline at end of file diff --git a/src/main/generated/io/vertx/core/net/PemKeyCertOptionsConverter.java b/src/main/generated/io/vertx/core/net/PemKeyCertOptionsConverter.java deleted file mode 100644 index 50096a336..000000000 --- a/src/main/generated/io/vertx/core/net/PemKeyCertOptionsConverter.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright 2014 Red Hat, Inc. - * - * Red Hat licenses this file to you 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 - * - * 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.vertx.core.net; - -import io.vertx.core.json.JsonObject; -import io.vertx.core.json.JsonArray; - -/** - * Converter for {@link io.vertx.core.net.PemKeyCertOptions}. - * - * NOTE: This class has been automatically generated from the {@link io.vertx.core.net.PemKeyCertOptions} original class using Vert.x codegen. - */ - class PemKeyCertOptionsConverter { - - static void fromJson(JsonObject json, PemKeyCertOptions obj) { - if (json.getValue("certPath") instanceof String) { - obj.setCertPath((String)json.getValue("certPath")); - } - if (json.getValue("certPaths") instanceof JsonArray) { - java.util.ArrayList list = new java.util.ArrayList<>(); - json.getJsonArray("certPaths").forEach( item -> { - if (item instanceof String) - list.add((String)item); - }); - obj.setCertPaths(list); - } - if (json.getValue("certValue") instanceof String) { - obj.setCertValue(io.vertx.core.buffer.Buffer.buffer(java.util.Base64.getDecoder().decode((String)json.getValue("certValue")))); - } - if (json.getValue("certValues") instanceof JsonArray) { - java.util.ArrayList list = new java.util.ArrayList<>(); - json.getJsonArray("certValues").forEach( item -> { - if (item instanceof String) - list.add(io.vertx.core.buffer.Buffer.buffer(java.util.Base64.getDecoder().decode((String)item))); - }); - obj.setCertValues(list); - } - if (json.getValue("keyPath") instanceof String) { - obj.setKeyPath((String)json.getValue("keyPath")); - } - if (json.getValue("keyPaths") instanceof JsonArray) { - java.util.ArrayList list = new java.util.ArrayList<>(); - json.getJsonArray("keyPaths").forEach( item -> { - if (item instanceof String) - list.add((String)item); - }); - obj.setKeyPaths(list); - } - if (json.getValue("keyValue") instanceof String) { - obj.setKeyValue(io.vertx.core.buffer.Buffer.buffer(java.util.Base64.getDecoder().decode((String)json.getValue("keyValue")))); - } - if (json.getValue("keyValues") instanceof JsonArray) { - java.util.ArrayList list = new java.util.ArrayList<>(); - json.getJsonArray("keyValues").forEach( item -> { - if (item instanceof String) - list.add(io.vertx.core.buffer.Buffer.buffer(java.util.Base64.getDecoder().decode((String)item))); - }); - obj.setKeyValues(list); - } - } - - static void toJson(PemKeyCertOptions obj, JsonObject json) { - if (obj.getCertPaths() != null) { - JsonArray array = new JsonArray(); - obj.getCertPaths().forEach(item -> array.add(item)); - json.put("certPaths", array); - } - if (obj.getCertValues() != null) { - JsonArray array = new JsonArray(); - obj.getCertValues().forEach(item -> array.add(item.getBytes())); - json.put("certValues", array); - } - if (obj.getKeyPaths() != null) { - JsonArray array = new JsonArray(); - obj.getKeyPaths().forEach(item -> array.add(item)); - json.put("keyPaths", array); - } - if (obj.getKeyValues() != null) { - JsonArray array = new JsonArray(); - obj.getKeyValues().forEach(item -> array.add(item.getBytes())); - json.put("keyValues", array); - } - } -} \ No newline at end of file diff --git a/src/main/generated/io/vertx/core/net/PemTrustOptionsConverter.java b/src/main/generated/io/vertx/core/net/PemTrustOptionsConverter.java deleted file mode 100644 index a600db59e..000000000 --- a/src/main/generated/io/vertx/core/net/PemTrustOptionsConverter.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2014 Red Hat, Inc. - * - * Red Hat licenses this file to you 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 - * - * 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.vertx.core.net; - -import io.vertx.core.json.JsonObject; -import io.vertx.core.json.JsonArray; - -/** - * Converter for {@link io.vertx.core.net.PemTrustOptions}. - * - * NOTE: This class has been automatically generated from the {@link io.vertx.core.net.PemTrustOptions} original class using Vert.x codegen. - */ - class PemTrustOptionsConverter { - - static void fromJson(JsonObject json, PemTrustOptions obj) { - if (json.getValue("certPaths") instanceof JsonArray) { - json.getJsonArray("certPaths").forEach(item -> { - if (item instanceof String) - obj.addCertPath((String)item); - }); - } - if (json.getValue("certValues") instanceof JsonArray) { - json.getJsonArray("certValues").forEach(item -> { - if (item instanceof String) - obj.addCertValue(io.vertx.core.buffer.Buffer.buffer(java.util.Base64.getDecoder().decode((String)item))); - }); - } - } - - static void toJson(PemTrustOptions obj, JsonObject json) { - if (obj.getCertPaths() != null) { - JsonArray array = new JsonArray(); - obj.getCertPaths().forEach(item -> array.add(item)); - json.put("certPaths", array); - } - if (obj.getCertValues() != null) { - JsonArray array = new JsonArray(); - obj.getCertValues().forEach(item -> array.add(item.getBytes())); - json.put("certValues", array); - } - } -} \ No newline at end of file diff --git a/src/main/generated/io/vertx/core/net/PfxOptionsConverter.java b/src/main/generated/io/vertx/core/net/PfxOptionsConverter.java deleted file mode 100644 index 8f6ca1044..000000000 --- a/src/main/generated/io/vertx/core/net/PfxOptionsConverter.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright 2014 Red Hat, Inc. - * - * Red Hat licenses this file to you 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 - * - * 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.vertx.core.net; - -import io.vertx.core.json.JsonObject; -import io.vertx.core.json.JsonArray; - -/** - * Converter for {@link io.vertx.core.net.PfxOptions}. - * - * NOTE: This class has been automatically generated from the {@link io.vertx.core.net.PfxOptions} original class using Vert.x codegen. - */ - class PfxOptionsConverter { - - static void fromJson(JsonObject json, PfxOptions obj) { - if (json.getValue("password") instanceof String) { - obj.setPassword((String)json.getValue("password")); - } - if (json.getValue("path") instanceof String) { - obj.setPath((String)json.getValue("path")); - } - if (json.getValue("value") instanceof String) { - obj.setValue(io.vertx.core.buffer.Buffer.buffer(java.util.Base64.getDecoder().decode((String)json.getValue("value")))); - } - } - - static void toJson(PfxOptions obj, JsonObject json) { - if (obj.getPassword() != null) { - json.put("password", obj.getPassword()); - } - if (obj.getPath() != null) { - json.put("path", obj.getPath()); - } - if (obj.getValue() != null) { - json.put("value", obj.getValue().getBytes()); - } - } -} \ No newline at end of file diff --git a/src/main/generated/io/vertx/core/net/ProxyOptionsConverter.java b/src/main/generated/io/vertx/core/net/ProxyOptionsConverter.java deleted file mode 100644 index bdbdcbeae..000000000 --- a/src/main/generated/io/vertx/core/net/ProxyOptionsConverter.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2014 Red Hat, Inc. - * - * Red Hat licenses this file to you 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 - * - * 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.vertx.core.net; - -import io.vertx.core.json.JsonObject; -import io.vertx.core.json.JsonArray; - -/** - * Converter for {@link io.vertx.core.net.ProxyOptions}. - * - * NOTE: This class has been automatically generated from the {@link io.vertx.core.net.ProxyOptions} original class using Vert.x codegen. - */ - class ProxyOptionsConverter { - - static void fromJson(JsonObject json, ProxyOptions obj) { - if (json.getValue("host") instanceof String) { - obj.setHost((String)json.getValue("host")); - } - if (json.getValue("password") instanceof String) { - obj.setPassword((String)json.getValue("password")); - } - if (json.getValue("port") instanceof Number) { - obj.setPort(((Number)json.getValue("port")).intValue()); - } - if (json.getValue("type") instanceof String) { - obj.setType(io.vertx.core.net.ProxyType.valueOf((String)json.getValue("type"))); - } - if (json.getValue("username") instanceof String) { - obj.setUsername((String)json.getValue("username")); - } - } - - static void toJson(ProxyOptions obj, JsonObject json) { - if (obj.getHost() != null) { - json.put("host", obj.getHost()); - } - if (obj.getPassword() != null) { - json.put("password", obj.getPassword()); - } - json.put("port", obj.getPort()); - if (obj.getType() != null) { - json.put("type", obj.getType().name()); - } - if (obj.getUsername() != null) { - json.put("username", obj.getUsername()); - } - } -} \ No newline at end of file diff --git a/src/main/generated/io/vertx/core/net/TCPSSLOptionsConverter.java b/src/main/generated/io/vertx/core/net/TCPSSLOptionsConverter.java deleted file mode 100644 index ce39d183b..000000000 --- a/src/main/generated/io/vertx/core/net/TCPSSLOptionsConverter.java +++ /dev/null @@ -1,166 +0,0 @@ -/* - * Copyright 2014 Red Hat, Inc. - * - * Red Hat licenses this file to you 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 - * - * 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.vertx.core.net; - -import io.vertx.core.json.JsonObject; -import io.vertx.core.json.JsonArray; - -/** - * Converter for {@link io.vertx.core.net.TCPSSLOptions}. - * - * NOTE: This class has been automatically generated from the {@link io.vertx.core.net.TCPSSLOptions} original class using Vert.x codegen. - */ - class TCPSSLOptionsConverter { - - static void fromJson(JsonObject json, TCPSSLOptions obj) { - if (json.getValue("crlPaths") instanceof JsonArray) { - json.getJsonArray("crlPaths").forEach(item -> { - if (item instanceof String) - obj.addCrlPath((String)item); - }); - } - if (json.getValue("crlValues") instanceof JsonArray) { - json.getJsonArray("crlValues").forEach(item -> { - if (item instanceof String) - obj.addCrlValue(io.vertx.core.buffer.Buffer.buffer(java.util.Base64.getDecoder().decode((String)item))); - }); - } - if (json.getValue("enabledCipherSuites") instanceof JsonArray) { - json.getJsonArray("enabledCipherSuites").forEach(item -> { - if (item instanceof String) - obj.addEnabledCipherSuite((String)item); - }); - } - if (json.getValue("enabledSecureTransportProtocols") instanceof JsonArray) { - json.getJsonArray("enabledSecureTransportProtocols").forEach(item -> { - if (item instanceof String) - obj.addEnabledSecureTransportProtocol((String)item); - }); - } - if (json.getValue("idleTimeout") instanceof Number) { - obj.setIdleTimeout(((Number)json.getValue("idleTimeout")).intValue()); - } - if (json.getValue("jdkSslEngineOptions") instanceof JsonObject) { - obj.setJdkSslEngineOptions(new io.vertx.core.net.JdkSSLEngineOptions((JsonObject)json.getValue("jdkSslEngineOptions"))); - } - if (json.getValue("keyStoreOptions") instanceof JsonObject) { - obj.setKeyStoreOptions(new io.vertx.core.net.JksOptions((JsonObject)json.getValue("keyStoreOptions"))); - } - if (json.getValue("openSslEngineOptions") instanceof JsonObject) { - obj.setOpenSslEngineOptions(new io.vertx.core.net.OpenSSLEngineOptions((JsonObject)json.getValue("openSslEngineOptions"))); - } - if (json.getValue("pemKeyCertOptions") instanceof JsonObject) { - obj.setPemKeyCertOptions(new io.vertx.core.net.PemKeyCertOptions((JsonObject)json.getValue("pemKeyCertOptions"))); - } - if (json.getValue("pemTrustOptions") instanceof JsonObject) { - obj.setPemTrustOptions(new io.vertx.core.net.PemTrustOptions((JsonObject)json.getValue("pemTrustOptions"))); - } - if (json.getValue("pfxKeyCertOptions") instanceof JsonObject) { - obj.setPfxKeyCertOptions(new io.vertx.core.net.PfxOptions((JsonObject)json.getValue("pfxKeyCertOptions"))); - } - if (json.getValue("pfxTrustOptions") instanceof JsonObject) { - obj.setPfxTrustOptions(new io.vertx.core.net.PfxOptions((JsonObject)json.getValue("pfxTrustOptions"))); - } - if (json.getValue("soLinger") instanceof Number) { - obj.setSoLinger(((Number)json.getValue("soLinger")).intValue()); - } - if (json.getValue("ssl") instanceof Boolean) { - obj.setSsl((Boolean)json.getValue("ssl")); - } - if (json.getValue("tcpCork") instanceof Boolean) { - obj.setTcpCork((Boolean)json.getValue("tcpCork")); - } - if (json.getValue("tcpFastOpen") instanceof Boolean) { - obj.setTcpFastOpen((Boolean)json.getValue("tcpFastOpen")); - } - if (json.getValue("tcpKeepAlive") instanceof Boolean) { - obj.setTcpKeepAlive((Boolean)json.getValue("tcpKeepAlive")); - } - if (json.getValue("tcpNoDelay") instanceof Boolean) { - obj.setTcpNoDelay((Boolean)json.getValue("tcpNoDelay")); - } - if (json.getValue("tcpQuickAck") instanceof Boolean) { - obj.setTcpQuickAck((Boolean)json.getValue("tcpQuickAck")); - } - if (json.getValue("trustStoreOptions") instanceof JsonObject) { - obj.setTrustStoreOptions(new io.vertx.core.net.JksOptions((JsonObject)json.getValue("trustStoreOptions"))); - } - if (json.getValue("useAlpn") instanceof Boolean) { - obj.setUseAlpn((Boolean)json.getValue("useAlpn")); - } - if (json.getValue("usePooledBuffers") instanceof Boolean) { - obj.setUsePooledBuffers((Boolean)json.getValue("usePooledBuffers")); - } - } - - static void toJson(TCPSSLOptions obj, JsonObject json) { - if (obj.getCrlPaths() != null) { - JsonArray array = new JsonArray(); - obj.getCrlPaths().forEach(item -> array.add(item)); - json.put("crlPaths", array); - } - if (obj.getCrlValues() != null) { - JsonArray array = new JsonArray(); - obj.getCrlValues().forEach(item -> array.add(item.getBytes())); - json.put("crlValues", array); - } - if (obj.getEnabledCipherSuites() != null) { - JsonArray array = new JsonArray(); - obj.getEnabledCipherSuites().forEach(item -> array.add(item)); - json.put("enabledCipherSuites", array); - } - if (obj.getEnabledSecureTransportProtocols() != null) { - JsonArray array = new JsonArray(); - obj.getEnabledSecureTransportProtocols().forEach(item -> array.add(item)); - json.put("enabledSecureTransportProtocols", array); - } - json.put("idleTimeout", obj.getIdleTimeout()); - if (obj.getJdkSslEngineOptions() != null) { - json.put("jdkSslEngineOptions", obj.getJdkSslEngineOptions().toJson()); - } - if (obj.getKeyStoreOptions() != null) { - json.put("keyStoreOptions", obj.getKeyStoreOptions().toJson()); - } - if (obj.getOpenSslEngineOptions() != null) { - json.put("openSslEngineOptions", obj.getOpenSslEngineOptions().toJson()); - } - if (obj.getPemKeyCertOptions() != null) { - json.put("pemKeyCertOptions", obj.getPemKeyCertOptions().toJson()); - } - if (obj.getPemTrustOptions() != null) { - json.put("pemTrustOptions", obj.getPemTrustOptions().toJson()); - } - if (obj.getPfxKeyCertOptions() != null) { - json.put("pfxKeyCertOptions", obj.getPfxKeyCertOptions().toJson()); - } - if (obj.getPfxTrustOptions() != null) { - json.put("pfxTrustOptions", obj.getPfxTrustOptions().toJson()); - } - json.put("soLinger", obj.getSoLinger()); - json.put("ssl", obj.isSsl()); - json.put("tcpCork", obj.isTcpCork()); - json.put("tcpFastOpen", obj.isTcpFastOpen()); - json.put("tcpKeepAlive", obj.isTcpKeepAlive()); - json.put("tcpNoDelay", obj.isTcpNoDelay()); - json.put("tcpQuickAck", obj.isTcpQuickAck()); - if (obj.getTrustStoreOptions() != null) { - json.put("trustStoreOptions", obj.getTrustStoreOptions().toJson()); - } - json.put("useAlpn", obj.isUseAlpn()); - json.put("usePooledBuffers", obj.isUsePooledBuffers()); - } -} \ No newline at end of file diff --git a/src/main/java/docoverride/buffer/Examples.java b/src/main/java/docoverride/buffer/Examples.java index 94434cd77..91172a5a2 100644 --- a/src/main/java/docoverride/buffer/Examples.java +++ b/src/main/java/docoverride/buffer/Examples.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package docoverride.buffer; diff --git a/src/main/java/docoverride/buffer/package-info.java b/src/main/java/docoverride/buffer/package-info.java index 5f659e4fc..0b960a6f0 100644 --- a/src/main/java/docoverride/buffer/package-info.java +++ b/src/main/java/docoverride/buffer/package-info.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ /** diff --git a/src/main/java/docoverride/dependencies/package-info.java b/src/main/java/docoverride/dependencies/package-info.java index d173e5f39..1e247c576 100644 --- a/src/main/java/docoverride/dependencies/package-info.java +++ b/src/main/java/docoverride/dependencies/package-info.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ /** @@ -41,4 +36,4 @@ @Document(fileName = "override/dependencies.adoc") package docoverride.dependencies; -import io.vertx.docgen.Document; \ No newline at end of file +import io.vertx.docgen.Document; diff --git a/src/main/java/docoverride/dns/Examples.java b/src/main/java/docoverride/dns/Examples.java index c6a1994a1..b8ae1d363 100644 --- a/src/main/java/docoverride/dns/Examples.java +++ b/src/main/java/docoverride/dns/Examples.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package docoverride.dns; diff --git a/src/main/java/docoverride/dns/package-info.java b/src/main/java/docoverride/dns/package-info.java index b1de1a7da..108c3f4b6 100644 --- a/src/main/java/docoverride/dns/package-info.java +++ b/src/main/java/docoverride/dns/package-info.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ /** @@ -51,4 +46,4 @@ @Document(fileName = "override/dns.adoc") package docoverride.dns; -import io.vertx.docgen.Document; \ No newline at end of file +import io.vertx.docgen.Document; diff --git a/src/main/java/docoverride/eventbus/Examples.java b/src/main/java/docoverride/eventbus/Examples.java index 1fa0b816d..8a3a7832e 100644 --- a/src/main/java/docoverride/eventbus/Examples.java +++ b/src/main/java/docoverride/eventbus/Examples.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package docoverride.eventbus; diff --git a/src/main/java/docoverride/eventbus/headers/package-info.java b/src/main/java/docoverride/eventbus/headers/package-info.java index 0cf32ab9f..fbc014026 100644 --- a/src/main/java/docoverride/eventbus/headers/package-info.java +++ b/src/main/java/docoverride/eventbus/headers/package-info.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + /** * ==== Setting headers on messages * @@ -27,4 +23,4 @@ @Document(fileName = "override/eventbus_headers.adoc") package docoverride.eventbus.headers; -import io.vertx.docgen.Document; \ No newline at end of file +import io.vertx.docgen.Document; diff --git a/src/main/java/docoverride/eventbus/package-info.java b/src/main/java/docoverride/eventbus/package-info.java index ece3a0fad..f918ed4b0 100644 --- a/src/main/java/docoverride/eventbus/package-info.java +++ b/src/main/java/docoverride/eventbus/package-info.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ /** @@ -43,4 +38,4 @@ @Document(fileName = "override/eventbus.adoc") package docoverride.eventbus; -import io.vertx.docgen.Document; \ No newline at end of file +import io.vertx.docgen.Document; diff --git a/src/main/java/docoverride/json/Examples.java b/src/main/java/docoverride/json/Examples.java index c497eb8cd..bc2b6357b 100644 --- a/src/main/java/docoverride/json/Examples.java +++ b/src/main/java/docoverride/json/Examples.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package docoverride.json; diff --git a/src/main/java/docoverride/json/package-info.java b/src/main/java/docoverride/json/package-info.java index 28daae952..afd333e8a 100644 --- a/src/main/java/docoverride/json/package-info.java +++ b/src/main/java/docoverride/json/package-info.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ /** diff --git a/src/main/java/docoverride/verticles/configuration/package-info.java b/src/main/java/docoverride/verticles/configuration/package-info.java index b0a37d009..c53601a33 100644 --- a/src/main/java/docoverride/verticles/configuration/package-info.java +++ b/src/main/java/docoverride/verticles/configuration/package-info.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ /** @@ -46,4 +41,4 @@ @Document(fileName = "override/verticle-configuration.adoc") package docoverride.verticles.configuration; -import io.vertx.docgen.Document; \ No newline at end of file +import io.vertx.docgen.Document; diff --git a/src/main/java/docoverride/verticles/package-info.java b/src/main/java/docoverride/verticles/package-info.java index 029a3107d..6acf21f7d 100644 --- a/src/main/java/docoverride/verticles/package-info.java +++ b/src/main/java/docoverride/verticles/package-info.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ /** diff --git a/src/main/java/examples/BufferExamples.java b/src/main/java/examples/BufferExamples.java index adf4e7503..5f6892957 100644 --- a/src/main/java/examples/BufferExamples.java +++ b/src/main/java/examples/BufferExamples.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package examples; diff --git a/src/main/java/examples/ConfigurableVerticleExamples.java b/src/main/java/examples/ConfigurableVerticleExamples.java index 34ecd282a..653b4a542 100644 --- a/src/main/java/examples/ConfigurableVerticleExamples.java +++ b/src/main/java/examples/ConfigurableVerticleExamples.java @@ -1,3 +1,14 @@ +/* + * Copyright 2011-2017 Contributors to the Eclipse Foundation + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 + */ + package examples; import io.vertx.core.AbstractVerticle; diff --git a/src/main/java/examples/CoreExamples.java b/src/main/java/examples/CoreExamples.java index 1efd991b7..cdcf0751d 100644 --- a/src/main/java/examples/CoreExamples.java +++ b/src/main/java/examples/CoreExamples.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package examples; diff --git a/src/main/java/examples/DNSExamples.java b/src/main/java/examples/DNSExamples.java index 88c4c3f83..7963bdaa2 100644 --- a/src/main/java/examples/DNSExamples.java +++ b/src/main/java/examples/DNSExamples.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package examples; diff --git a/src/main/java/examples/DatagramExamples.java b/src/main/java/examples/DatagramExamples.java index 3cbe810e0..1e9772b4c 100644 --- a/src/main/java/examples/DatagramExamples.java +++ b/src/main/java/examples/DatagramExamples.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package examples; diff --git a/src/main/java/examples/EventBusExamples.java b/src/main/java/examples/EventBusExamples.java index 93844fff8..ba9dd70f4 100644 --- a/src/main/java/examples/EventBusExamples.java +++ b/src/main/java/examples/EventBusExamples.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package examples; diff --git a/src/main/java/examples/FileSystemExamples.java b/src/main/java/examples/FileSystemExamples.java index 2517f3718..483d28e79 100644 --- a/src/main/java/examples/FileSystemExamples.java +++ b/src/main/java/examples/FileSystemExamples.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package examples; diff --git a/src/main/java/examples/HTTP2Examples.java b/src/main/java/examples/HTTP2Examples.java index d4cd55fd7..0161cd060 100644 --- a/src/main/java/examples/HTTP2Examples.java +++ b/src/main/java/examples/HTTP2Examples.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package examples; diff --git a/src/main/java/examples/HTTPExamples.java b/src/main/java/examples/HTTPExamples.java index 220dd8f95..0c7dfe1db 100644 --- a/src/main/java/examples/HTTPExamples.java +++ b/src/main/java/examples/HTTPExamples.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package examples; diff --git a/src/main/java/examples/NetExamples.java b/src/main/java/examples/NetExamples.java index fc51d351d..5ef329361 100644 --- a/src/main/java/examples/NetExamples.java +++ b/src/main/java/examples/NetExamples.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package examples; diff --git a/src/main/java/examples/ParseToolsExamples.java b/src/main/java/examples/ParseToolsExamples.java index b7498e001..a62876394 100644 --- a/src/main/java/examples/ParseToolsExamples.java +++ b/src/main/java/examples/ParseToolsExamples.java @@ -1,3 +1,14 @@ +/* + * Copyright 2011-2017 Contributors to the Eclipse Foundation + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 + */ + package examples; import io.vertx.core.buffer.Buffer; diff --git a/src/main/java/examples/SharedDataExamples.java b/src/main/java/examples/SharedDataExamples.java index 41b424978..341d41506 100644 --- a/src/main/java/examples/SharedDataExamples.java +++ b/src/main/java/examples/SharedDataExamples.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package examples; diff --git a/src/main/java/examples/StreamsExamples.java b/src/main/java/examples/StreamsExamples.java index 72d3e05be..f1ad8e8cc 100644 --- a/src/main/java/examples/StreamsExamples.java +++ b/src/main/java/examples/StreamsExamples.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package examples; diff --git a/src/main/java/examples/cli/AnnotatedCli.java b/src/main/java/examples/cli/AnnotatedCli.java index 1b82597be..cd5a22b4e 100644 --- a/src/main/java/examples/cli/AnnotatedCli.java +++ b/src/main/java/examples/cli/AnnotatedCli.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package examples.cli; diff --git a/src/main/java/examples/cli/CLIExamples.java b/src/main/java/examples/cli/CLIExamples.java index 3aabd20b3..04492f516 100644 --- a/src/main/java/examples/cli/CLIExamples.java +++ b/src/main/java/examples/cli/CLIExamples.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package examples.cli; diff --git a/src/main/java/examples/cli/MyCommand.java b/src/main/java/examples/cli/MyCommand.java index 829060f19..a4e019d4c 100644 --- a/src/main/java/examples/cli/MyCommand.java +++ b/src/main/java/examples/cli/MyCommand.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package examples.cli; diff --git a/src/main/java/examples/cli/TypedCLIExamples.java b/src/main/java/examples/cli/TypedCLIExamples.java index e729394c2..f934e132f 100644 --- a/src/main/java/examples/cli/TypedCLIExamples.java +++ b/src/main/java/examples/cli/TypedCLIExamples.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package examples.cli; diff --git a/src/main/java/examples/cli/package-info.java b/src/main/java/examples/cli/package-info.java index 83faba3c4..5572b2b29 100644 --- a/src/main/java/examples/cli/package-info.java +++ b/src/main/java/examples/cli/package-info.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ /** @@ -20,4 +15,4 @@ @Source package examples.cli; -import io.vertx.docgen.Source; \ No newline at end of file +import io.vertx.docgen.Source; diff --git a/src/main/java/examples/package-info.java b/src/main/java/examples/package-info.java index c64d5cbc8..77e17bdad 100644 --- a/src/main/java/examples/package-info.java +++ b/src/main/java/examples/package-info.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ /** @@ -20,4 +15,4 @@ @Source package examples; -import io.vertx.docgen.Source; \ No newline at end of file +import io.vertx.docgen.Source; diff --git a/src/main/java/io/vertx/core/AbstractVerticle.java b/src/main/java/io/vertx/core/AbstractVerticle.java index 03b092103..0f137d8f1 100644 --- a/src/main/java/io/vertx/core/AbstractVerticle.java +++ b/src/main/java/io/vertx/core/AbstractVerticle.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core; diff --git a/src/main/java/io/vertx/core/AsyncResult.java b/src/main/java/io/vertx/core/AsyncResult.java index 3a27cfe31..7dd47cd5f 100644 --- a/src/main/java/io/vertx/core/AsyncResult.java +++ b/src/main/java/io/vertx/core/AsyncResult.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core; diff --git a/src/main/java/io/vertx/core/Closeable.java b/src/main/java/io/vertx/core/Closeable.java index b1a2784e8..aa07c71ae 100644 --- a/src/main/java/io/vertx/core/Closeable.java +++ b/src/main/java/io/vertx/core/Closeable.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core; diff --git a/src/main/java/io/vertx/core/CompositeFuture.java b/src/main/java/io/vertx/core/CompositeFuture.java index c59fb6965..2fb87ab67 100644 --- a/src/main/java/io/vertx/core/CompositeFuture.java +++ b/src/main/java/io/vertx/core/CompositeFuture.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core; diff --git a/src/main/java/io/vertx/core/Context.java b/src/main/java/io/vertx/core/Context.java index e7cbd70d2..0c0ca21b2 100644 --- a/src/main/java/io/vertx/core/Context.java +++ b/src/main/java/io/vertx/core/Context.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core; diff --git a/src/main/java/io/vertx/core/DeploymentOptions.java b/src/main/java/io/vertx/core/DeploymentOptions.java index 4c8891984..b4d639632 100644 --- a/src/main/java/io/vertx/core/DeploymentOptions.java +++ b/src/main/java/io/vertx/core/DeploymentOptions.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core; diff --git a/src/main/java/io/vertx/core/Future.java b/src/main/java/io/vertx/core/Future.java index 8f0601f7f..85cb0ebe6 100644 --- a/src/main/java/io/vertx/core/Future.java +++ b/src/main/java/io/vertx/core/Future.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core; diff --git a/src/main/java/io/vertx/core/Handler.java b/src/main/java/io/vertx/core/Handler.java index 773175f83..b6e453ca7 100644 --- a/src/main/java/io/vertx/core/Handler.java +++ b/src/main/java/io/vertx/core/Handler.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core; diff --git a/src/main/java/io/vertx/core/Launcher.java b/src/main/java/io/vertx/core/Launcher.java index cb606d0a2..9f47bce28 100644 --- a/src/main/java/io/vertx/core/Launcher.java +++ b/src/main/java/io/vertx/core/Launcher.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core; import io.vertx.core.impl.launcher.VertxCommandLauncher; diff --git a/src/main/java/io/vertx/core/MultiMap.java b/src/main/java/io/vertx/core/MultiMap.java index e4e852358..e1fd448ea 100644 --- a/src/main/java/io/vertx/core/MultiMap.java +++ b/src/main/java/io/vertx/core/MultiMap.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core; diff --git a/src/main/java/io/vertx/core/ServiceHelper.java b/src/main/java/io/vertx/core/ServiceHelper.java index 0c6c82299..ec8faed36 100644 --- a/src/main/java/io/vertx/core/ServiceHelper.java +++ b/src/main/java/io/vertx/core/ServiceHelper.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core; diff --git a/src/main/java/io/vertx/core/Starter.java b/src/main/java/io/vertx/core/Starter.java index 951e91b83..43b0acd0b 100644 --- a/src/main/java/io/vertx/core/Starter.java +++ b/src/main/java/io/vertx/core/Starter.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core; @@ -157,21 +152,21 @@ public class Starter { * Hook for sub classes of {@link Starter} before the vertx instance is started. */ protected void beforeStartingVertx(VertxOptions options) { - + } - + /** * Hook for sub classes of {@link Starter} after the vertx instance is started. */ protected void afterStartingVertx() { - + } - + /** * Hook for sub classes of {@link Starter} before the verticle is deployed. */ protected void beforeDeployingVerticle(DeploymentOptions deploymentOptions) { - + } /** @@ -182,7 +177,7 @@ public class Starter { // Default behaviour is to close Vert.x if the deploy failed vertx.close(); } - + private Vertx startVertx(boolean clustered, boolean ha, Args args) { MetricsOptions metricsOptions; diff --git a/src/main/java/io/vertx/core/TimeoutStream.java b/src/main/java/io/vertx/core/TimeoutStream.java index 4f12fc84a..8b2f5ffbd 100644 --- a/src/main/java/io/vertx/core/TimeoutStream.java +++ b/src/main/java/io/vertx/core/TimeoutStream.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core; diff --git a/src/main/java/io/vertx/core/Verticle.java b/src/main/java/io/vertx/core/Verticle.java index 49949ff47..173f3e044 100644 --- a/src/main/java/io/vertx/core/Verticle.java +++ b/src/main/java/io/vertx/core/Verticle.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core; diff --git a/src/main/java/io/vertx/core/Vertx.java b/src/main/java/io/vertx/core/Vertx.java index 7afc0d296..40ee96977 100644 --- a/src/main/java/io/vertx/core/Vertx.java +++ b/src/main/java/io/vertx/core/Vertx.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core; diff --git a/src/main/java/io/vertx/core/VertxException.java b/src/main/java/io/vertx/core/VertxException.java index 667403c37..41c2989bd 100644 --- a/src/main/java/io/vertx/core/VertxException.java +++ b/src/main/java/io/vertx/core/VertxException.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core; diff --git a/src/main/java/io/vertx/core/VertxOptions.java b/src/main/java/io/vertx/core/VertxOptions.java index 1ae222444..dacd46134 100644 --- a/src/main/java/io/vertx/core/VertxOptions.java +++ b/src/main/java/io/vertx/core/VertxOptions.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core; diff --git a/src/main/java/io/vertx/core/WorkerExecutor.java b/src/main/java/io/vertx/core/WorkerExecutor.java index f6ca3e85a..738f3b535 100644 --- a/src/main/java/io/vertx/core/WorkerExecutor.java +++ b/src/main/java/io/vertx/core/WorkerExecutor.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core; diff --git a/src/main/java/io/vertx/core/buffer/Buffer.java b/src/main/java/io/vertx/core/buffer/Buffer.java index 43d3032e0..ec169acba 100644 --- a/src/main/java/io/vertx/core/buffer/Buffer.java +++ b/src/main/java/io/vertx/core/buffer/Buffer.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.buffer; diff --git a/src/main/java/io/vertx/core/buffer/impl/BufferFactoryImpl.java b/src/main/java/io/vertx/core/buffer/impl/BufferFactoryImpl.java index 03cf5d615..be75ec1ca 100644 --- a/src/main/java/io/vertx/core/buffer/impl/BufferFactoryImpl.java +++ b/src/main/java/io/vertx/core/buffer/impl/BufferFactoryImpl.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.buffer.impl; diff --git a/src/main/java/io/vertx/core/buffer/impl/BufferImpl.java b/src/main/java/io/vertx/core/buffer/impl/BufferImpl.java index 584502900..811c375c4 100644 --- a/src/main/java/io/vertx/core/buffer/impl/BufferImpl.java +++ b/src/main/java/io/vertx/core/buffer/impl/BufferImpl.java @@ -1,18 +1,14 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.buffer.impl; diff --git a/src/main/java/io/vertx/core/buffer/package-info.java b/src/main/java/io/vertx/core/buffer/package-info.java index cc77f6285..9b9d0e917 100644 --- a/src/main/java/io/vertx/core/buffer/package-info.java +++ b/src/main/java/io/vertx/core/buffer/package-info.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ /** diff --git a/src/main/java/io/vertx/core/cli/AmbiguousOptionException.java b/src/main/java/io/vertx/core/cli/AmbiguousOptionException.java index 956598462..e88262c9b 100644 --- a/src/main/java/io/vertx/core/cli/AmbiguousOptionException.java +++ b/src/main/java/io/vertx/core/cli/AmbiguousOptionException.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.cli; diff --git a/src/main/java/io/vertx/core/cli/Argument.java b/src/main/java/io/vertx/core/cli/Argument.java index ff4bc2509..6ac395041 100644 --- a/src/main/java/io/vertx/core/cli/Argument.java +++ b/src/main/java/io/vertx/core/cli/Argument.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.cli; diff --git a/src/main/java/io/vertx/core/cli/CLI.java b/src/main/java/io/vertx/core/cli/CLI.java index 7c19aa63a..8a2a00208 100644 --- a/src/main/java/io/vertx/core/cli/CLI.java +++ b/src/main/java/io/vertx/core/cli/CLI.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.cli; diff --git a/src/main/java/io/vertx/core/cli/CLIException.java b/src/main/java/io/vertx/core/cli/CLIException.java index 7fa02b6a6..41cbda451 100644 --- a/src/main/java/io/vertx/core/cli/CLIException.java +++ b/src/main/java/io/vertx/core/cli/CLIException.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.cli; /** diff --git a/src/main/java/io/vertx/core/cli/CommandLine.java b/src/main/java/io/vertx/core/cli/CommandLine.java index d7305e5fa..9ee421903 100644 --- a/src/main/java/io/vertx/core/cli/CommandLine.java +++ b/src/main/java/io/vertx/core/cli/CommandLine.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.cli; diff --git a/src/main/java/io/vertx/core/cli/InvalidValueException.java b/src/main/java/io/vertx/core/cli/InvalidValueException.java index 83c3e7592..15ed83f8c 100644 --- a/src/main/java/io/vertx/core/cli/InvalidValueException.java +++ b/src/main/java/io/vertx/core/cli/InvalidValueException.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.cli; /** diff --git a/src/main/java/io/vertx/core/cli/MissingOptionException.java b/src/main/java/io/vertx/core/cli/MissingOptionException.java index faa52c968..db7dcfc84 100644 --- a/src/main/java/io/vertx/core/cli/MissingOptionException.java +++ b/src/main/java/io/vertx/core/cli/MissingOptionException.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.cli; import java.util.Collection; diff --git a/src/main/java/io/vertx/core/cli/MissingValueException.java b/src/main/java/io/vertx/core/cli/MissingValueException.java index 95d4b1ec4..3bb062d3c 100644 --- a/src/main/java/io/vertx/core/cli/MissingValueException.java +++ b/src/main/java/io/vertx/core/cli/MissingValueException.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.cli; /** diff --git a/src/main/java/io/vertx/core/cli/Option.java b/src/main/java/io/vertx/core/cli/Option.java index 9e681002d..d23bc249d 100644 --- a/src/main/java/io/vertx/core/cli/Option.java +++ b/src/main/java/io/vertx/core/cli/Option.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.cli; diff --git a/src/main/java/io/vertx/core/cli/TypedArgument.java b/src/main/java/io/vertx/core/cli/TypedArgument.java index 14912734d..4f633cb62 100644 --- a/src/main/java/io/vertx/core/cli/TypedArgument.java +++ b/src/main/java/io/vertx/core/cli/TypedArgument.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.cli; diff --git a/src/main/java/io/vertx/core/cli/TypedOption.java b/src/main/java/io/vertx/core/cli/TypedOption.java index 2794b29b8..72387a567 100644 --- a/src/main/java/io/vertx/core/cli/TypedOption.java +++ b/src/main/java/io/vertx/core/cli/TypedOption.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.cli; diff --git a/src/main/java/io/vertx/core/cli/UsageMessageFormatter.java b/src/main/java/io/vertx/core/cli/UsageMessageFormatter.java index 914978e98..419a5dca4 100644 --- a/src/main/java/io/vertx/core/cli/UsageMessageFormatter.java +++ b/src/main/java/io/vertx/core/cli/UsageMessageFormatter.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.cli; import java.io.BufferedReader; diff --git a/src/main/java/io/vertx/core/cli/annotations/Argument.java b/src/main/java/io/vertx/core/cli/annotations/Argument.java index 4ca3acf78..315047020 100644 --- a/src/main/java/io/vertx/core/cli/annotations/Argument.java +++ b/src/main/java/io/vertx/core/cli/annotations/Argument.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.cli.annotations; import java.lang.annotation.ElementType; diff --git a/src/main/java/io/vertx/core/cli/annotations/CLIConfigurator.java b/src/main/java/io/vertx/core/cli/annotations/CLIConfigurator.java index 87f9411a9..94606131a 100644 --- a/src/main/java/io/vertx/core/cli/annotations/CLIConfigurator.java +++ b/src/main/java/io/vertx/core/cli/annotations/CLIConfigurator.java @@ -1,20 +1,15 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ -package io.vertx.core.cli.annotations; +package io.vertx.core.cli.annotations; import io.vertx.core.cli.*; import io.vertx.core.cli.impl.DefaultCLI; diff --git a/src/main/java/io/vertx/core/cli/annotations/ConvertedBy.java b/src/main/java/io/vertx/core/cli/annotations/ConvertedBy.java index 9932be2c8..893cf0cde 100644 --- a/src/main/java/io/vertx/core/cli/annotations/ConvertedBy.java +++ b/src/main/java/io/vertx/core/cli/annotations/ConvertedBy.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.cli.annotations; import io.vertx.core.cli.converters.Converter; diff --git a/src/main/java/io/vertx/core/cli/annotations/DefaultValue.java b/src/main/java/io/vertx/core/cli/annotations/DefaultValue.java index 364d4c108..3ff571187 100644 --- a/src/main/java/io/vertx/core/cli/annotations/DefaultValue.java +++ b/src/main/java/io/vertx/core/cli/annotations/DefaultValue.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.cli.annotations; import io.vertx.core.cli.converters.Converter; diff --git a/src/main/java/io/vertx/core/cli/annotations/Description.java b/src/main/java/io/vertx/core/cli/annotations/Description.java index 0f5576b4d..e79c7c52c 100644 --- a/src/main/java/io/vertx/core/cli/annotations/Description.java +++ b/src/main/java/io/vertx/core/cli/annotations/Description.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.cli.annotations; import java.lang.annotation.ElementType; diff --git a/src/main/java/io/vertx/core/cli/annotations/Hidden.java b/src/main/java/io/vertx/core/cli/annotations/Hidden.java index 112a810c5..d7412bc8c 100644 --- a/src/main/java/io/vertx/core/cli/annotations/Hidden.java +++ b/src/main/java/io/vertx/core/cli/annotations/Hidden.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.cli.annotations; import java.lang.annotation.ElementType; diff --git a/src/main/java/io/vertx/core/cli/annotations/Name.java b/src/main/java/io/vertx/core/cli/annotations/Name.java index fc1222af9..3ad364093 100644 --- a/src/main/java/io/vertx/core/cli/annotations/Name.java +++ b/src/main/java/io/vertx/core/cli/annotations/Name.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.cli.annotations; import io.vertx.core.cli.CLI; @@ -36,4 +32,4 @@ public @interface Name { */ String value(); -} \ No newline at end of file +} diff --git a/src/main/java/io/vertx/core/cli/annotations/Option.java b/src/main/java/io/vertx/core/cli/annotations/Option.java index c4a01afe9..0ffc71fe8 100644 --- a/src/main/java/io/vertx/core/cli/annotations/Option.java +++ b/src/main/java/io/vertx/core/cli/annotations/Option.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.cli.annotations; import java.lang.annotation.ElementType; diff --git a/src/main/java/io/vertx/core/cli/annotations/ParsedAsList.java b/src/main/java/io/vertx/core/cli/annotations/ParsedAsList.java index 11457fec8..17a5d4777 100644 --- a/src/main/java/io/vertx/core/cli/annotations/ParsedAsList.java +++ b/src/main/java/io/vertx/core/cli/annotations/ParsedAsList.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.cli.annotations; import java.lang.annotation.ElementType; diff --git a/src/main/java/io/vertx/core/cli/annotations/Summary.java b/src/main/java/io/vertx/core/cli/annotations/Summary.java index d48e679c6..0198cb903 100644 --- a/src/main/java/io/vertx/core/cli/annotations/Summary.java +++ b/src/main/java/io/vertx/core/cli/annotations/Summary.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.cli.annotations; import java.lang.annotation.ElementType; @@ -35,4 +31,4 @@ public @interface Summary { */ String value(); -} \ No newline at end of file +} diff --git a/src/main/java/io/vertx/core/cli/annotations/package-info.java b/src/main/java/io/vertx/core/cli/annotations/package-info.java index 769972e39..30a07a923 100644 --- a/src/main/java/io/vertx/core/cli/annotations/package-info.java +++ b/src/main/java/io/vertx/core/cli/annotations/package-info.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ /** @@ -101,4 +96,4 @@ @Document(fileName = "cli-for-java.adoc") package io.vertx.core.cli.annotations; -import io.vertx.docgen.Document; \ No newline at end of file +import io.vertx.docgen.Document; diff --git a/src/main/java/io/vertx/core/cli/converters/BooleanConverter.java b/src/main/java/io/vertx/core/cli/converters/BooleanConverter.java index 632a7ff60..a39759ebf 100644 --- a/src/main/java/io/vertx/core/cli/converters/BooleanConverter.java +++ b/src/main/java/io/vertx/core/cli/converters/BooleanConverter.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.cli.converters; import java.util.Arrays; diff --git a/src/main/java/io/vertx/core/cli/converters/CharacterConverter.java b/src/main/java/io/vertx/core/cli/converters/CharacterConverter.java index 332a61d1b..a51fc53cf 100644 --- a/src/main/java/io/vertx/core/cli/converters/CharacterConverter.java +++ b/src/main/java/io/vertx/core/cli/converters/CharacterConverter.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.cli.converters; diff --git a/src/main/java/io/vertx/core/cli/converters/ConstructorBasedConverter.java b/src/main/java/io/vertx/core/cli/converters/ConstructorBasedConverter.java index cf1928a89..651f50780 100644 --- a/src/main/java/io/vertx/core/cli/converters/ConstructorBasedConverter.java +++ b/src/main/java/io/vertx/core/cli/converters/ConstructorBasedConverter.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.cli.converters; import java.lang.reflect.Constructor; diff --git a/src/main/java/io/vertx/core/cli/converters/Converter.java b/src/main/java/io/vertx/core/cli/converters/Converter.java index 04a6695bf..6363f7ac0 100644 --- a/src/main/java/io/vertx/core/cli/converters/Converter.java +++ b/src/main/java/io/vertx/core/cli/converters/Converter.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.cli.converters; /** diff --git a/src/main/java/io/vertx/core/cli/converters/Converters.java b/src/main/java/io/vertx/core/cli/converters/Converters.java index 92f6bb41e..5b9824a43 100644 --- a/src/main/java/io/vertx/core/cli/converters/Converters.java +++ b/src/main/java/io/vertx/core/cli/converters/Converters.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.cli.converters; import java.util.Collections; diff --git a/src/main/java/io/vertx/core/cli/converters/FromBasedConverter.java b/src/main/java/io/vertx/core/cli/converters/FromBasedConverter.java index 58e5881da..c13b752c7 100644 --- a/src/main/java/io/vertx/core/cli/converters/FromBasedConverter.java +++ b/src/main/java/io/vertx/core/cli/converters/FromBasedConverter.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.cli.converters; diff --git a/src/main/java/io/vertx/core/cli/converters/FromStringBasedConverter.java b/src/main/java/io/vertx/core/cli/converters/FromStringBasedConverter.java index e1f31b26f..ebbb81321 100644 --- a/src/main/java/io/vertx/core/cli/converters/FromStringBasedConverter.java +++ b/src/main/java/io/vertx/core/cli/converters/FromStringBasedConverter.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.cli.converters; diff --git a/src/main/java/io/vertx/core/cli/converters/StringConverter.java b/src/main/java/io/vertx/core/cli/converters/StringConverter.java index 42510e6c2..24b312d31 100644 --- a/src/main/java/io/vertx/core/cli/converters/StringConverter.java +++ b/src/main/java/io/vertx/core/cli/converters/StringConverter.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.cli.converters; /** diff --git a/src/main/java/io/vertx/core/cli/converters/ValueOfBasedConverter.java b/src/main/java/io/vertx/core/cli/converters/ValueOfBasedConverter.java index 28bc3e1a9..71389c74b 100644 --- a/src/main/java/io/vertx/core/cli/converters/ValueOfBasedConverter.java +++ b/src/main/java/io/vertx/core/cli/converters/ValueOfBasedConverter.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.cli.converters; import java.lang.reflect.InvocationTargetException; diff --git a/src/main/java/io/vertx/core/cli/impl/DefaultCLI.java b/src/main/java/io/vertx/core/cli/impl/DefaultCLI.java index 3aff36e94..6f6f885c5 100644 --- a/src/main/java/io/vertx/core/cli/impl/DefaultCLI.java +++ b/src/main/java/io/vertx/core/cli/impl/DefaultCLI.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.cli.impl; diff --git a/src/main/java/io/vertx/core/cli/impl/DefaultCommandLine.java b/src/main/java/io/vertx/core/cli/impl/DefaultCommandLine.java index d6e4b7a94..d875b0645 100644 --- a/src/main/java/io/vertx/core/cli/impl/DefaultCommandLine.java +++ b/src/main/java/io/vertx/core/cli/impl/DefaultCommandLine.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.cli.impl; diff --git a/src/main/java/io/vertx/core/cli/impl/DefaultParser.java b/src/main/java/io/vertx/core/cli/impl/DefaultParser.java index 70f2b10f7..4bf796de4 100644 --- a/src/main/java/io/vertx/core/cli/impl/DefaultParser.java +++ b/src/main/java/io/vertx/core/cli/impl/DefaultParser.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.cli.impl; diff --git a/src/main/java/io/vertx/core/cli/impl/ReflectionUtils.java b/src/main/java/io/vertx/core/cli/impl/ReflectionUtils.java index b57d54e1e..89c11a384 100644 --- a/src/main/java/io/vertx/core/cli/impl/ReflectionUtils.java +++ b/src/main/java/io/vertx/core/cli/impl/ReflectionUtils.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.cli.impl; import java.lang.reflect.Method; diff --git a/src/main/java/io/vertx/core/cli/package-info.java b/src/main/java/io/vertx/core/cli/package-info.java index 44e10fa51..49d6b7c50 100644 --- a/src/main/java/io/vertx/core/cli/package-info.java +++ b/src/main/java/io/vertx/core/cli/package-info.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ /** @@ -197,4 +192,4 @@ @Document(fileName = "cli.adoc") package io.vertx.core.cli; -import io.vertx.docgen.Document; \ No newline at end of file +import io.vertx.docgen.Document; diff --git a/src/main/java/io/vertx/core/datagram/DatagramPacket.java b/src/main/java/io/vertx/core/datagram/DatagramPacket.java index 4dc5778b7..5044d39cb 100644 --- a/src/main/java/io/vertx/core/datagram/DatagramPacket.java +++ b/src/main/java/io/vertx/core/datagram/DatagramPacket.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.datagram; import io.vertx.core.buffer.Buffer; diff --git a/src/main/java/io/vertx/core/datagram/DatagramSocket.java b/src/main/java/io/vertx/core/datagram/DatagramSocket.java index ca81a4cec..85c1504bc 100644 --- a/src/main/java/io/vertx/core/datagram/DatagramSocket.java +++ b/src/main/java/io/vertx/core/datagram/DatagramSocket.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.datagram; import io.vertx.codegen.annotations.Nullable; diff --git a/src/main/java/io/vertx/core/datagram/DatagramSocketOptions.java b/src/main/java/io/vertx/core/datagram/DatagramSocketOptions.java index ee37c88b5..dc2404fa3 100644 --- a/src/main/java/io/vertx/core/datagram/DatagramSocketOptions.java +++ b/src/main/java/io/vertx/core/datagram/DatagramSocketOptions.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.datagram; diff --git a/src/main/java/io/vertx/core/datagram/impl/DatagramChannelFutureListener.java b/src/main/java/io/vertx/core/datagram/impl/DatagramChannelFutureListener.java index 9ac6ee6d7..e61369bc9 100644 --- a/src/main/java/io/vertx/core/datagram/impl/DatagramChannelFutureListener.java +++ b/src/main/java/io/vertx/core/datagram/impl/DatagramChannelFutureListener.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.datagram.impl; import io.netty.channel.ChannelFuture; diff --git a/src/main/java/io/vertx/core/datagram/impl/DatagramPacketImpl.java b/src/main/java/io/vertx/core/datagram/impl/DatagramPacketImpl.java index 4a9b506c0..3d5c5d870 100644 --- a/src/main/java/io/vertx/core/datagram/impl/DatagramPacketImpl.java +++ b/src/main/java/io/vertx/core/datagram/impl/DatagramPacketImpl.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.datagram.impl; import io.vertx.core.buffer.Buffer; diff --git a/src/main/java/io/vertx/core/datagram/impl/DatagramServerHandler.java b/src/main/java/io/vertx/core/datagram/impl/DatagramServerHandler.java index 915e9c168..d984a0e80 100644 --- a/src/main/java/io/vertx/core/datagram/impl/DatagramServerHandler.java +++ b/src/main/java/io/vertx/core/datagram/impl/DatagramServerHandler.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.datagram.impl; import io.netty.buffer.ByteBuf; diff --git a/src/main/java/io/vertx/core/datagram/impl/DatagramSocketImpl.java b/src/main/java/io/vertx/core/datagram/impl/DatagramSocketImpl.java index af9b721a8..62525f090 100644 --- a/src/main/java/io/vertx/core/datagram/impl/DatagramSocketImpl.java +++ b/src/main/java/io/vertx/core/datagram/impl/DatagramSocketImpl.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.datagram.impl; import io.netty.channel.ChannelFuture; diff --git a/src/main/java/io/vertx/core/datagram/impl/InternetProtocolFamily.java b/src/main/java/io/vertx/core/datagram/impl/InternetProtocolFamily.java index ffff22480..7c158eae4 100644 --- a/src/main/java/io/vertx/core/datagram/impl/InternetProtocolFamily.java +++ b/src/main/java/io/vertx/core/datagram/impl/InternetProtocolFamily.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.datagram.impl; /** diff --git a/src/main/java/io/vertx/core/datagram/impl/PacketWriteStreamImpl.java b/src/main/java/io/vertx/core/datagram/impl/PacketWriteStreamImpl.java index 1b23b7b17..9cbec907d 100644 --- a/src/main/java/io/vertx/core/datagram/impl/PacketWriteStreamImpl.java +++ b/src/main/java/io/vertx/core/datagram/impl/PacketWriteStreamImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.datagram.impl; diff --git a/src/main/java/io/vertx/core/datagram/package-info.java b/src/main/java/io/vertx/core/datagram/package-info.java index 044a1e59a..f63de9af3 100644 --- a/src/main/java/io/vertx/core/datagram/package-info.java +++ b/src/main/java/io/vertx/core/datagram/package-info.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ /** diff --git a/src/main/java/io/vertx/core/dns/AddressResolverOptions.java b/src/main/java/io/vertx/core/dns/AddressResolverOptions.java index 28de70e9a..b7134c2d2 100644 --- a/src/main/java/io/vertx/core/dns/AddressResolverOptions.java +++ b/src/main/java/io/vertx/core/dns/AddressResolverOptions.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.dns; diff --git a/src/main/java/io/vertx/core/dns/DnsClient.java b/src/main/java/io/vertx/core/dns/DnsClient.java index c87654436..46f0e910a 100644 --- a/src/main/java/io/vertx/core/dns/DnsClient.java +++ b/src/main/java/io/vertx/core/dns/DnsClient.java @@ -1,20 +1,15 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ -package io.vertx.core.dns; +package io.vertx.core.dns; import io.vertx.codegen.annotations.Nullable; import io.vertx.core.AsyncResult; diff --git a/src/main/java/io/vertx/core/dns/DnsClientOptions.java b/src/main/java/io/vertx/core/dns/DnsClientOptions.java index e6087040d..cbfa2029f 100644 --- a/src/main/java/io/vertx/core/dns/DnsClientOptions.java +++ b/src/main/java/io/vertx/core/dns/DnsClientOptions.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.dns; import io.vertx.codegen.annotations.DataObject; diff --git a/src/main/java/io/vertx/core/dns/DnsException.java b/src/main/java/io/vertx/core/dns/DnsException.java index 36c0cff72..a512a3114 100644 --- a/src/main/java/io/vertx/core/dns/DnsException.java +++ b/src/main/java/io/vertx/core/dns/DnsException.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.dns; import java.util.Objects; diff --git a/src/main/java/io/vertx/core/dns/DnsResponseCode.java b/src/main/java/io/vertx/core/dns/DnsResponseCode.java index 38c7543c7..623d0c4d6 100644 --- a/src/main/java/io/vertx/core/dns/DnsResponseCode.java +++ b/src/main/java/io/vertx/core/dns/DnsResponseCode.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2013 The Netty Project - * ------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.dns; import io.vertx.codegen.annotations.VertxGen; diff --git a/src/main/java/io/vertx/core/dns/MxRecord.java b/src/main/java/io/vertx/core/dns/MxRecord.java index 402949733..db3c68736 100644 --- a/src/main/java/io/vertx/core/dns/MxRecord.java +++ b/src/main/java/io/vertx/core/dns/MxRecord.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.dns; import io.vertx.codegen.annotations.VertxGen; diff --git a/src/main/java/io/vertx/core/dns/SrvRecord.java b/src/main/java/io/vertx/core/dns/SrvRecord.java index 2af6abbca..316c94447 100644 --- a/src/main/java/io/vertx/core/dns/SrvRecord.java +++ b/src/main/java/io/vertx/core/dns/SrvRecord.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.dns; import io.vertx.codegen.annotations.Nullable; diff --git a/src/main/java/io/vertx/core/dns/impl/DnsClientImpl.java b/src/main/java/io/vertx/core/dns/impl/DnsClientImpl.java index 363ac23c3..648f87a04 100644 --- a/src/main/java/io/vertx/core/dns/impl/DnsClientImpl.java +++ b/src/main/java/io/vertx/core/dns/impl/DnsClientImpl.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.dns.impl; import io.netty.channel.ChannelFutureListener; diff --git a/src/main/java/io/vertx/core/dns/impl/MxRecordImpl.java b/src/main/java/io/vertx/core/dns/impl/MxRecordImpl.java index e9d5ac6d6..b5bb1d125 100644 --- a/src/main/java/io/vertx/core/dns/impl/MxRecordImpl.java +++ b/src/main/java/io/vertx/core/dns/impl/MxRecordImpl.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.dns.impl; import io.vertx.core.dns.MxRecord; diff --git a/src/main/java/io/vertx/core/dns/impl/SrvRecordImpl.java b/src/main/java/io/vertx/core/dns/impl/SrvRecordImpl.java index d1d4bbf55..068a51127 100644 --- a/src/main/java/io/vertx/core/dns/impl/SrvRecordImpl.java +++ b/src/main/java/io/vertx/core/dns/impl/SrvRecordImpl.java @@ -1,23 +1,18 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.dns.impl; import io.vertx.core.dns.SrvRecord; - /** * @author Norman Maurer */ diff --git a/src/main/java/io/vertx/core/dns/impl/decoder/RecordDecoder.java b/src/main/java/io/vertx/core/dns/impl/decoder/RecordDecoder.java index 74460e54a..66ccfd0f5 100644 --- a/src/main/java/io/vertx/core/dns/impl/decoder/RecordDecoder.java +++ b/src/main/java/io/vertx/core/dns/impl/decoder/RecordDecoder.java @@ -1,17 +1,12 @@ /* * Copyright (c) 2013 The Netty Project - * ------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.dns.impl.decoder; diff --git a/src/main/java/io/vertx/core/dns/impl/decoder/StartOfAuthorityRecord.java b/src/main/java/io/vertx/core/dns/impl/decoder/StartOfAuthorityRecord.java index c125ce46b..0c20d76da 100644 --- a/src/main/java/io/vertx/core/dns/impl/decoder/StartOfAuthorityRecord.java +++ b/src/main/java/io/vertx/core/dns/impl/decoder/StartOfAuthorityRecord.java @@ -1,18 +1,14 @@ /* * Copyright (c) 2013 The Netty Project - * ------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.dns.impl.decoder; /** diff --git a/src/main/java/io/vertx/core/dns/package-info.java b/src/main/java/io/vertx/core/dns/package-info.java index 3276c8079..27173406a 100644 --- a/src/main/java/io/vertx/core/dns/package-info.java +++ b/src/main/java/io/vertx/core/dns/package-info.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ /** diff --git a/src/main/java/io/vertx/core/eventbus/DeliveryOptions.java b/src/main/java/io/vertx/core/eventbus/DeliveryOptions.java index eb8d771b4..0c089ae8b 100644 --- a/src/main/java/io/vertx/core/eventbus/DeliveryOptions.java +++ b/src/main/java/io/vertx/core/eventbus/DeliveryOptions.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus; diff --git a/src/main/java/io/vertx/core/eventbus/EventBus.java b/src/main/java/io/vertx/core/eventbus/EventBus.java index c7a424e47..94a9a77d3 100644 --- a/src/main/java/io/vertx/core/eventbus/EventBus.java +++ b/src/main/java/io/vertx/core/eventbus/EventBus.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus; diff --git a/src/main/java/io/vertx/core/eventbus/EventBusOptions.java b/src/main/java/io/vertx/core/eventbus/EventBusOptions.java index 6d61f9e68..9768543cd 100644 --- a/src/main/java/io/vertx/core/eventbus/EventBusOptions.java +++ b/src/main/java/io/vertx/core/eventbus/EventBusOptions.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus; diff --git a/src/main/java/io/vertx/core/eventbus/Message.java b/src/main/java/io/vertx/core/eventbus/Message.java index f46c5b0c5..339fa725d 100644 --- a/src/main/java/io/vertx/core/eventbus/Message.java +++ b/src/main/java/io/vertx/core/eventbus/Message.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus; diff --git a/src/main/java/io/vertx/core/eventbus/MessageCodec.java b/src/main/java/io/vertx/core/eventbus/MessageCodec.java index 622560f7a..fb896ec76 100644 --- a/src/main/java/io/vertx/core/eventbus/MessageCodec.java +++ b/src/main/java/io/vertx/core/eventbus/MessageCodec.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus; diff --git a/src/main/java/io/vertx/core/eventbus/MessageConsumer.java b/src/main/java/io/vertx/core/eventbus/MessageConsumer.java index 8a426815f..2cbfb16f1 100644 --- a/src/main/java/io/vertx/core/eventbus/MessageConsumer.java +++ b/src/main/java/io/vertx/core/eventbus/MessageConsumer.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus; diff --git a/src/main/java/io/vertx/core/eventbus/MessageProducer.java b/src/main/java/io/vertx/core/eventbus/MessageProducer.java index a3687dcee..55ac03730 100644 --- a/src/main/java/io/vertx/core/eventbus/MessageProducer.java +++ b/src/main/java/io/vertx/core/eventbus/MessageProducer.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus; diff --git a/src/main/java/io/vertx/core/eventbus/ReplyException.java b/src/main/java/io/vertx/core/eventbus/ReplyException.java index db1dee443..9a9bbfa80 100644 --- a/src/main/java/io/vertx/core/eventbus/ReplyException.java +++ b/src/main/java/io/vertx/core/eventbus/ReplyException.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus; diff --git a/src/main/java/io/vertx/core/eventbus/ReplyFailure.java b/src/main/java/io/vertx/core/eventbus/ReplyFailure.java index a1ec5bb64..d9c665724 100644 --- a/src/main/java/io/vertx/core/eventbus/ReplyFailure.java +++ b/src/main/java/io/vertx/core/eventbus/ReplyFailure.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus; diff --git a/src/main/java/io/vertx/core/eventbus/SendContext.java b/src/main/java/io/vertx/core/eventbus/SendContext.java index 8659fd88e..1ee556098 100644 --- a/src/main/java/io/vertx/core/eventbus/SendContext.java +++ b/src/main/java/io/vertx/core/eventbus/SendContext.java @@ -1,3 +1,14 @@ +/* + * Copyright 2011-2017 Contributors to the Eclipse Foundation + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 + */ + package io.vertx.core.eventbus; import io.vertx.codegen.annotations.VertxGen; diff --git a/src/main/java/io/vertx/core/eventbus/impl/BodyReadStream.java b/src/main/java/io/vertx/core/eventbus/impl/BodyReadStream.java index c14543846..e0ef553c7 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/BodyReadStream.java +++ b/src/main/java/io/vertx/core/eventbus/impl/BodyReadStream.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus.impl; diff --git a/src/main/java/io/vertx/core/eventbus/impl/CodecManager.java b/src/main/java/io/vertx/core/eventbus/impl/CodecManager.java index d65146766..42b148a87 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/CodecManager.java +++ b/src/main/java/io/vertx/core/eventbus/impl/CodecManager.java @@ -1,3 +1,14 @@ +/* + * Copyright 2011-2017 Contributors to the Eclipse Foundation + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 + */ + package io.vertx.core.eventbus.impl; import io.vertx.core.buffer.Buffer; diff --git a/src/main/java/io/vertx/core/eventbus/impl/EventBusImpl.java b/src/main/java/io/vertx/core/eventbus/impl/EventBusImpl.java index 82ae32f77..089901463 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/EventBusImpl.java +++ b/src/main/java/io/vertx/core/eventbus/impl/EventBusImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus.impl; diff --git a/src/main/java/io/vertx/core/eventbus/impl/HandlerHolder.java b/src/main/java/io/vertx/core/eventbus/impl/HandlerHolder.java index 1c49a25a7..95b53fc38 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/HandlerHolder.java +++ b/src/main/java/io/vertx/core/eventbus/impl/HandlerHolder.java @@ -1,3 +1,14 @@ +/* + * Copyright 2011-2017 Contributors to the Eclipse Foundation + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 + */ + package io.vertx.core.eventbus.impl; import io.vertx.core.Context; diff --git a/src/main/java/io/vertx/core/eventbus/impl/HandlerRegistration.java b/src/main/java/io/vertx/core/eventbus/impl/HandlerRegistration.java index a2dc47a33..c8b59a4f2 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/HandlerRegistration.java +++ b/src/main/java/io/vertx/core/eventbus/impl/HandlerRegistration.java @@ -1,3 +1,14 @@ +/* + * Copyright 2011-2017 Contributors to the Eclipse Foundation + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 + */ + package io.vertx.core.eventbus.impl; import io.vertx.core.*; diff --git a/src/main/java/io/vertx/core/eventbus/impl/Handlers.java b/src/main/java/io/vertx/core/eventbus/impl/Handlers.java index 78fa34213..fa57200e1 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/Handlers.java +++ b/src/main/java/io/vertx/core/eventbus/impl/Handlers.java @@ -1,3 +1,14 @@ +/* + * Copyright 2011-2017 Contributors to the Eclipse Foundation + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 + */ + package io.vertx.core.eventbus.impl; import java.util.List; diff --git a/src/main/java/io/vertx/core/eventbus/impl/MessageImpl.java b/src/main/java/io/vertx/core/eventbus/impl/MessageImpl.java index 5cd2fbd7a..1310652eb 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/MessageImpl.java +++ b/src/main/java/io/vertx/core/eventbus/impl/MessageImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus.impl; diff --git a/src/main/java/io/vertx/core/eventbus/impl/MessageProducerImpl.java b/src/main/java/io/vertx/core/eventbus/impl/MessageProducerImpl.java index 07edb8548..37587d514 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/MessageProducerImpl.java +++ b/src/main/java/io/vertx/core/eventbus/impl/MessageProducerImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus.impl; diff --git a/src/main/java/io/vertx/core/eventbus/impl/clustered/ClusterNodeInfo.java b/src/main/java/io/vertx/core/eventbus/impl/clustered/ClusterNodeInfo.java index 169dee13c..8b65c0435 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/clustered/ClusterNodeInfo.java +++ b/src/main/java/io/vertx/core/eventbus/impl/clustered/ClusterNodeInfo.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2017 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus.impl.clustered; diff --git a/src/main/java/io/vertx/core/eventbus/impl/clustered/ClusteredEventBus.java b/src/main/java/io/vertx/core/eventbus/impl/clustered/ClusteredEventBus.java index 6c203513c..8242878cd 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/clustered/ClusteredEventBus.java +++ b/src/main/java/io/vertx/core/eventbus/impl/clustered/ClusteredEventBus.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus.impl.clustered; diff --git a/src/main/java/io/vertx/core/eventbus/impl/clustered/ClusteredMessage.java b/src/main/java/io/vertx/core/eventbus/impl/clustered/ClusteredMessage.java index d0503211c..f6e1cf9b3 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/clustered/ClusteredMessage.java +++ b/src/main/java/io/vertx/core/eventbus/impl/clustered/ClusteredMessage.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus.impl.clustered; diff --git a/src/main/java/io/vertx/core/eventbus/impl/clustered/ConnectionHolder.java b/src/main/java/io/vertx/core/eventbus/impl/clustered/ConnectionHolder.java index 4a5d91e6a..0fdc78bad 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/clustered/ConnectionHolder.java +++ b/src/main/java/io/vertx/core/eventbus/impl/clustered/ConnectionHolder.java @@ -1,3 +1,14 @@ +/* + * Copyright 2011-2017 Contributors to the Eclipse Foundation + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 + */ + package io.vertx.core.eventbus.impl.clustered; import io.vertx.core.Vertx; diff --git a/src/main/java/io/vertx/core/eventbus/impl/codecs/BooleanMessageCodec.java b/src/main/java/io/vertx/core/eventbus/impl/codecs/BooleanMessageCodec.java index 5aa9ab75e..e9c3b5f59 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/codecs/BooleanMessageCodec.java +++ b/src/main/java/io/vertx/core/eventbus/impl/codecs/BooleanMessageCodec.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus.impl.codecs; diff --git a/src/main/java/io/vertx/core/eventbus/impl/codecs/BufferMessageCodec.java b/src/main/java/io/vertx/core/eventbus/impl/codecs/BufferMessageCodec.java index 18f2a737a..300e44d7a 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/codecs/BufferMessageCodec.java +++ b/src/main/java/io/vertx/core/eventbus/impl/codecs/BufferMessageCodec.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus.impl.codecs; diff --git a/src/main/java/io/vertx/core/eventbus/impl/codecs/ByteArrayMessageCodec.java b/src/main/java/io/vertx/core/eventbus/impl/codecs/ByteArrayMessageCodec.java index f5bd81631..bf8925022 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/codecs/ByteArrayMessageCodec.java +++ b/src/main/java/io/vertx/core/eventbus/impl/codecs/ByteArrayMessageCodec.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus.impl.codecs; diff --git a/src/main/java/io/vertx/core/eventbus/impl/codecs/ByteMessageCodec.java b/src/main/java/io/vertx/core/eventbus/impl/codecs/ByteMessageCodec.java index 20d8a63c4..ffa42e822 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/codecs/ByteMessageCodec.java +++ b/src/main/java/io/vertx/core/eventbus/impl/codecs/ByteMessageCodec.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus.impl.codecs; diff --git a/src/main/java/io/vertx/core/eventbus/impl/codecs/CharMessageCodec.java b/src/main/java/io/vertx/core/eventbus/impl/codecs/CharMessageCodec.java index 160559c9e..a9076048f 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/codecs/CharMessageCodec.java +++ b/src/main/java/io/vertx/core/eventbus/impl/codecs/CharMessageCodec.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus.impl.codecs; diff --git a/src/main/java/io/vertx/core/eventbus/impl/codecs/DoubleMessageCodec.java b/src/main/java/io/vertx/core/eventbus/impl/codecs/DoubleMessageCodec.java index efb23cd0a..e535390fa 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/codecs/DoubleMessageCodec.java +++ b/src/main/java/io/vertx/core/eventbus/impl/codecs/DoubleMessageCodec.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus.impl.codecs; diff --git a/src/main/java/io/vertx/core/eventbus/impl/codecs/FloatMessageCodec.java b/src/main/java/io/vertx/core/eventbus/impl/codecs/FloatMessageCodec.java index f324f9d0e..766500f36 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/codecs/FloatMessageCodec.java +++ b/src/main/java/io/vertx/core/eventbus/impl/codecs/FloatMessageCodec.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus.impl.codecs; diff --git a/src/main/java/io/vertx/core/eventbus/impl/codecs/IntMessageCodec.java b/src/main/java/io/vertx/core/eventbus/impl/codecs/IntMessageCodec.java index 076c020ed..cc50daca3 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/codecs/IntMessageCodec.java +++ b/src/main/java/io/vertx/core/eventbus/impl/codecs/IntMessageCodec.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus.impl.codecs; diff --git a/src/main/java/io/vertx/core/eventbus/impl/codecs/JsonArrayMessageCodec.java b/src/main/java/io/vertx/core/eventbus/impl/codecs/JsonArrayMessageCodec.java index a701fa5eb..b8d30a535 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/codecs/JsonArrayMessageCodec.java +++ b/src/main/java/io/vertx/core/eventbus/impl/codecs/JsonArrayMessageCodec.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus.impl.codecs; diff --git a/src/main/java/io/vertx/core/eventbus/impl/codecs/JsonObjectMessageCodec.java b/src/main/java/io/vertx/core/eventbus/impl/codecs/JsonObjectMessageCodec.java index e1a289f84..beee03ada 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/codecs/JsonObjectMessageCodec.java +++ b/src/main/java/io/vertx/core/eventbus/impl/codecs/JsonObjectMessageCodec.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus.impl.codecs; diff --git a/src/main/java/io/vertx/core/eventbus/impl/codecs/LongMessageCodec.java b/src/main/java/io/vertx/core/eventbus/impl/codecs/LongMessageCodec.java index 6ddc6cec4..1a108fb37 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/codecs/LongMessageCodec.java +++ b/src/main/java/io/vertx/core/eventbus/impl/codecs/LongMessageCodec.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus.impl.codecs; diff --git a/src/main/java/io/vertx/core/eventbus/impl/codecs/NullMessageCodec.java b/src/main/java/io/vertx/core/eventbus/impl/codecs/NullMessageCodec.java index 76d4ae4b7..87ac4f3e4 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/codecs/NullMessageCodec.java +++ b/src/main/java/io/vertx/core/eventbus/impl/codecs/NullMessageCodec.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus.impl.codecs; diff --git a/src/main/java/io/vertx/core/eventbus/impl/codecs/PingMessageCodec.java b/src/main/java/io/vertx/core/eventbus/impl/codecs/PingMessageCodec.java index cbd226031..1ba4079f2 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/codecs/PingMessageCodec.java +++ b/src/main/java/io/vertx/core/eventbus/impl/codecs/PingMessageCodec.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus.impl.codecs; diff --git a/src/main/java/io/vertx/core/eventbus/impl/codecs/ReplyExceptionMessageCodec.java b/src/main/java/io/vertx/core/eventbus/impl/codecs/ReplyExceptionMessageCodec.java index 727865aeb..d9b086afe 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/codecs/ReplyExceptionMessageCodec.java +++ b/src/main/java/io/vertx/core/eventbus/impl/codecs/ReplyExceptionMessageCodec.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus.impl.codecs; diff --git a/src/main/java/io/vertx/core/eventbus/impl/codecs/ShortMessageCodec.java b/src/main/java/io/vertx/core/eventbus/impl/codecs/ShortMessageCodec.java index 9a839a433..eb23efd0f 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/codecs/ShortMessageCodec.java +++ b/src/main/java/io/vertx/core/eventbus/impl/codecs/ShortMessageCodec.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus.impl.codecs; diff --git a/src/main/java/io/vertx/core/eventbus/impl/codecs/StringMessageCodec.java b/src/main/java/io/vertx/core/eventbus/impl/codecs/StringMessageCodec.java index 5b2020538..a8a629eb8 100644 --- a/src/main/java/io/vertx/core/eventbus/impl/codecs/StringMessageCodec.java +++ b/src/main/java/io/vertx/core/eventbus/impl/codecs/StringMessageCodec.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.eventbus.impl.codecs; diff --git a/src/main/java/io/vertx/core/eventbus/package-info.java b/src/main/java/io/vertx/core/eventbus/package-info.java index 3e728f217..ac275210b 100644 --- a/src/main/java/io/vertx/core/eventbus/package-info.java +++ b/src/main/java/io/vertx/core/eventbus/package-info.java @@ -1,3 +1,14 @@ +/* + * Copyright 2011-2017 Contributors to the Eclipse Foundation + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 + */ + /** * == The Event Bus * :toc: left diff --git a/src/main/java/io/vertx/core/file/AsyncFile.java b/src/main/java/io/vertx/core/file/AsyncFile.java index 1632e3bd0..3d284446a 100644 --- a/src/main/java/io/vertx/core/file/AsyncFile.java +++ b/src/main/java/io/vertx/core/file/AsyncFile.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.file; diff --git a/src/main/java/io/vertx/core/file/CopyOptions.java b/src/main/java/io/vertx/core/file/CopyOptions.java index 742568e67..f950e1858 100644 --- a/src/main/java/io/vertx/core/file/CopyOptions.java +++ b/src/main/java/io/vertx/core/file/CopyOptions.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2017 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.file; diff --git a/src/main/java/io/vertx/core/file/FileProps.java b/src/main/java/io/vertx/core/file/FileProps.java index a8db0903c..df0b1d4c4 100644 --- a/src/main/java/io/vertx/core/file/FileProps.java +++ b/src/main/java/io/vertx/core/file/FileProps.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.file; diff --git a/src/main/java/io/vertx/core/file/FileSystem.java b/src/main/java/io/vertx/core/file/FileSystem.java index 9035ba5dd..e2e0099ce 100644 --- a/src/main/java/io/vertx/core/file/FileSystem.java +++ b/src/main/java/io/vertx/core/file/FileSystem.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.file; diff --git a/src/main/java/io/vertx/core/file/FileSystemException.java b/src/main/java/io/vertx/core/file/FileSystemException.java index e84c9d600..0b9a6b96e 100644 --- a/src/main/java/io/vertx/core/file/FileSystemException.java +++ b/src/main/java/io/vertx/core/file/FileSystemException.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.file; diff --git a/src/main/java/io/vertx/core/file/FileSystemProps.java b/src/main/java/io/vertx/core/file/FileSystemProps.java index 0cef46e05..023185315 100644 --- a/src/main/java/io/vertx/core/file/FileSystemProps.java +++ b/src/main/java/io/vertx/core/file/FileSystemProps.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.file; diff --git a/src/main/java/io/vertx/core/file/OpenOptions.java b/src/main/java/io/vertx/core/file/OpenOptions.java index 7bd4760be..987bfa786 100644 --- a/src/main/java/io/vertx/core/file/OpenOptions.java +++ b/src/main/java/io/vertx/core/file/OpenOptions.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.file; diff --git a/src/main/java/io/vertx/core/file/impl/AsyncFileImpl.java b/src/main/java/io/vertx/core/file/impl/AsyncFileImpl.java index 375f52190..1d8ab4172 100644 --- a/src/main/java/io/vertx/core/file/impl/AsyncFileImpl.java +++ b/src/main/java/io/vertx/core/file/impl/AsyncFileImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.file.impl; diff --git a/src/main/java/io/vertx/core/file/impl/FilePropsImpl.java b/src/main/java/io/vertx/core/file/impl/FilePropsImpl.java index eeb6ec184..e0a073bdf 100644 --- a/src/main/java/io/vertx/core/file/impl/FilePropsImpl.java +++ b/src/main/java/io/vertx/core/file/impl/FilePropsImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.file.impl; @@ -22,7 +17,7 @@ import java.nio.file.attribute.BasicFileAttributes; public class FilePropsImpl implements FileProps { - + private final long creationTime; private final long lastAccessTime; private final long lastModifiedTime; diff --git a/src/main/java/io/vertx/core/file/impl/FileSystemImpl.java b/src/main/java/io/vertx/core/file/impl/FileSystemImpl.java index 038616cb2..2d0031b01 100644 --- a/src/main/java/io/vertx/core/file/impl/FileSystemImpl.java +++ b/src/main/java/io/vertx/core/file/impl/FileSystemImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.file.impl; diff --git a/src/main/java/io/vertx/core/file/impl/FileSystemPropsImpl.java b/src/main/java/io/vertx/core/file/impl/FileSystemPropsImpl.java index 2189bf2d9..19ffe617a 100644 --- a/src/main/java/io/vertx/core/file/impl/FileSystemPropsImpl.java +++ b/src/main/java/io/vertx/core/file/impl/FileSystemPropsImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.file.impl; diff --git a/src/main/java/io/vertx/core/file/impl/WindowsFileSystem.java b/src/main/java/io/vertx/core/file/impl/WindowsFileSystem.java index f5740539e..6e57c680b 100644 --- a/src/main/java/io/vertx/core/file/impl/WindowsFileSystem.java +++ b/src/main/java/io/vertx/core/file/impl/WindowsFileSystem.java @@ -1,19 +1,13 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ - package io.vertx.core.file.impl; import io.vertx.core.AsyncResult; diff --git a/src/main/java/io/vertx/core/file/package-info.java b/src/main/java/io/vertx/core/file/package-info.java index f350ef4ad..ea9ba2de0 100644 --- a/src/main/java/io/vertx/core/file/package-info.java +++ b/src/main/java/io/vertx/core/file/package-info.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ /** diff --git a/src/main/java/io/vertx/core/http/CaseInsensitiveHeaders.java b/src/main/java/io/vertx/core/http/CaseInsensitiveHeaders.java index 0fcb6ad47..d032ec5cf 100644 --- a/src/main/java/io/vertx/core/http/CaseInsensitiveHeaders.java +++ b/src/main/java/io/vertx/core/http/CaseInsensitiveHeaders.java @@ -1,22 +1,15 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ - package io.vertx.core.http; - import io.vertx.core.Handler; import io.vertx.core.MultiMap; diff --git a/src/main/java/io/vertx/core/http/ClientAuth.java b/src/main/java/io/vertx/core/http/ClientAuth.java index 9073808a3..037ac0dfa 100644 --- a/src/main/java/io/vertx/core/http/ClientAuth.java +++ b/src/main/java/io/vertx/core/http/ClientAuth.java @@ -1,3 +1,14 @@ +/* + * Copyright 2011-2017 Contributors to the Eclipse Foundation + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 + */ + package io.vertx.core.http; import io.vertx.codegen.annotations.VertxGen; diff --git a/src/main/java/io/vertx/core/http/ConnectionPoolTooBusyException.java b/src/main/java/io/vertx/core/http/ConnectionPoolTooBusyException.java index 6b0a3d688..9707559e8 100644 --- a/src/main/java/io/vertx/core/http/ConnectionPoolTooBusyException.java +++ b/src/main/java/io/vertx/core/http/ConnectionPoolTooBusyException.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http; diff --git a/src/main/java/io/vertx/core/http/GoAway.java b/src/main/java/io/vertx/core/http/GoAway.java index db1d7dd01..b9c950676 100644 --- a/src/main/java/io/vertx/core/http/GoAway.java +++ b/src/main/java/io/vertx/core/http/GoAway.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http; diff --git a/src/main/java/io/vertx/core/http/Http2Settings.java b/src/main/java/io/vertx/core/http/Http2Settings.java index 61c232b7c..d5c4a5398 100644 --- a/src/main/java/io/vertx/core/http/Http2Settings.java +++ b/src/main/java/io/vertx/core/http/Http2Settings.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http; diff --git a/src/main/java/io/vertx/core/http/HttpClient.java b/src/main/java/io/vertx/core/http/HttpClient.java index ddfd5c473..5b774fb7c 100644 --- a/src/main/java/io/vertx/core/http/HttpClient.java +++ b/src/main/java/io/vertx/core/http/HttpClient.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http; diff --git a/src/main/java/io/vertx/core/http/HttpClientOptions.java b/src/main/java/io/vertx/core/http/HttpClientOptions.java index eb0f58a6d..eba7812b0 100644 --- a/src/main/java/io/vertx/core/http/HttpClientOptions.java +++ b/src/main/java/io/vertx/core/http/HttpClientOptions.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http; diff --git a/src/main/java/io/vertx/core/http/HttpClientRequest.java b/src/main/java/io/vertx/core/http/HttpClientRequest.java index 24f77176c..0ed0082cf 100644 --- a/src/main/java/io/vertx/core/http/HttpClientRequest.java +++ b/src/main/java/io/vertx/core/http/HttpClientRequest.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http; diff --git a/src/main/java/io/vertx/core/http/HttpClientResponse.java b/src/main/java/io/vertx/core/http/HttpClientResponse.java index c6b86ed19..cc275c2ce 100644 --- a/src/main/java/io/vertx/core/http/HttpClientResponse.java +++ b/src/main/java/io/vertx/core/http/HttpClientResponse.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http; diff --git a/src/main/java/io/vertx/core/http/HttpConnection.java b/src/main/java/io/vertx/core/http/HttpConnection.java index 7e4b344ff..c43fe173b 100644 --- a/src/main/java/io/vertx/core/http/HttpConnection.java +++ b/src/main/java/io/vertx/core/http/HttpConnection.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http; diff --git a/src/main/java/io/vertx/core/http/HttpFrame.java b/src/main/java/io/vertx/core/http/HttpFrame.java index 5ab950419..7a5ac865d 100644 --- a/src/main/java/io/vertx/core/http/HttpFrame.java +++ b/src/main/java/io/vertx/core/http/HttpFrame.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http; diff --git a/src/main/java/io/vertx/core/http/HttpHeaders.java b/src/main/java/io/vertx/core/http/HttpHeaders.java index de7d46605..46127c990 100644 --- a/src/main/java/io/vertx/core/http/HttpHeaders.java +++ b/src/main/java/io/vertx/core/http/HttpHeaders.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.http; /** diff --git a/src/main/java/io/vertx/core/http/HttpMethod.java b/src/main/java/io/vertx/core/http/HttpMethod.java index 4a295f0d5..40b45867c 100644 --- a/src/main/java/io/vertx/core/http/HttpMethod.java +++ b/src/main/java/io/vertx/core/http/HttpMethod.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http; diff --git a/src/main/java/io/vertx/core/http/HttpServer.java b/src/main/java/io/vertx/core/http/HttpServer.java index 1137df280..fea1ae709 100644 --- a/src/main/java/io/vertx/core/http/HttpServer.java +++ b/src/main/java/io/vertx/core/http/HttpServer.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http; diff --git a/src/main/java/io/vertx/core/http/HttpServerFileUpload.java b/src/main/java/io/vertx/core/http/HttpServerFileUpload.java index 4972e795e..32f17fbe5 100644 --- a/src/main/java/io/vertx/core/http/HttpServerFileUpload.java +++ b/src/main/java/io/vertx/core/http/HttpServerFileUpload.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.http; import io.vertx.codegen.annotations.Fluent; diff --git a/src/main/java/io/vertx/core/http/HttpServerOptions.java b/src/main/java/io/vertx/core/http/HttpServerOptions.java index e38fe89cd..a59308577 100644 --- a/src/main/java/io/vertx/core/http/HttpServerOptions.java +++ b/src/main/java/io/vertx/core/http/HttpServerOptions.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http; diff --git a/src/main/java/io/vertx/core/http/HttpServerRequest.java b/src/main/java/io/vertx/core/http/HttpServerRequest.java index d35098057..aa039f0f9 100644 --- a/src/main/java/io/vertx/core/http/HttpServerRequest.java +++ b/src/main/java/io/vertx/core/http/HttpServerRequest.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http; diff --git a/src/main/java/io/vertx/core/http/HttpServerResponse.java b/src/main/java/io/vertx/core/http/HttpServerResponse.java index 0b61db81c..433f8f6c9 100644 --- a/src/main/java/io/vertx/core/http/HttpServerResponse.java +++ b/src/main/java/io/vertx/core/http/HttpServerResponse.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http; diff --git a/src/main/java/io/vertx/core/http/HttpVersion.java b/src/main/java/io/vertx/core/http/HttpVersion.java index d10531b27..9e7e79e29 100644 --- a/src/main/java/io/vertx/core/http/HttpVersion.java +++ b/src/main/java/io/vertx/core/http/HttpVersion.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http; diff --git a/src/main/java/io/vertx/core/http/RequestOptions.java b/src/main/java/io/vertx/core/http/RequestOptions.java index 899ae685a..3defd6eac 100644 --- a/src/main/java/io/vertx/core/http/RequestOptions.java +++ b/src/main/java/io/vertx/core/http/RequestOptions.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.http; import io.vertx.codegen.annotations.DataObject; diff --git a/src/main/java/io/vertx/core/http/ServerWebSocket.java b/src/main/java/io/vertx/core/http/ServerWebSocket.java index 3a52929d8..8403e6d17 100644 --- a/src/main/java/io/vertx/core/http/ServerWebSocket.java +++ b/src/main/java/io/vertx/core/http/ServerWebSocket.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http; diff --git a/src/main/java/io/vertx/core/http/StreamResetException.java b/src/main/java/io/vertx/core/http/StreamResetException.java index 6c1211eeb..e63948500 100644 --- a/src/main/java/io/vertx/core/http/StreamResetException.java +++ b/src/main/java/io/vertx/core/http/StreamResetException.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http; diff --git a/src/main/java/io/vertx/core/http/WebSocket.java b/src/main/java/io/vertx/core/http/WebSocket.java index cf5110a41..1fca0ad0b 100644 --- a/src/main/java/io/vertx/core/http/WebSocket.java +++ b/src/main/java/io/vertx/core/http/WebSocket.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http; diff --git a/src/main/java/io/vertx/core/http/WebSocketBase.java b/src/main/java/io/vertx/core/http/WebSocketBase.java index afd621a6d..037723679 100644 --- a/src/main/java/io/vertx/core/http/WebSocketBase.java +++ b/src/main/java/io/vertx/core/http/WebSocketBase.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http; diff --git a/src/main/java/io/vertx/core/http/WebSocketFrame.java b/src/main/java/io/vertx/core/http/WebSocketFrame.java index fec6bcb69..900ded659 100644 --- a/src/main/java/io/vertx/core/http/WebSocketFrame.java +++ b/src/main/java/io/vertx/core/http/WebSocketFrame.java @@ -1,17 +1,12 @@ /* * Copyright (c) 2010 The Netty Project - * ------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http; diff --git a/src/main/java/io/vertx/core/http/WebsocketRejectedException.java b/src/main/java/io/vertx/core/http/WebsocketRejectedException.java index 08fd2c3ba..7593daf23 100644 --- a/src/main/java/io/vertx/core/http/WebsocketRejectedException.java +++ b/src/main/java/io/vertx/core/http/WebsocketRejectedException.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.http; import io.vertx.core.VertxException; diff --git a/src/main/java/io/vertx/core/http/WebsocketVersion.java b/src/main/java/io/vertx/core/http/WebsocketVersion.java index 8c529f090..f7d78ff47 100644 --- a/src/main/java/io/vertx/core/http/WebsocketVersion.java +++ b/src/main/java/io/vertx/core/http/WebsocketVersion.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http; diff --git a/src/main/java/io/vertx/core/http/impl/AssembledFullHttpRequest.java b/src/main/java/io/vertx/core/http/impl/AssembledFullHttpRequest.java index 095e7ead3..e6ef2f2a6 100644 --- a/src/main/java/io/vertx/core/http/impl/AssembledFullHttpRequest.java +++ b/src/main/java/io/vertx/core/http/impl/AssembledFullHttpRequest.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.http.impl; import io.netty.buffer.ByteBuf; diff --git a/src/main/java/io/vertx/core/http/impl/AssembledFullHttpResponse.java b/src/main/java/io/vertx/core/http/impl/AssembledFullHttpResponse.java index 6f713bd81..869e2b2f5 100644 --- a/src/main/java/io/vertx/core/http/impl/AssembledFullHttpResponse.java +++ b/src/main/java/io/vertx/core/http/impl/AssembledFullHttpResponse.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.http.impl; import io.netty.buffer.ByteBuf; diff --git a/src/main/java/io/vertx/core/http/impl/AssembledHttpRequest.java b/src/main/java/io/vertx/core/http/impl/AssembledHttpRequest.java index 9f759b03c..cd37a8672 100644 --- a/src/main/java/io/vertx/core/http/impl/AssembledHttpRequest.java +++ b/src/main/java/io/vertx/core/http/impl/AssembledHttpRequest.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.http.impl; import io.netty.buffer.ByteBuf; diff --git a/src/main/java/io/vertx/core/http/impl/AssembledHttpResponse.java b/src/main/java/io/vertx/core/http/impl/AssembledHttpResponse.java index bd47e0400..cbe962312 100644 --- a/src/main/java/io/vertx/core/http/impl/AssembledHttpResponse.java +++ b/src/main/java/io/vertx/core/http/impl/AssembledHttpResponse.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.http.impl; import io.netty.buffer.ByteBuf; diff --git a/src/main/java/io/vertx/core/http/impl/AssembledLastHttpContent.java b/src/main/java/io/vertx/core/http/impl/AssembledLastHttpContent.java index 8c64950fb..54c8bb1e4 100644 --- a/src/main/java/io/vertx/core/http/impl/AssembledLastHttpContent.java +++ b/src/main/java/io/vertx/core/http/impl/AssembledLastHttpContent.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.http.impl; import io.netty.buffer.ByteBuf; diff --git a/src/main/java/io/vertx/core/http/impl/ConnectionManager.java b/src/main/java/io/vertx/core/http/impl/ConnectionManager.java index 263b877ff..a265f13f1 100644 --- a/src/main/java/io/vertx/core/http/impl/ConnectionManager.java +++ b/src/main/java/io/vertx/core/http/impl/ConnectionManager.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/FileStreamChannel.java b/src/main/java/io/vertx/core/http/impl/FileStreamChannel.java index f7e3e33d0..af8958f48 100644 --- a/src/main/java/io/vertx/core/http/impl/FileStreamChannel.java +++ b/src/main/java/io/vertx/core/http/impl/FileStreamChannel.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/FrameType.java b/src/main/java/io/vertx/core/http/impl/FrameType.java index 9f9c92975..3fbaed2db 100644 --- a/src/main/java/io/vertx/core/http/impl/FrameType.java +++ b/src/main/java/io/vertx/core/http/impl/FrameType.java @@ -1,19 +1,13 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ - package io.vertx.core.http.impl; /** diff --git a/src/main/java/io/vertx/core/http/impl/HeadersAdaptor.java b/src/main/java/io/vertx/core/http/impl/HeadersAdaptor.java index dba3e8ebc..6b1263078 100644 --- a/src/main/java/io/vertx/core/http/impl/HeadersAdaptor.java +++ b/src/main/java/io/vertx/core/http/impl/HeadersAdaptor.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/Http1xClientConnection.java b/src/main/java/io/vertx/core/http/impl/Http1xClientConnection.java index 0877742ef..4e14f43c4 100644 --- a/src/main/java/io/vertx/core/http/impl/Http1xClientConnection.java +++ b/src/main/java/io/vertx/core/http/impl/Http1xClientConnection.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/Http1xClientHandler.java b/src/main/java/io/vertx/core/http/impl/Http1xClientHandler.java index eddcb5437..787030efe 100644 --- a/src/main/java/io/vertx/core/http/impl/Http1xClientHandler.java +++ b/src/main/java/io/vertx/core/http/impl/Http1xClientHandler.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/Http1xConnectionBase.java b/src/main/java/io/vertx/core/http/impl/Http1xConnectionBase.java index 3b771a0a8..b7ebe86bb 100644 --- a/src/main/java/io/vertx/core/http/impl/Http1xConnectionBase.java +++ b/src/main/java/io/vertx/core/http/impl/Http1xConnectionBase.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.http.impl; import io.netty.buffer.ByteBuf; diff --git a/src/main/java/io/vertx/core/http/impl/Http1xOrH2CHandler.java b/src/main/java/io/vertx/core/http/impl/Http1xOrH2CHandler.java index ccb416349..6e2ea4048 100644 --- a/src/main/java/io/vertx/core/http/impl/Http1xOrH2CHandler.java +++ b/src/main/java/io/vertx/core/http/impl/Http1xOrH2CHandler.java @@ -1,3 +1,14 @@ +/* + * Copyright 2011-2017 Contributors to the Eclipse Foundation + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 + */ + package io.vertx.core.http.impl; import io.netty.buffer.ByteBuf; diff --git a/src/main/java/io/vertx/core/http/impl/Http1xServerConnection.java b/src/main/java/io/vertx/core/http/impl/Http1xServerConnection.java index 6913de7c2..cfeccad62 100644 --- a/src/main/java/io/vertx/core/http/impl/Http1xServerConnection.java +++ b/src/main/java/io/vertx/core/http/impl/Http1xServerConnection.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/Http1xServerHandler.java b/src/main/java/io/vertx/core/http/impl/Http1xServerHandler.java index e4c7ae70b..1fc9be9a7 100644 --- a/src/main/java/io/vertx/core/http/impl/Http1xServerHandler.java +++ b/src/main/java/io/vertx/core/http/impl/Http1xServerHandler.java @@ -1,3 +1,14 @@ +/* + * Copyright 2011-2017 Contributors to the Eclipse Foundation + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 + */ + package io.vertx.core.http.impl; import io.netty.channel.Channel; diff --git a/src/main/java/io/vertx/core/http/impl/Http2ClientConnection.java b/src/main/java/io/vertx/core/http/impl/Http2ClientConnection.java index 3a3a6c059..60745765c 100644 --- a/src/main/java/io/vertx/core/http/impl/Http2ClientConnection.java +++ b/src/main/java/io/vertx/core/http/impl/Http2ClientConnection.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/Http2ConnectionBase.java b/src/main/java/io/vertx/core/http/impl/Http2ConnectionBase.java index 719c07886..5eca649dc 100644 --- a/src/main/java/io/vertx/core/http/impl/Http2ConnectionBase.java +++ b/src/main/java/io/vertx/core/http/impl/Http2ConnectionBase.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/Http2HeadersAdaptor.java b/src/main/java/io/vertx/core/http/impl/Http2HeadersAdaptor.java index f4d887c72..25bff2fbb 100644 --- a/src/main/java/io/vertx/core/http/impl/Http2HeadersAdaptor.java +++ b/src/main/java/io/vertx/core/http/impl/Http2HeadersAdaptor.java @@ -1,19 +1,13 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ - package io.vertx.core.http.impl; import io.netty.handler.codec.http.HttpHeaderNames; diff --git a/src/main/java/io/vertx/core/http/impl/Http2ServerConnection.java b/src/main/java/io/vertx/core/http/impl/Http2ServerConnection.java index f477c0b7c..cbc88331b 100644 --- a/src/main/java/io/vertx/core/http/impl/Http2ServerConnection.java +++ b/src/main/java/io/vertx/core/http/impl/Http2ServerConnection.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/Http2ServerRequestImpl.java b/src/main/java/io/vertx/core/http/impl/Http2ServerRequestImpl.java index 1b47d022f..c4045b27f 100644 --- a/src/main/java/io/vertx/core/http/impl/Http2ServerRequestImpl.java +++ b/src/main/java/io/vertx/core/http/impl/Http2ServerRequestImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/Http2ServerResponseImpl.java b/src/main/java/io/vertx/core/http/impl/Http2ServerResponseImpl.java index 1f7b774a7..b3783a95e 100644 --- a/src/main/java/io/vertx/core/http/impl/Http2ServerResponseImpl.java +++ b/src/main/java/io/vertx/core/http/impl/Http2ServerResponseImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/HttpChannelConnector.java b/src/main/java/io/vertx/core/http/impl/HttpChannelConnector.java index 2e48ef09c..e3e6e33ed 100644 --- a/src/main/java/io/vertx/core/http/impl/HttpChannelConnector.java +++ b/src/main/java/io/vertx/core/http/impl/HttpChannelConnector.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.http.impl; import io.netty.bootstrap.Bootstrap; diff --git a/src/main/java/io/vertx/core/http/impl/HttpChunkContentCompressor.java b/src/main/java/io/vertx/core/http/impl/HttpChunkContentCompressor.java index 0d435a9f1..6d991b92f 100644 --- a/src/main/java/io/vertx/core/http/impl/HttpChunkContentCompressor.java +++ b/src/main/java/io/vertx/core/http/impl/HttpChunkContentCompressor.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.http.impl; import io.netty.buffer.ByteBuf; diff --git a/src/main/java/io/vertx/core/http/impl/HttpClientConnection.java b/src/main/java/io/vertx/core/http/impl/HttpClientConnection.java index c6dd62120..b51f12b8f 100644 --- a/src/main/java/io/vertx/core/http/impl/HttpClientConnection.java +++ b/src/main/java/io/vertx/core/http/impl/HttpClientConnection.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/HttpClientImpl.java b/src/main/java/io/vertx/core/http/impl/HttpClientImpl.java index 13176db9f..bbba7f1c4 100644 --- a/src/main/java/io/vertx/core/http/impl/HttpClientImpl.java +++ b/src/main/java/io/vertx/core/http/impl/HttpClientImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/HttpClientRequestBase.java b/src/main/java/io/vertx/core/http/impl/HttpClientRequestBase.java index 6a3c90ad1..c08c9be12 100644 --- a/src/main/java/io/vertx/core/http/impl/HttpClientRequestBase.java +++ b/src/main/java/io/vertx/core/http/impl/HttpClientRequestBase.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/HttpClientRequestImpl.java b/src/main/java/io/vertx/core/http/impl/HttpClientRequestImpl.java index b7bac4f48..d26ebd300 100644 --- a/src/main/java/io/vertx/core/http/impl/HttpClientRequestImpl.java +++ b/src/main/java/io/vertx/core/http/impl/HttpClientRequestImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/HttpClientRequestPushPromise.java b/src/main/java/io/vertx/core/http/impl/HttpClientRequestPushPromise.java index e60f9016d..524ae323f 100644 --- a/src/main/java/io/vertx/core/http/impl/HttpClientRequestPushPromise.java +++ b/src/main/java/io/vertx/core/http/impl/HttpClientRequestPushPromise.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/HttpClientResponseImpl.java b/src/main/java/io/vertx/core/http/impl/HttpClientResponseImpl.java index ec93912c5..2e5557b24 100644 --- a/src/main/java/io/vertx/core/http/impl/HttpClientResponseImpl.java +++ b/src/main/java/io/vertx/core/http/impl/HttpClientResponseImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/HttpClientStream.java b/src/main/java/io/vertx/core/http/impl/HttpClientStream.java index 92cc6247c..531ba531e 100644 --- a/src/main/java/io/vertx/core/http/impl/HttpClientStream.java +++ b/src/main/java/io/vertx/core/http/impl/HttpClientStream.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/HttpFrameImpl.java b/src/main/java/io/vertx/core/http/impl/HttpFrameImpl.java index b60fbfe0f..58c498b9f 100644 --- a/src/main/java/io/vertx/core/http/impl/HttpFrameImpl.java +++ b/src/main/java/io/vertx/core/http/impl/HttpFrameImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/HttpHandlers.java b/src/main/java/io/vertx/core/http/impl/HttpHandlers.java index 2875cc6bd..e98528690 100644 --- a/src/main/java/io/vertx/core/http/impl/HttpHandlers.java +++ b/src/main/java/io/vertx/core/http/impl/HttpHandlers.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.http.impl; import io.vertx.core.Handler; diff --git a/src/main/java/io/vertx/core/http/impl/HttpServerFileUploadImpl.java b/src/main/java/io/vertx/core/http/impl/HttpServerFileUploadImpl.java index c80cd84c9..56c79eb9e 100644 --- a/src/main/java/io/vertx/core/http/impl/HttpServerFileUploadImpl.java +++ b/src/main/java/io/vertx/core/http/impl/HttpServerFileUploadImpl.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.http.impl; import io.vertx.core.Handler; diff --git a/src/main/java/io/vertx/core/http/impl/HttpServerImpl.java b/src/main/java/io/vertx/core/http/impl/HttpServerImpl.java index d31b0f36c..fa2d57ba3 100644 --- a/src/main/java/io/vertx/core/http/impl/HttpServerImpl.java +++ b/src/main/java/io/vertx/core/http/impl/HttpServerImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/HttpServerRequestImpl.java b/src/main/java/io/vertx/core/http/impl/HttpServerRequestImpl.java index 2548f1d6a..06e966809 100644 --- a/src/main/java/io/vertx/core/http/impl/HttpServerRequestImpl.java +++ b/src/main/java/io/vertx/core/http/impl/HttpServerRequestImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/HttpServerResponseImpl.java b/src/main/java/io/vertx/core/http/impl/HttpServerResponseImpl.java index b366f6f67..b989d5420 100644 --- a/src/main/java/io/vertx/core/http/impl/HttpServerResponseImpl.java +++ b/src/main/java/io/vertx/core/http/impl/HttpServerResponseImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/HttpUtils.java b/src/main/java/io/vertx/core/http/impl/HttpUtils.java index dc54fae19..60438b97f 100644 --- a/src/main/java/io/vertx/core/http/impl/HttpUtils.java +++ b/src/main/java/io/vertx/core/http/impl/HttpUtils.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/MimeMapping.java b/src/main/java/io/vertx/core/http/impl/MimeMapping.java index 23dd41ffe..40986a79d 100644 --- a/src/main/java/io/vertx/core/http/impl/MimeMapping.java +++ b/src/main/java/io/vertx/core/http/impl/MimeMapping.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/NettyFileUpload.java b/src/main/java/io/vertx/core/http/impl/NettyFileUpload.java index fa806e93d..1870e0194 100644 --- a/src/main/java/io/vertx/core/http/impl/NettyFileUpload.java +++ b/src/main/java/io/vertx/core/http/impl/NettyFileUpload.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/NettyFileUploadDataFactory.java b/src/main/java/io/vertx/core/http/impl/NettyFileUploadDataFactory.java index bb962127f..de535348c 100644 --- a/src/main/java/io/vertx/core/http/impl/NettyFileUploadDataFactory.java +++ b/src/main/java/io/vertx/core/http/impl/NettyFileUploadDataFactory.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/ServerWebSocketImpl.java b/src/main/java/io/vertx/core/http/impl/ServerWebSocketImpl.java index 07738f91e..bc2a6e929 100644 --- a/src/main/java/io/vertx/core/http/impl/ServerWebSocketImpl.java +++ b/src/main/java/io/vertx/core/http/impl/ServerWebSocketImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/VertxHttp2ClientUpgradeCodec.java b/src/main/java/io/vertx/core/http/impl/VertxHttp2ClientUpgradeCodec.java index 1cf0e3896..53dad6def 100644 --- a/src/main/java/io/vertx/core/http/impl/VertxHttp2ClientUpgradeCodec.java +++ b/src/main/java/io/vertx/core/http/impl/VertxHttp2ClientUpgradeCodec.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/VertxHttp2ConnectionHandler.java b/src/main/java/io/vertx/core/http/impl/VertxHttp2ConnectionHandler.java index 438cd4df1..654871bdd 100644 --- a/src/main/java/io/vertx/core/http/impl/VertxHttp2ConnectionHandler.java +++ b/src/main/java/io/vertx/core/http/impl/VertxHttp2ConnectionHandler.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/VertxHttp2ConnectionHandlerBuilder.java b/src/main/java/io/vertx/core/http/impl/VertxHttp2ConnectionHandlerBuilder.java index e05a21b3e..2ad40f36e 100644 --- a/src/main/java/io/vertx/core/http/impl/VertxHttp2ConnectionHandlerBuilder.java +++ b/src/main/java/io/vertx/core/http/impl/VertxHttp2ConnectionHandlerBuilder.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/VertxHttp2NetSocket.java b/src/main/java/io/vertx/core/http/impl/VertxHttp2NetSocket.java index fdf8b6269..f7493ae31 100644 --- a/src/main/java/io/vertx/core/http/impl/VertxHttp2NetSocket.java +++ b/src/main/java/io/vertx/core/http/impl/VertxHttp2NetSocket.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/VertxHttp2Stream.java b/src/main/java/io/vertx/core/http/impl/VertxHttp2Stream.java index f59d5c6a8..7ce110845 100644 --- a/src/main/java/io/vertx/core/http/impl/VertxHttp2Stream.java +++ b/src/main/java/io/vertx/core/http/impl/VertxHttp2Stream.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/VertxHttpHandler.java b/src/main/java/io/vertx/core/http/impl/VertxHttpHandler.java index 2360b7b3d..a14dbc435 100644 --- a/src/main/java/io/vertx/core/http/impl/VertxHttpHandler.java +++ b/src/main/java/io/vertx/core/http/impl/VertxHttpHandler.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.http.impl; import io.netty.buffer.ByteBuf; diff --git a/src/main/java/io/vertx/core/http/impl/VertxHttpResponseEncoder.java b/src/main/java/io/vertx/core/http/impl/VertxHttpResponseEncoder.java index 1ae6a1863..5cc83cdb5 100644 --- a/src/main/java/io/vertx/core/http/impl/VertxHttpResponseEncoder.java +++ b/src/main/java/io/vertx/core/http/impl/VertxHttpResponseEncoder.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/WebSocketFrameFactoryImpl.java b/src/main/java/io/vertx/core/http/impl/WebSocketFrameFactoryImpl.java index 1d8df1980..5fdc15bbe 100644 --- a/src/main/java/io/vertx/core/http/impl/WebSocketFrameFactoryImpl.java +++ b/src/main/java/io/vertx/core/http/impl/WebSocketFrameFactoryImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/WebSocketImpl.java b/src/main/java/io/vertx/core/http/impl/WebSocketImpl.java index 7b4d567eb..f3c7cd620 100644 --- a/src/main/java/io/vertx/core/http/impl/WebSocketImpl.java +++ b/src/main/java/io/vertx/core/http/impl/WebSocketImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/WebSocketImplBase.java b/src/main/java/io/vertx/core/http/impl/WebSocketImplBase.java index b5957b026..e042a2875 100644 --- a/src/main/java/io/vertx/core/http/impl/WebSocketImplBase.java +++ b/src/main/java/io/vertx/core/http/impl/WebSocketImplBase.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl; diff --git a/src/main/java/io/vertx/core/http/impl/cgbystrom/FlashPolicyHandler.java b/src/main/java/io/vertx/core/http/impl/cgbystrom/FlashPolicyHandler.java index e03ddb749..31c9052ab 100644 --- a/src/main/java/io/vertx/core/http/impl/cgbystrom/FlashPolicyHandler.java +++ b/src/main/java/io/vertx/core/http/impl/cgbystrom/FlashPolicyHandler.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl.cgbystrom; @@ -84,4 +79,4 @@ public class FlashPolicyHandler extends ChannelInboundHandlerAdapter { } } } -} \ No newline at end of file +} diff --git a/src/main/java/io/vertx/core/http/impl/headers/VertxHttpHeaders.java b/src/main/java/io/vertx/core/http/impl/headers/VertxHttpHeaders.java index 7e4d46aff..bd1c1a1e3 100644 --- a/src/main/java/io/vertx/core/http/impl/headers/VertxHttpHeaders.java +++ b/src/main/java/io/vertx/core/http/impl/headers/VertxHttpHeaders.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.http.impl.headers; import io.netty.handler.codec.http.HttpHeaders; diff --git a/src/main/java/io/vertx/core/http/impl/pool/ConnectionListener.java b/src/main/java/io/vertx/core/http/impl/pool/ConnectionListener.java index 067334d47..25a4ae49e 100644 --- a/src/main/java/io/vertx/core/http/impl/pool/ConnectionListener.java +++ b/src/main/java/io/vertx/core/http/impl/pool/ConnectionListener.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.http.impl.pool; import io.netty.channel.Channel; diff --git a/src/main/java/io/vertx/core/http/impl/pool/ConnectionProvider.java b/src/main/java/io/vertx/core/http/impl/pool/ConnectionProvider.java index b27cd9cab..6d80d4640 100644 --- a/src/main/java/io/vertx/core/http/impl/pool/ConnectionProvider.java +++ b/src/main/java/io/vertx/core/http/impl/pool/ConnectionProvider.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.http.impl.pool; import io.vertx.core.impl.ContextImpl; diff --git a/src/main/java/io/vertx/core/http/impl/pool/Pool.java b/src/main/java/io/vertx/core/http/impl/pool/Pool.java index d4b12bef7..10db9c04e 100644 --- a/src/main/java/io/vertx/core/http/impl/pool/Pool.java +++ b/src/main/java/io/vertx/core/http/impl/pool/Pool.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.http.impl.pool; import io.netty.channel.Channel; diff --git a/src/main/java/io/vertx/core/http/impl/pool/Waiter.java b/src/main/java/io/vertx/core/http/impl/pool/Waiter.java index 7c0d0d93a..4534e42e5 100644 --- a/src/main/java/io/vertx/core/http/impl/pool/Waiter.java +++ b/src/main/java/io/vertx/core/http/impl/pool/Waiter.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl.pool; diff --git a/src/main/java/io/vertx/core/http/impl/ws/WebSocketFrameImpl.java b/src/main/java/io/vertx/core/http/impl/ws/WebSocketFrameImpl.java index 03290477f..409af6988 100644 --- a/src/main/java/io/vertx/core/http/impl/ws/WebSocketFrameImpl.java +++ b/src/main/java/io/vertx/core/http/impl/ws/WebSocketFrameImpl.java @@ -1,17 +1,12 @@ /* * Copyright (c) 2010 The Netty Project - * ------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl.ws; diff --git a/src/main/java/io/vertx/core/http/impl/ws/WebSocketFrameInternal.java b/src/main/java/io/vertx/core/http/impl/ws/WebSocketFrameInternal.java index 384fa136b..f043bc420 100644 --- a/src/main/java/io/vertx/core/http/impl/ws/WebSocketFrameInternal.java +++ b/src/main/java/io/vertx/core/http/impl/ws/WebSocketFrameInternal.java @@ -1,17 +1,12 @@ /* * Copyright (c) 2010 The Netty Project - * ------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.http.impl.ws; diff --git a/src/main/java/io/vertx/core/http/package-info.java b/src/main/java/io/vertx/core/http/package-info.java index 2f04736ba..534bf6441 100644 --- a/src/main/java/io/vertx/core/http/package-info.java +++ b/src/main/java/io/vertx/core/http/package-info.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ /** diff --git a/src/main/java/io/vertx/core/impl/Action.java b/src/main/java/io/vertx/core/impl/Action.java index 55c407d8a..64003622e 100644 --- a/src/main/java/io/vertx/core/impl/Action.java +++ b/src/main/java/io/vertx/core/impl/Action.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/AddressResolver.java b/src/main/java/io/vertx/core/impl/AddressResolver.java index fb05e62c0..7c717f281 100644 --- a/src/main/java/io/vertx/core/impl/AddressResolver.java +++ b/src/main/java/io/vertx/core/impl/AddressResolver.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/Args.java b/src/main/java/io/vertx/core/impl/Args.java index e4f1771df..8a19034ed 100644 --- a/src/main/java/io/vertx/core/impl/Args.java +++ b/src/main/java/io/vertx/core/impl/Args.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/Arguments.java b/src/main/java/io/vertx/core/impl/Arguments.java index 2d2f23805..c98b89b1d 100644 --- a/src/main/java/io/vertx/core/impl/Arguments.java +++ b/src/main/java/io/vertx/core/impl/Arguments.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/BlockedThreadChecker.java b/src/main/java/io/vertx/core/impl/BlockedThreadChecker.java index cc1e2a0f0..796348c28 100644 --- a/src/main/java/io/vertx/core/impl/BlockedThreadChecker.java +++ b/src/main/java/io/vertx/core/impl/BlockedThreadChecker.java @@ -1,17 +1,12 @@ /* * Copyright 2014 Red Hat, Inc. * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/CloseHooks.java b/src/main/java/io/vertx/core/impl/CloseHooks.java index b289978fd..468c24a4b 100644 --- a/src/main/java/io/vertx/core/impl/CloseHooks.java +++ b/src/main/java/io/vertx/core/impl/CloseHooks.java @@ -1,3 +1,14 @@ +/* + * Copyright 2011-2017 Contributors to the Eclipse Foundation + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 + */ + package io.vertx.core.impl; import io.vertx.core.AsyncResult; diff --git a/src/main/java/io/vertx/core/impl/CompositeFutureImpl.java b/src/main/java/io/vertx/core/impl/CompositeFutureImpl.java index 679f6bc6f..49d9c4432 100644 --- a/src/main/java/io/vertx/core/impl/CompositeFutureImpl.java +++ b/src/main/java/io/vertx/core/impl/CompositeFutureImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/ConcurrentHashSet.java b/src/main/java/io/vertx/core/impl/ConcurrentHashSet.java index 714c9af7f..5807ae543 100644 --- a/src/main/java/io/vertx/core/impl/ConcurrentHashSet.java +++ b/src/main/java/io/vertx/core/impl/ConcurrentHashSet.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/ContextImpl.java b/src/main/java/io/vertx/core/impl/ContextImpl.java index e0a7c2e0e..872dd9228 100644 --- a/src/main/java/io/vertx/core/impl/ContextImpl.java +++ b/src/main/java/io/vertx/core/impl/ContextImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/ContextInternal.java b/src/main/java/io/vertx/core/impl/ContextInternal.java index f1be40eed..9adfd8d76 100644 --- a/src/main/java/io/vertx/core/impl/ContextInternal.java +++ b/src/main/java/io/vertx/core/impl/ContextInternal.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/ContextTask.java b/src/main/java/io/vertx/core/impl/ContextTask.java index a23dc8dfb..924a1e56b 100644 --- a/src/main/java/io/vertx/core/impl/ContextTask.java +++ b/src/main/java/io/vertx/core/impl/ContextTask.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/ConversionHelper.java b/src/main/java/io/vertx/core/impl/ConversionHelper.java index ad18fbb02..05a265a56 100644 --- a/src/main/java/io/vertx/core/impl/ConversionHelper.java +++ b/src/main/java/io/vertx/core/impl/ConversionHelper.java @@ -1,18 +1,14 @@ /* * Copyright 2014 Red Hat, Inc. * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.impl; import io.vertx.core.buffer.Buffer; diff --git a/src/main/java/io/vertx/core/impl/Deployment.java b/src/main/java/io/vertx/core/impl/Deployment.java index 1944dc40f..780464076 100644 --- a/src/main/java/io/vertx/core/impl/Deployment.java +++ b/src/main/java/io/vertx/core/impl/Deployment.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/DeploymentManager.java b/src/main/java/io/vertx/core/impl/DeploymentManager.java index 4927df94a..4ce54726a 100644 --- a/src/main/java/io/vertx/core/impl/DeploymentManager.java +++ b/src/main/java/io/vertx/core/impl/DeploymentManager.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/EventLoopContext.java b/src/main/java/io/vertx/core/impl/EventLoopContext.java index 6844da6c2..66db64410 100644 --- a/src/main/java/io/vertx/core/impl/EventLoopContext.java +++ b/src/main/java/io/vertx/core/impl/EventLoopContext.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; @@ -63,5 +58,5 @@ public class EventLoopContext extends ContextImpl { throw new IllegalStateException("Event delivered on unexpected thread " + current + " expected: " + contextThread); } } - + } diff --git a/src/main/java/io/vertx/core/impl/FailedFuture.java b/src/main/java/io/vertx/core/impl/FailedFuture.java index 55c467ac5..27404104d 100644 --- a/src/main/java/io/vertx/core/impl/FailedFuture.java +++ b/src/main/java/io/vertx/core/impl/FailedFuture.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.impl; import io.vertx.core.AsyncResult; diff --git a/src/main/java/io/vertx/core/impl/FailoverCompleteHandler.java b/src/main/java/io/vertx/core/impl/FailoverCompleteHandler.java index 0ff0f54dc..049a81230 100644 --- a/src/main/java/io/vertx/core/impl/FailoverCompleteHandler.java +++ b/src/main/java/io/vertx/core/impl/FailoverCompleteHandler.java @@ -1,17 +1,12 @@ /* * Copyright 2014 Red Hat, Inc. * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/FileResolver.java b/src/main/java/io/vertx/core/impl/FileResolver.java index 93f62c50f..bb12ca162 100644 --- a/src/main/java/io/vertx/core/impl/FileResolver.java +++ b/src/main/java/io/vertx/core/impl/FileResolver.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/FutureFactoryImpl.java b/src/main/java/io/vertx/core/impl/FutureFactoryImpl.java index 4a5bfa249..ea080cd9c 100644 --- a/src/main/java/io/vertx/core/impl/FutureFactoryImpl.java +++ b/src/main/java/io/vertx/core/impl/FutureFactoryImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/FutureImpl.java b/src/main/java/io/vertx/core/impl/FutureImpl.java index e9fd04bb1..c02704e82 100644 --- a/src/main/java/io/vertx/core/impl/FutureImpl.java +++ b/src/main/java/io/vertx/core/impl/FutureImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/HAManager.java b/src/main/java/io/vertx/core/impl/HAManager.java index a68fb6538..2e52945a3 100644 --- a/src/main/java/io/vertx/core/impl/HAManager.java +++ b/src/main/java/io/vertx/core/impl/HAManager.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/IsolatingClassLoader.java b/src/main/java/io/vertx/core/impl/IsolatingClassLoader.java index fb57e68e3..bfcee7f59 100644 --- a/src/main/java/io/vertx/core/impl/IsolatingClassLoader.java +++ b/src/main/java/io/vertx/core/impl/IsolatingClassLoader.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/JavaVerticleFactory.java b/src/main/java/io/vertx/core/impl/JavaVerticleFactory.java index e5765d691..4b603fff9 100644 --- a/src/main/java/io/vertx/core/impl/JavaVerticleFactory.java +++ b/src/main/java/io/vertx/core/impl/JavaVerticleFactory.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/MultiThreadedWorkerContext.java b/src/main/java/io/vertx/core/impl/MultiThreadedWorkerContext.java index c7424274f..88b6bc1cc 100644 --- a/src/main/java/io/vertx/core/impl/MultiThreadedWorkerContext.java +++ b/src/main/java/io/vertx/core/impl/MultiThreadedWorkerContext.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/NetSocketInternal.java b/src/main/java/io/vertx/core/impl/NetSocketInternal.java index c5dc5e2f8..865f63329 100644 --- a/src/main/java/io/vertx/core/impl/NetSocketInternal.java +++ b/src/main/java/io/vertx/core/impl/NetSocketInternal.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.impl; import io.netty.channel.ChannelHandler; diff --git a/src/main/java/io/vertx/core/impl/NoStackTraceThrowable.java b/src/main/java/io/vertx/core/impl/NoStackTraceThrowable.java index c249df68a..26851c73e 100644 --- a/src/main/java/io/vertx/core/impl/NoStackTraceThrowable.java +++ b/src/main/java/io/vertx/core/impl/NoStackTraceThrowable.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/StringEscapeUtils.java b/src/main/java/io/vertx/core/impl/StringEscapeUtils.java index e7185e1e0..40324dad8 100644 --- a/src/main/java/io/vertx/core/impl/StringEscapeUtils.java +++ b/src/main/java/io/vertx/core/impl/StringEscapeUtils.java @@ -1,21 +1,21 @@ /* -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright ownership. -* The ASF licenses this file to You 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 -* -* 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. -* -* Modified from original form by Tim Fox -*/ + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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 + * + * 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. + * + * Modified from original form by Tim Fox + */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/SucceededFuture.java b/src/main/java/io/vertx/core/impl/SucceededFuture.java index f9deec93f..eea175107 100644 --- a/src/main/java/io/vertx/core/impl/SucceededFuture.java +++ b/src/main/java/io/vertx/core/impl/SucceededFuture.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.impl; import io.vertx.core.AsyncResult; diff --git a/src/main/java/io/vertx/core/impl/TaskQueue.java b/src/main/java/io/vertx/core/impl/TaskQueue.java index 4e19dd649..2d6a852e5 100644 --- a/src/main/java/io/vertx/core/impl/TaskQueue.java +++ b/src/main/java/io/vertx/core/impl/TaskQueue.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.impl; import io.vertx.core.logging.Logger; diff --git a/src/main/java/io/vertx/core/impl/Utils.java b/src/main/java/io/vertx/core/impl/Utils.java index ee3f7fc19..aed136fdd 100644 --- a/src/main/java/io/vertx/core/impl/Utils.java +++ b/src/main/java/io/vertx/core/impl/Utils.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/VertxFactoryImpl.java b/src/main/java/io/vertx/core/impl/VertxFactoryImpl.java index 9b65a24b9..bf2426b37 100644 --- a/src/main/java/io/vertx/core/impl/VertxFactoryImpl.java +++ b/src/main/java/io/vertx/core/impl/VertxFactoryImpl.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.impl; import io.vertx.core.AsyncResult; diff --git a/src/main/java/io/vertx/core/impl/VertxImpl.java b/src/main/java/io/vertx/core/impl/VertxImpl.java index 869ad0ebf..8ea7e3a0a 100644 --- a/src/main/java/io/vertx/core/impl/VertxImpl.java +++ b/src/main/java/io/vertx/core/impl/VertxImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/VertxInternal.java b/src/main/java/io/vertx/core/impl/VertxInternal.java index 5ac10dd01..8b5b5faa5 100644 --- a/src/main/java/io/vertx/core/impl/VertxInternal.java +++ b/src/main/java/io/vertx/core/impl/VertxInternal.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/VertxThread.java b/src/main/java/io/vertx/core/impl/VertxThread.java index b41478d14..2a360e20e 100644 --- a/src/main/java/io/vertx/core/impl/VertxThread.java +++ b/src/main/java/io/vertx/core/impl/VertxThread.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/VertxThreadFactory.java b/src/main/java/io/vertx/core/impl/VertxThreadFactory.java index e6f7f7c49..dd86ec6c1 100644 --- a/src/main/java/io/vertx/core/impl/VertxThreadFactory.java +++ b/src/main/java/io/vertx/core/impl/VertxThreadFactory.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/WorkerContext.java b/src/main/java/io/vertx/core/impl/WorkerContext.java index f094979fa..85c0999ed 100644 --- a/src/main/java/io/vertx/core/impl/WorkerContext.java +++ b/src/main/java/io/vertx/core/impl/WorkerContext.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/WorkerExecutorImpl.java b/src/main/java/io/vertx/core/impl/WorkerExecutorImpl.java index b9c25c760..f1b99361e 100644 --- a/src/main/java/io/vertx/core/impl/WorkerExecutorImpl.java +++ b/src/main/java/io/vertx/core/impl/WorkerExecutorImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/WorkerExecutorInternal.java b/src/main/java/io/vertx/core/impl/WorkerExecutorInternal.java index e0b01032e..1e7c15a07 100644 --- a/src/main/java/io/vertx/core/impl/WorkerExecutorInternal.java +++ b/src/main/java/io/vertx/core/impl/WorkerExecutorInternal.java @@ -1,19 +1,13 @@ /* - * Copyright (c) 2011-2016 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ - package io.vertx.core.impl; import io.vertx.core.Vertx; diff --git a/src/main/java/io/vertx/core/impl/WorkerPool.java b/src/main/java/io/vertx/core/impl/WorkerPool.java index e73965a54..8a3f7327a 100644 --- a/src/main/java/io/vertx/core/impl/WorkerPool.java +++ b/src/main/java/io/vertx/core/impl/WorkerPool.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl; diff --git a/src/main/java/io/vertx/core/impl/cpu/CpuCoreSensor.java b/src/main/java/io/vertx/core/impl/cpu/CpuCoreSensor.java index ef32eea0d..5fe3a43c4 100644 --- a/src/main/java/io/vertx/core/impl/cpu/CpuCoreSensor.java +++ b/src/main/java/io/vertx/core/impl/cpu/CpuCoreSensor.java @@ -1,3 +1,14 @@ +/* + * Copyright 2011-2017 Contributors to the Eclipse Foundation + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 + */ + package io.vertx.core.impl.cpu; import io.vertx.core.impl.launcher.commands.ExecUtils; diff --git a/src/main/java/io/vertx/core/impl/launcher/CommandLineUtils.java b/src/main/java/io/vertx/core/impl/launcher/CommandLineUtils.java index 18e829075..a34747b4a 100644 --- a/src/main/java/io/vertx/core/impl/launcher/CommandLineUtils.java +++ b/src/main/java/io/vertx/core/impl/launcher/CommandLineUtils.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl.launcher; diff --git a/src/main/java/io/vertx/core/impl/launcher/ServiceCommandFactoryLoader.java b/src/main/java/io/vertx/core/impl/launcher/ServiceCommandFactoryLoader.java index 380fc0e1b..462e8a6b5 100644 --- a/src/main/java/io/vertx/core/impl/launcher/ServiceCommandFactoryLoader.java +++ b/src/main/java/io/vertx/core/impl/launcher/ServiceCommandFactoryLoader.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.impl.launcher; import io.vertx.core.ServiceHelper; diff --git a/src/main/java/io/vertx/core/impl/launcher/VertxCommandLauncher.java b/src/main/java/io/vertx/core/impl/launcher/VertxCommandLauncher.java index 9b37a7118..e5b71caf6 100644 --- a/src/main/java/io/vertx/core/impl/launcher/VertxCommandLauncher.java +++ b/src/main/java/io/vertx/core/impl/launcher/VertxCommandLauncher.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.impl.launcher; import io.vertx.core.cli.*; diff --git a/src/main/java/io/vertx/core/impl/launcher/VertxLifecycleHooks.java b/src/main/java/io/vertx/core/impl/launcher/VertxLifecycleHooks.java index 7454a05b3..a6ca1f775 100644 --- a/src/main/java/io/vertx/core/impl/launcher/VertxLifecycleHooks.java +++ b/src/main/java/io/vertx/core/impl/launcher/VertxLifecycleHooks.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.impl.launcher; import io.vertx.core.DeploymentOptions; diff --git a/src/main/java/io/vertx/core/impl/launcher/commands/BareCommand.java b/src/main/java/io/vertx/core/impl/launcher/commands/BareCommand.java index 5bd59fbdb..7f646c747 100644 --- a/src/main/java/io/vertx/core/impl/launcher/commands/BareCommand.java +++ b/src/main/java/io/vertx/core/impl/launcher/commands/BareCommand.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.impl.launcher.commands; import io.vertx.core.*; diff --git a/src/main/java/io/vertx/core/impl/launcher/commands/BareCommandFactory.java b/src/main/java/io/vertx/core/impl/launcher/commands/BareCommandFactory.java index 176bc359f..0f5bd89ad 100644 --- a/src/main/java/io/vertx/core/impl/launcher/commands/BareCommandFactory.java +++ b/src/main/java/io/vertx/core/impl/launcher/commands/BareCommandFactory.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl.launcher.commands; diff --git a/src/main/java/io/vertx/core/impl/launcher/commands/ClasspathHandler.java b/src/main/java/io/vertx/core/impl/launcher/commands/ClasspathHandler.java index a0eb0925d..9219e9c99 100644 --- a/src/main/java/io/vertx/core/impl/launcher/commands/ClasspathHandler.java +++ b/src/main/java/io/vertx/core/impl/launcher/commands/ClasspathHandler.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl.launcher.commands; diff --git a/src/main/java/io/vertx/core/impl/launcher/commands/ExecUtils.java b/src/main/java/io/vertx/core/impl/launcher/commands/ExecUtils.java index 9cd54ad7f..7da025f25 100644 --- a/src/main/java/io/vertx/core/impl/launcher/commands/ExecUtils.java +++ b/src/main/java/io/vertx/core/impl/launcher/commands/ExecUtils.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.impl.launcher.commands; import java.util.List; diff --git a/src/main/java/io/vertx/core/impl/launcher/commands/FileSelector.java b/src/main/java/io/vertx/core/impl/launcher/commands/FileSelector.java index 096ab4951..5aa58e94f 100644 --- a/src/main/java/io/vertx/core/impl/launcher/commands/FileSelector.java +++ b/src/main/java/io/vertx/core/impl/launcher/commands/FileSelector.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl.launcher.commands; diff --git a/src/main/java/io/vertx/core/impl/launcher/commands/ListCommand.java b/src/main/java/io/vertx/core/impl/launcher/commands/ListCommand.java index 5a0249aa1..1f6bdc0cb 100644 --- a/src/main/java/io/vertx/core/impl/launcher/commands/ListCommand.java +++ b/src/main/java/io/vertx/core/impl/launcher/commands/ListCommand.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl.launcher.commands; @@ -134,4 +129,4 @@ public class ListCommand extends DefaultCommand { // No details. return ""; } -} \ No newline at end of file +} diff --git a/src/main/java/io/vertx/core/impl/launcher/commands/ListCommandFactory.java b/src/main/java/io/vertx/core/impl/launcher/commands/ListCommandFactory.java index f41d6e632..8eb21436c 100644 --- a/src/main/java/io/vertx/core/impl/launcher/commands/ListCommandFactory.java +++ b/src/main/java/io/vertx/core/impl/launcher/commands/ListCommandFactory.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl.launcher.commands; diff --git a/src/main/java/io/vertx/core/impl/launcher/commands/RunCommand.java b/src/main/java/io/vertx/core/impl/launcher/commands/RunCommand.java index 7178147fb..b215810da 100644 --- a/src/main/java/io/vertx/core/impl/launcher/commands/RunCommand.java +++ b/src/main/java/io/vertx/core/impl/launcher/commands/RunCommand.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.impl.launcher.commands; import io.vertx.core.*; diff --git a/src/main/java/io/vertx/core/impl/launcher/commands/RunCommandFactory.java b/src/main/java/io/vertx/core/impl/launcher/commands/RunCommandFactory.java index 5229a7d20..9c666f866 100644 --- a/src/main/java/io/vertx/core/impl/launcher/commands/RunCommandFactory.java +++ b/src/main/java/io/vertx/core/impl/launcher/commands/RunCommandFactory.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl.launcher.commands; diff --git a/src/main/java/io/vertx/core/impl/launcher/commands/StartCommand.java b/src/main/java/io/vertx/core/impl/launcher/commands/StartCommand.java index fd257ab4c..f3ae0283f 100644 --- a/src/main/java/io/vertx/core/impl/launcher/commands/StartCommand.java +++ b/src/main/java/io/vertx/core/impl/launcher/commands/StartCommand.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl.launcher.commands; @@ -199,4 +194,4 @@ public class StartCommand extends DefaultCommand { } return id; } -} \ No newline at end of file +} diff --git a/src/main/java/io/vertx/core/impl/launcher/commands/StartCommandFactory.java b/src/main/java/io/vertx/core/impl/launcher/commands/StartCommandFactory.java index 14522d988..ea67dacff 100644 --- a/src/main/java/io/vertx/core/impl/launcher/commands/StartCommandFactory.java +++ b/src/main/java/io/vertx/core/impl/launcher/commands/StartCommandFactory.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl.launcher.commands; diff --git a/src/main/java/io/vertx/core/impl/launcher/commands/StopCommand.java b/src/main/java/io/vertx/core/impl/launcher/commands/StopCommand.java index 0e6a467a4..5ced3d521 100644 --- a/src/main/java/io/vertx/core/impl/launcher/commands/StopCommand.java +++ b/src/main/java/io/vertx/core/impl/launcher/commands/StopCommand.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl.launcher.commands; @@ -164,4 +159,4 @@ public class StopCommand extends DefaultCommand { } return null; } -} \ No newline at end of file +} diff --git a/src/main/java/io/vertx/core/impl/launcher/commands/StopCommandFactory.java b/src/main/java/io/vertx/core/impl/launcher/commands/StopCommandFactory.java index aa85ab51f..7c0645ceb 100644 --- a/src/main/java/io/vertx/core/impl/launcher/commands/StopCommandFactory.java +++ b/src/main/java/io/vertx/core/impl/launcher/commands/StopCommandFactory.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl.launcher.commands; diff --git a/src/main/java/io/vertx/core/impl/launcher/commands/VersionCommand.java b/src/main/java/io/vertx/core/impl/launcher/commands/VersionCommand.java index b81d9cdc2..7b928f44e 100644 --- a/src/main/java/io/vertx/core/impl/launcher/commands/VersionCommand.java +++ b/src/main/java/io/vertx/core/impl/launcher/commands/VersionCommand.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.impl.launcher.commands; import io.vertx.core.cli.CLIException; diff --git a/src/main/java/io/vertx/core/impl/launcher/commands/VersionCommandFactory.java b/src/main/java/io/vertx/core/impl/launcher/commands/VersionCommandFactory.java index 325efe83d..7aad2bb4c 100644 --- a/src/main/java/io/vertx/core/impl/launcher/commands/VersionCommandFactory.java +++ b/src/main/java/io/vertx/core/impl/launcher/commands/VersionCommandFactory.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl.launcher.commands; diff --git a/src/main/java/io/vertx/core/impl/launcher/commands/VertxIsolatedDeployer.java b/src/main/java/io/vertx/core/impl/launcher/commands/VertxIsolatedDeployer.java index 9b964bf86..9b6db0e66 100644 --- a/src/main/java/io/vertx/core/impl/launcher/commands/VertxIsolatedDeployer.java +++ b/src/main/java/io/vertx/core/impl/launcher/commands/VertxIsolatedDeployer.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.impl.launcher.commands; import io.vertx.core.*; diff --git a/src/main/java/io/vertx/core/impl/launcher/commands/Watcher.java b/src/main/java/io/vertx/core/impl/launcher/commands/Watcher.java index c94b728cd..599644a48 100644 --- a/src/main/java/io/vertx/core/impl/launcher/commands/Watcher.java +++ b/src/main/java/io/vertx/core/impl/launcher/commands/Watcher.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl.launcher.commands; diff --git a/src/main/java/io/vertx/core/impl/resolver/DefaultResolverProvider.java b/src/main/java/io/vertx/core/impl/resolver/DefaultResolverProvider.java index 7391474b6..65c7a915c 100644 --- a/src/main/java/io/vertx/core/impl/resolver/DefaultResolverProvider.java +++ b/src/main/java/io/vertx/core/impl/resolver/DefaultResolverProvider.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.impl.resolver; import io.netty.resolver.AddressResolverGroup; diff --git a/src/main/java/io/vertx/core/impl/resolver/DnsResolverProvider.java b/src/main/java/io/vertx/core/impl/resolver/DnsResolverProvider.java index b530f4ede..ad3755986 100644 --- a/src/main/java/io/vertx/core/impl/resolver/DnsResolverProvider.java +++ b/src/main/java/io/vertx/core/impl/resolver/DnsResolverProvider.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.impl.resolver; import io.netty.channel.ChannelFactory; diff --git a/src/main/java/io/vertx/core/impl/verticle/CompilingClassLoader.java b/src/main/java/io/vertx/core/impl/verticle/CompilingClassLoader.java index cfa08d93b..bbecb4be0 100644 --- a/src/main/java/io/vertx/core/impl/verticle/CompilingClassLoader.java +++ b/src/main/java/io/vertx/core/impl/verticle/CompilingClassLoader.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl.verticle; diff --git a/src/main/java/io/vertx/core/impl/verticle/CustomJavaFileObject.java b/src/main/java/io/vertx/core/impl/verticle/CustomJavaFileObject.java index c545d3d48..fbf8b0aa5 100644 --- a/src/main/java/io/vertx/core/impl/verticle/CustomJavaFileObject.java +++ b/src/main/java/io/vertx/core/impl/verticle/CustomJavaFileObject.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl.verticle; @@ -105,4 +100,4 @@ public class CustomJavaFileObject implements JavaFileObject { public String toString() { return getClass().getName() + '[' + toUri() + ']'; } -} \ No newline at end of file +} diff --git a/src/main/java/io/vertx/core/impl/verticle/JavaSourceContext.java b/src/main/java/io/vertx/core/impl/verticle/JavaSourceContext.java index 59136a0c1..bc0412be0 100644 --- a/src/main/java/io/vertx/core/impl/verticle/JavaSourceContext.java +++ b/src/main/java/io/vertx/core/impl/verticle/JavaSourceContext.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl.verticle; diff --git a/src/main/java/io/vertx/core/impl/verticle/MemoryFileManager.java b/src/main/java/io/vertx/core/impl/verticle/MemoryFileManager.java index 915846299..e44754e90 100644 --- a/src/main/java/io/vertx/core/impl/verticle/MemoryFileManager.java +++ b/src/main/java/io/vertx/core/impl/verticle/MemoryFileManager.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.impl.verticle; diff --git a/src/main/java/io/vertx/core/impl/verticle/PackageHelper.java b/src/main/java/io/vertx/core/impl/verticle/PackageHelper.java index 6aebb0388..3bb81974e 100644 --- a/src/main/java/io/vertx/core/impl/verticle/PackageHelper.java +++ b/src/main/java/io/vertx/core/impl/verticle/PackageHelper.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.impl.verticle; import javax.tools.JavaFileObject; @@ -98,4 +94,4 @@ public class PackageHelper { } return result; } -} \ No newline at end of file +} diff --git a/src/main/java/io/vertx/core/json/DecodeException.java b/src/main/java/io/vertx/core/json/DecodeException.java index 3bc2d05c2..49a3d2839 100644 --- a/src/main/java/io/vertx/core/json/DecodeException.java +++ b/src/main/java/io/vertx/core/json/DecodeException.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.json; diff --git a/src/main/java/io/vertx/core/json/EncodeException.java b/src/main/java/io/vertx/core/json/EncodeException.java index 127019ad6..2c3e9ea52 100644 --- a/src/main/java/io/vertx/core/json/EncodeException.java +++ b/src/main/java/io/vertx/core/json/EncodeException.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.json; diff --git a/src/main/java/io/vertx/core/json/Json.java b/src/main/java/io/vertx/core/json/Json.java index ee6744f1d..8771d499e 100644 --- a/src/main/java/io/vertx/core/json/Json.java +++ b/src/main/java/io/vertx/core/json/Json.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.json; diff --git a/src/main/java/io/vertx/core/json/JsonArray.java b/src/main/java/io/vertx/core/json/JsonArray.java index 701849bad..0f35a247b 100644 --- a/src/main/java/io/vertx/core/json/JsonArray.java +++ b/src/main/java/io/vertx/core/json/JsonArray.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.json; diff --git a/src/main/java/io/vertx/core/json/JsonObject.java b/src/main/java/io/vertx/core/json/JsonObject.java index 41f83d3f4..c31a56bd4 100644 --- a/src/main/java/io/vertx/core/json/JsonObject.java +++ b/src/main/java/io/vertx/core/json/JsonObject.java @@ -1,19 +1,13 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ - package io.vertx.core.json; import io.vertx.codegen.annotations.Fluent; diff --git a/src/main/java/io/vertx/core/logging/JULLogDelegate.java b/src/main/java/io/vertx/core/logging/JULLogDelegate.java index 28fda647f..c360ba1a6 100644 --- a/src/main/java/io/vertx/core/logging/JULLogDelegate.java +++ b/src/main/java/io/vertx/core/logging/JULLogDelegate.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2009 Red Hat, Inc. - * ------------------------------------- - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright (c) 2009 Red Hat, Inc. and others * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.logging; diff --git a/src/main/java/io/vertx/core/logging/JULLogDelegateFactory.java b/src/main/java/io/vertx/core/logging/JULLogDelegateFactory.java index 702a022f0..78cca9198 100644 --- a/src/main/java/io/vertx/core/logging/JULLogDelegateFactory.java +++ b/src/main/java/io/vertx/core/logging/JULLogDelegateFactory.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2009 Red Hat, Inc. - * ------------------------------------- - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright (c) 2009 Red Hat, Inc. and others * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.logging; diff --git a/src/main/java/io/vertx/core/logging/Log4j2LogDelegate.java b/src/main/java/io/vertx/core/logging/Log4j2LogDelegate.java index e296ef72d..78863231d 100644 --- a/src/main/java/io/vertx/core/logging/Log4j2LogDelegate.java +++ b/src/main/java/io/vertx/core/logging/Log4j2LogDelegate.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.logging; diff --git a/src/main/java/io/vertx/core/logging/Log4j2LogDelegateFactory.java b/src/main/java/io/vertx/core/logging/Log4j2LogDelegateFactory.java index cea3e579c..079d8990b 100644 --- a/src/main/java/io/vertx/core/logging/Log4j2LogDelegateFactory.java +++ b/src/main/java/io/vertx/core/logging/Log4j2LogDelegateFactory.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.logging; diff --git a/src/main/java/io/vertx/core/logging/Log4jLogDelegate.java b/src/main/java/io/vertx/core/logging/Log4jLogDelegate.java index c1f3b603a..a6116064c 100644 --- a/src/main/java/io/vertx/core/logging/Log4jLogDelegate.java +++ b/src/main/java/io/vertx/core/logging/Log4jLogDelegate.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2009 Red Hat, Inc. - * ------------------------------------- - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright (c) 2009 Red Hat, Inc. and others * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.logging; diff --git a/src/main/java/io/vertx/core/logging/Log4jLogDelegateFactory.java b/src/main/java/io/vertx/core/logging/Log4jLogDelegateFactory.java index a6401897e..3a5a0f6b7 100644 --- a/src/main/java/io/vertx/core/logging/Log4jLogDelegateFactory.java +++ b/src/main/java/io/vertx/core/logging/Log4jLogDelegateFactory.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2009 Red Hat, Inc. - * ------------------------------------- - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright (c) 2009 Red Hat, Inc. and others * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.logging; diff --git a/src/main/java/io/vertx/core/logging/Logger.java b/src/main/java/io/vertx/core/logging/Logger.java index eae8cb038..8666ff871 100644 --- a/src/main/java/io/vertx/core/logging/Logger.java +++ b/src/main/java/io/vertx/core/logging/Logger.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2009 Red Hat, Inc. - * ------------------------------------- - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright (c) 2009 Red Hat, Inc. and others * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.logging; diff --git a/src/main/java/io/vertx/core/logging/LoggerFactory.java b/src/main/java/io/vertx/core/logging/LoggerFactory.java index ea7b8417f..16a1c5c77 100644 --- a/src/main/java/io/vertx/core/logging/LoggerFactory.java +++ b/src/main/java/io/vertx/core/logging/LoggerFactory.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2009 Red Hat, Inc. - * ------------------------------------- - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright (c) 2009 Red Hat, Inc. and others * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.logging; diff --git a/src/main/java/io/vertx/core/logging/SLF4JLogDelegate.java b/src/main/java/io/vertx/core/logging/SLF4JLogDelegate.java index 5f618e0dd..8ced1b2bc 100644 --- a/src/main/java/io/vertx/core/logging/SLF4JLogDelegate.java +++ b/src/main/java/io/vertx/core/logging/SLF4JLogDelegate.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2009 Red Hat, Inc. - * ------------------------------------- - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright (c) 2009 Red Hat, Inc. and others * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.logging; diff --git a/src/main/java/io/vertx/core/logging/SLF4JLogDelegateFactory.java b/src/main/java/io/vertx/core/logging/SLF4JLogDelegateFactory.java index a51660088..85f2203be 100644 --- a/src/main/java/io/vertx/core/logging/SLF4JLogDelegateFactory.java +++ b/src/main/java/io/vertx/core/logging/SLF4JLogDelegateFactory.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2009 Red Hat, Inc. - * ------------------------------------- - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright (c) 2009 Red Hat, Inc. and others * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.logging; diff --git a/src/main/java/io/vertx/core/logging/VertxLoggerFormatter.java b/src/main/java/io/vertx/core/logging/VertxLoggerFormatter.java index 172805e1c..abf9f1b85 100644 --- a/src/main/java/io/vertx/core/logging/VertxLoggerFormatter.java +++ b/src/main/java/io/vertx/core/logging/VertxLoggerFormatter.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2009 Red Hat, Inc. - * ------------------------------------- - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright (c) 2009 Red Hat, Inc. and others * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.logging; diff --git a/src/main/java/io/vertx/core/metrics/Measured.java b/src/main/java/io/vertx/core/metrics/Measured.java index 169694fe6..0ac58cf57 100644 --- a/src/main/java/io/vertx/core/metrics/Measured.java +++ b/src/main/java/io/vertx/core/metrics/Measured.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.metrics; diff --git a/src/main/java/io/vertx/core/metrics/MetricsOptions.java b/src/main/java/io/vertx/core/metrics/MetricsOptions.java index 7f6095651..bb4d65803 100644 --- a/src/main/java/io/vertx/core/metrics/MetricsOptions.java +++ b/src/main/java/io/vertx/core/metrics/MetricsOptions.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.metrics; diff --git a/src/main/java/io/vertx/core/metrics/impl/DummyVertxMetrics.java b/src/main/java/io/vertx/core/metrics/impl/DummyVertxMetrics.java index eaffbec8c..5e5f7065b 100644 --- a/src/main/java/io/vertx/core/metrics/impl/DummyVertxMetrics.java +++ b/src/main/java/io/vertx/core/metrics/impl/DummyVertxMetrics.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.metrics.impl; @@ -422,4 +417,4 @@ public class DummyVertxMetrics implements VertxMetrics { public void close() { } } -} \ No newline at end of file +} diff --git a/src/main/java/io/vertx/core/metrics/package-info.java b/src/main/java/io/vertx/core/metrics/package-info.java index b49e746ca..24e31e57f 100644 --- a/src/main/java/io/vertx/core/metrics/package-info.java +++ b/src/main/java/io/vertx/core/metrics/package-info.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.metrics; diff --git a/src/main/java/io/vertx/core/net/ClientOptionsBase.java b/src/main/java/io/vertx/core/net/ClientOptionsBase.java index 8c9afdfac..f72887bfe 100644 --- a/src/main/java/io/vertx/core/net/ClientOptionsBase.java +++ b/src/main/java/io/vertx/core/net/ClientOptionsBase.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net; diff --git a/src/main/java/io/vertx/core/net/JdkSSLEngineOptions.java b/src/main/java/io/vertx/core/net/JdkSSLEngineOptions.java index 14497697d..2706b8607 100644 --- a/src/main/java/io/vertx/core/net/JdkSSLEngineOptions.java +++ b/src/main/java/io/vertx/core/net/JdkSSLEngineOptions.java @@ -1,3 +1,14 @@ +/* + * Copyright 2011-2017 Contributors to the Eclipse Foundation + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 + */ + package io.vertx.core.net; import io.vertx.codegen.annotations.DataObject; diff --git a/src/main/java/io/vertx/core/net/JksOptions.java b/src/main/java/io/vertx/core/net/JksOptions.java index dc8ad9bfd..93cff05f4 100644 --- a/src/main/java/io/vertx/core/net/JksOptions.java +++ b/src/main/java/io/vertx/core/net/JksOptions.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net; diff --git a/src/main/java/io/vertx/core/net/KeyCertOptions.java b/src/main/java/io/vertx/core/net/KeyCertOptions.java index f2625542e..d107cdb8e 100644 --- a/src/main/java/io/vertx/core/net/KeyCertOptions.java +++ b/src/main/java/io/vertx/core/net/KeyCertOptions.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.net; import io.vertx.core.Vertx; diff --git a/src/main/java/io/vertx/core/net/NetClient.java b/src/main/java/io/vertx/core/net/NetClient.java index 75b618a61..31ec60cd9 100644 --- a/src/main/java/io/vertx/core/net/NetClient.java +++ b/src/main/java/io/vertx/core/net/NetClient.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net; diff --git a/src/main/java/io/vertx/core/net/NetClientOptions.java b/src/main/java/io/vertx/core/net/NetClientOptions.java index 129f171a2..d3709e639 100644 --- a/src/main/java/io/vertx/core/net/NetClientOptions.java +++ b/src/main/java/io/vertx/core/net/NetClientOptions.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net; diff --git a/src/main/java/io/vertx/core/net/NetServer.java b/src/main/java/io/vertx/core/net/NetServer.java index f7c01bd9b..66051006f 100644 --- a/src/main/java/io/vertx/core/net/NetServer.java +++ b/src/main/java/io/vertx/core/net/NetServer.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net; diff --git a/src/main/java/io/vertx/core/net/NetServerOptions.java b/src/main/java/io/vertx/core/net/NetServerOptions.java index 6e4c98cad..18efc8f2c 100644 --- a/src/main/java/io/vertx/core/net/NetServerOptions.java +++ b/src/main/java/io/vertx/core/net/NetServerOptions.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net; diff --git a/src/main/java/io/vertx/core/net/NetSocket.java b/src/main/java/io/vertx/core/net/NetSocket.java index 967fd71bd..45b881530 100644 --- a/src/main/java/io/vertx/core/net/NetSocket.java +++ b/src/main/java/io/vertx/core/net/NetSocket.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net; diff --git a/src/main/java/io/vertx/core/net/NetworkOptions.java b/src/main/java/io/vertx/core/net/NetworkOptions.java index 646760a39..effb0847f 100644 --- a/src/main/java/io/vertx/core/net/NetworkOptions.java +++ b/src/main/java/io/vertx/core/net/NetworkOptions.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net; diff --git a/src/main/java/io/vertx/core/net/OpenSSLEngineOptions.java b/src/main/java/io/vertx/core/net/OpenSSLEngineOptions.java index 9fc085e98..781bc31ca 100644 --- a/src/main/java/io/vertx/core/net/OpenSSLEngineOptions.java +++ b/src/main/java/io/vertx/core/net/OpenSSLEngineOptions.java @@ -1,3 +1,14 @@ +/* + * Copyright 2011-2017 Contributors to the Eclipse Foundation + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 + */ + package io.vertx.core.net; import io.netty.handler.ssl.OpenSsl; diff --git a/src/main/java/io/vertx/core/net/PemKeyCertOptions.java b/src/main/java/io/vertx/core/net/PemKeyCertOptions.java index 69a7a8802..b5fbf6558 100644 --- a/src/main/java/io/vertx/core/net/PemKeyCertOptions.java +++ b/src/main/java/io/vertx/core/net/PemKeyCertOptions.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net; diff --git a/src/main/java/io/vertx/core/net/PemTrustOptions.java b/src/main/java/io/vertx/core/net/PemTrustOptions.java index c41a01977..95fc41b5e 100644 --- a/src/main/java/io/vertx/core/net/PemTrustOptions.java +++ b/src/main/java/io/vertx/core/net/PemTrustOptions.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net; diff --git a/src/main/java/io/vertx/core/net/PfxOptions.java b/src/main/java/io/vertx/core/net/PfxOptions.java index a28844dc9..bf7261bbf 100644 --- a/src/main/java/io/vertx/core/net/PfxOptions.java +++ b/src/main/java/io/vertx/core/net/PfxOptions.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net; diff --git a/src/main/java/io/vertx/core/net/ProxyOptions.java b/src/main/java/io/vertx/core/net/ProxyOptions.java index f1543be48..622439816 100644 --- a/src/main/java/io/vertx/core/net/ProxyOptions.java +++ b/src/main/java/io/vertx/core/net/ProxyOptions.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net; diff --git a/src/main/java/io/vertx/core/net/ProxyType.java b/src/main/java/io/vertx/core/net/ProxyType.java index b90af05bc..8eb5d5756 100644 --- a/src/main/java/io/vertx/core/net/ProxyType.java +++ b/src/main/java/io/vertx/core/net/ProxyType.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net; diff --git a/src/main/java/io/vertx/core/net/SSLEngineOptions.java b/src/main/java/io/vertx/core/net/SSLEngineOptions.java index bc7a8540d..0a789390f 100644 --- a/src/main/java/io/vertx/core/net/SSLEngineOptions.java +++ b/src/main/java/io/vertx/core/net/SSLEngineOptions.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net; diff --git a/src/main/java/io/vertx/core/net/SelfSignedCertificate.java b/src/main/java/io/vertx/core/net/SelfSignedCertificate.java index 2485c32f2..84f716667 100644 --- a/src/main/java/io/vertx/core/net/SelfSignedCertificate.java +++ b/src/main/java/io/vertx/core/net/SelfSignedCertificate.java @@ -1,17 +1,12 @@ /* * Copyright (c) 2017 Red Hat, Inc. and/or its affiliates. - * ------------------------------------------------------- - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net; diff --git a/src/main/java/io/vertx/core/net/ServerOptionsBase.java b/src/main/java/io/vertx/core/net/ServerOptionsBase.java index 9661fa8ef..c80819cfd 100644 --- a/src/main/java/io/vertx/core/net/ServerOptionsBase.java +++ b/src/main/java/io/vertx/core/net/ServerOptionsBase.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net; diff --git a/src/main/java/io/vertx/core/net/SocketAddress.java b/src/main/java/io/vertx/core/net/SocketAddress.java index 0f78d8189..47283cfe8 100644 --- a/src/main/java/io/vertx/core/net/SocketAddress.java +++ b/src/main/java/io/vertx/core/net/SocketAddress.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net; diff --git a/src/main/java/io/vertx/core/net/TCPSSLOptions.java b/src/main/java/io/vertx/core/net/TCPSSLOptions.java index 892db3463..bf70dff3b 100644 --- a/src/main/java/io/vertx/core/net/TCPSSLOptions.java +++ b/src/main/java/io/vertx/core/net/TCPSSLOptions.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net; diff --git a/src/main/java/io/vertx/core/net/TrustOptions.java b/src/main/java/io/vertx/core/net/TrustOptions.java index 72a5109b5..501f544be 100644 --- a/src/main/java/io/vertx/core/net/TrustOptions.java +++ b/src/main/java/io/vertx/core/net/TrustOptions.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.net; import io.vertx.core.Vertx; diff --git a/src/main/java/io/vertx/core/net/impl/AsyncResolveConnectHelper.java b/src/main/java/io/vertx/core/net/impl/AsyncResolveConnectHelper.java index 2a94d3b18..ca20c3523 100644 --- a/src/main/java/io/vertx/core/net/impl/AsyncResolveConnectHelper.java +++ b/src/main/java/io/vertx/core/net/impl/AsyncResolveConnectHelper.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net.impl; diff --git a/src/main/java/io/vertx/core/net/impl/ChannelProvider.java b/src/main/java/io/vertx/core/net/impl/ChannelProvider.java index bfd6588e4..406953650 100644 --- a/src/main/java/io/vertx/core/net/impl/ChannelProvider.java +++ b/src/main/java/io/vertx/core/net/impl/ChannelProvider.java @@ -1,3 +1,14 @@ +/* + * Copyright 2011-2017 Contributors to the Eclipse Foundation + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 + */ + package io.vertx.core.net.impl; import io.netty.bootstrap.Bootstrap; diff --git a/src/main/java/io/vertx/core/net/impl/ConnectionBase.java b/src/main/java/io/vertx/core/net/impl/ConnectionBase.java index 8da611b29..6c340f1f5 100644 --- a/src/main/java/io/vertx/core/net/impl/ConnectionBase.java +++ b/src/main/java/io/vertx/core/net/impl/ConnectionBase.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net.impl; diff --git a/src/main/java/io/vertx/core/net/impl/HandlerHolder.java b/src/main/java/io/vertx/core/net/impl/HandlerHolder.java index 575479f78..96f8ceb46 100644 --- a/src/main/java/io/vertx/core/net/impl/HandlerHolder.java +++ b/src/main/java/io/vertx/core/net/impl/HandlerHolder.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net.impl; diff --git a/src/main/java/io/vertx/core/net/impl/HandlerManager.java b/src/main/java/io/vertx/core/net/impl/HandlerManager.java index 8912c3323..fafb4404b 100644 --- a/src/main/java/io/vertx/core/net/impl/HandlerManager.java +++ b/src/main/java/io/vertx/core/net/impl/HandlerManager.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net.impl; diff --git a/src/main/java/io/vertx/core/net/impl/KeyStoreHelper.java b/src/main/java/io/vertx/core/net/impl/KeyStoreHelper.java index 587e08599..bd12c0d44 100644 --- a/src/main/java/io/vertx/core/net/impl/KeyStoreHelper.java +++ b/src/main/java/io/vertx/core/net/impl/KeyStoreHelper.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.net.impl; import io.vertx.core.VertxException; diff --git a/src/main/java/io/vertx/core/net/impl/NetClientImpl.java b/src/main/java/io/vertx/core/net/impl/NetClientImpl.java index 513a5d4ed..3c86db6ed 100644 --- a/src/main/java/io/vertx/core/net/impl/NetClientImpl.java +++ b/src/main/java/io/vertx/core/net/impl/NetClientImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net.impl; diff --git a/src/main/java/io/vertx/core/net/impl/NetServerImpl.java b/src/main/java/io/vertx/core/net/impl/NetServerImpl.java index 0136a7370..e9329c0ee 100644 --- a/src/main/java/io/vertx/core/net/impl/NetServerImpl.java +++ b/src/main/java/io/vertx/core/net/impl/NetServerImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net.impl; diff --git a/src/main/java/io/vertx/core/net/impl/NetSocketImpl.java b/src/main/java/io/vertx/core/net/impl/NetSocketImpl.java index 184a46523..12f07cfe9 100644 --- a/src/main/java/io/vertx/core/net/impl/NetSocketImpl.java +++ b/src/main/java/io/vertx/core/net/impl/NetSocketImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net.impl; diff --git a/src/main/java/io/vertx/core/net/impl/PartialPooledByteBufAllocator.java b/src/main/java/io/vertx/core/net/impl/PartialPooledByteBufAllocator.java index a396d3776..df162e146 100644 --- a/src/main/java/io/vertx/core/net/impl/PartialPooledByteBufAllocator.java +++ b/src/main/java/io/vertx/core/net/impl/PartialPooledByteBufAllocator.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.net.impl; diff --git a/src/main/java/io/vertx/core/net/impl/ProxyChannelProvider.java b/src/main/java/io/vertx/core/net/impl/ProxyChannelProvider.java index 7b840c03a..30a701914 100644 --- a/src/main/java/io/vertx/core/net/impl/ProxyChannelProvider.java +++ b/src/main/java/io/vertx/core/net/impl/ProxyChannelProvider.java @@ -1,3 +1,14 @@ +/* + * Copyright 2011-2017 Contributors to the Eclipse Foundation + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 + */ + package io.vertx.core.net.impl; import io.netty.bootstrap.Bootstrap; diff --git a/src/main/java/io/vertx/core/net/impl/SSLHelper.java b/src/main/java/io/vertx/core/net/impl/SSLHelper.java index f1dc51d9a..57c73cb8b 100644 --- a/src/main/java/io/vertx/core/net/impl/SSLHelper.java +++ b/src/main/java/io/vertx/core/net/impl/SSLHelper.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net.impl; diff --git a/src/main/java/io/vertx/core/net/impl/SelfSignedCertificateImpl.java b/src/main/java/io/vertx/core/net/impl/SelfSignedCertificateImpl.java index 65dc81fc1..fdae66f46 100644 --- a/src/main/java/io/vertx/core/net/impl/SelfSignedCertificateImpl.java +++ b/src/main/java/io/vertx/core/net/impl/SelfSignedCertificateImpl.java @@ -1,17 +1,12 @@ /* * Copyright (c) 2017 Red Hat, Inc. and/or its affiliates. - * ------------------------------------------------------- - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net.impl; diff --git a/src/main/java/io/vertx/core/net/impl/ServerID.java b/src/main/java/io/vertx/core/net/impl/ServerID.java index 3ddd33d4d..ac9b589a8 100644 --- a/src/main/java/io/vertx/core/net/impl/ServerID.java +++ b/src/main/java/io/vertx/core/net/impl/ServerID.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net.impl; diff --git a/src/main/java/io/vertx/core/net/impl/SocketAddressImpl.java b/src/main/java/io/vertx/core/net/impl/SocketAddressImpl.java index 06926fc53..d2e8d28e9 100644 --- a/src/main/java/io/vertx/core/net/impl/SocketAddressImpl.java +++ b/src/main/java/io/vertx/core/net/impl/SocketAddressImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net.impl; diff --git a/src/main/java/io/vertx/core/net/impl/TrustAllTrustManager.java b/src/main/java/io/vertx/core/net/impl/TrustAllTrustManager.java index b8bb1575b..cd75a8cbe 100644 --- a/src/main/java/io/vertx/core/net/impl/TrustAllTrustManager.java +++ b/src/main/java/io/vertx/core/net/impl/TrustAllTrustManager.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.net.impl; import javax.net.ssl.X509TrustManager; diff --git a/src/main/java/io/vertx/core/net/impl/VertxEventLoopGroup.java b/src/main/java/io/vertx/core/net/impl/VertxEventLoopGroup.java index 27a3dc7ec..4b29df9a3 100644 --- a/src/main/java/io/vertx/core/net/impl/VertxEventLoopGroup.java +++ b/src/main/java/io/vertx/core/net/impl/VertxEventLoopGroup.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net.impl; diff --git a/src/main/java/io/vertx/core/net/impl/VertxHandler.java b/src/main/java/io/vertx/core/net/impl/VertxHandler.java index f684e0d31..c66a6270d 100644 --- a/src/main/java/io/vertx/core/net/impl/VertxHandler.java +++ b/src/main/java/io/vertx/core/net/impl/VertxHandler.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.net.impl; import io.netty.buffer.ByteBuf; diff --git a/src/main/java/io/vertx/core/net/impl/VertxNetHandler.java b/src/main/java/io/vertx/core/net/impl/VertxNetHandler.java index 11bac0ee2..c284887a7 100644 --- a/src/main/java/io/vertx/core/net/impl/VertxNetHandler.java +++ b/src/main/java/io/vertx/core/net/impl/VertxNetHandler.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.net.impl; diff --git a/src/main/java/io/vertx/core/net/impl/VertxSniHandler.java b/src/main/java/io/vertx/core/net/impl/VertxSniHandler.java index 7ea494a39..621f55022 100644 --- a/src/main/java/io/vertx/core/net/impl/VertxSniHandler.java +++ b/src/main/java/io/vertx/core/net/impl/VertxSniHandler.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.net.impl; import io.netty.channel.Channel; diff --git a/src/main/java/io/vertx/core/net/impl/VertxTrustManagerFactory.java b/src/main/java/io/vertx/core/net/impl/VertxTrustManagerFactory.java index c4201b11b..86105653f 100644 --- a/src/main/java/io/vertx/core/net/impl/VertxTrustManagerFactory.java +++ b/src/main/java/io/vertx/core/net/impl/VertxTrustManagerFactory.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.net.impl; import javax.net.ssl.ManagerFactoryParameters; diff --git a/src/main/java/io/vertx/core/net/impl/pkcs1/PrivateKeyParser.java b/src/main/java/io/vertx/core/net/impl/pkcs1/PrivateKeyParser.java index 297fc0752..e61099112 100644 --- a/src/main/java/io/vertx/core/net/impl/pkcs1/PrivateKeyParser.java +++ b/src/main/java/io/vertx/core/net/impl/pkcs1/PrivateKeyParser.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.net.impl.pkcs1; import io.vertx.core.VertxException; diff --git a/src/main/java/io/vertx/core/net/impl/transport/EpollTransport.java b/src/main/java/io/vertx/core/net/impl/transport/EpollTransport.java index fdcc7ca1b..b6b8e266f 100644 --- a/src/main/java/io/vertx/core/net/impl/transport/EpollTransport.java +++ b/src/main/java/io/vertx/core/net/impl/transport/EpollTransport.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2017 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.net.impl.transport; import io.netty.channel.Channel; diff --git a/src/main/java/io/vertx/core/net/impl/transport/KQueueTransport.java b/src/main/java/io/vertx/core/net/impl/transport/KQueueTransport.java index 5c317c361..bac17d569 100644 --- a/src/main/java/io/vertx/core/net/impl/transport/KQueueTransport.java +++ b/src/main/java/io/vertx/core/net/impl/transport/KQueueTransport.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2017 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.net.impl.transport; import io.netty.channel.Channel; diff --git a/src/main/java/io/vertx/core/net/impl/transport/Transport.java b/src/main/java/io/vertx/core/net/impl/transport/Transport.java index c1ce3c2a9..d3c093312 100644 --- a/src/main/java/io/vertx/core/net/impl/transport/Transport.java +++ b/src/main/java/io/vertx/core/net/impl/transport/Transport.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2017 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.net.impl.transport; import io.netty.bootstrap.Bootstrap; diff --git a/src/main/java/io/vertx/core/net/package-info.java b/src/main/java/io/vertx/core/net/package-info.java index e6088cbd1..cc5d12533 100644 --- a/src/main/java/io/vertx/core/net/package-info.java +++ b/src/main/java/io/vertx/core/net/package-info.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ /** diff --git a/src/main/java/io/vertx/core/package-info.java b/src/main/java/io/vertx/core/package-info.java index 05b3b9598..d1401b49a 100644 --- a/src/main/java/io/vertx/core/package-info.java +++ b/src/main/java/io/vertx/core/package-info.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ /** diff --git a/src/main/java/io/vertx/core/parsetools/JsonEvent.java b/src/main/java/io/vertx/core/parsetools/JsonEvent.java index afbf44e89..97139851f 100644 --- a/src/main/java/io/vertx/core/parsetools/JsonEvent.java +++ b/src/main/java/io/vertx/core/parsetools/JsonEvent.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2017 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.parsetools; import com.fasterxml.jackson.core.type.TypeReference; diff --git a/src/main/java/io/vertx/core/parsetools/JsonEventType.java b/src/main/java/io/vertx/core/parsetools/JsonEventType.java index aa313ba9c..9a0485aaf 100644 --- a/src/main/java/io/vertx/core/parsetools/JsonEventType.java +++ b/src/main/java/io/vertx/core/parsetools/JsonEventType.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2017 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.parsetools; /** diff --git a/src/main/java/io/vertx/core/parsetools/JsonParser.java b/src/main/java/io/vertx/core/parsetools/JsonParser.java index 91219551d..896f1303a 100644 --- a/src/main/java/io/vertx/core/parsetools/JsonParser.java +++ b/src/main/java/io/vertx/core/parsetools/JsonParser.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2017 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.parsetools; import io.vertx.codegen.annotations.Fluent; diff --git a/src/main/java/io/vertx/core/parsetools/RecordParser.java b/src/main/java/io/vertx/core/parsetools/RecordParser.java index 16cd10a3d..d86a37e45 100644 --- a/src/main/java/io/vertx/core/parsetools/RecordParser.java +++ b/src/main/java/io/vertx/core/parsetools/RecordParser.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.parsetools; diff --git a/src/main/java/io/vertx/core/parsetools/impl/JsonEventImpl.java b/src/main/java/io/vertx/core/parsetools/impl/JsonEventImpl.java index 79fb0a865..ed33b1b59 100644 --- a/src/main/java/io/vertx/core/parsetools/impl/JsonEventImpl.java +++ b/src/main/java/io/vertx/core/parsetools/impl/JsonEventImpl.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2017 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.parsetools.impl; import com.fasterxml.jackson.core.type.TypeReference; diff --git a/src/main/java/io/vertx/core/parsetools/impl/JsonParserImpl.java b/src/main/java/io/vertx/core/parsetools/impl/JsonParserImpl.java index 0c697f461..3ebc6a732 100644 --- a/src/main/java/io/vertx/core/parsetools/impl/JsonParserImpl.java +++ b/src/main/java/io/vertx/core/parsetools/impl/JsonParserImpl.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2017 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.parsetools.impl; import com.fasterxml.jackson.core.JsonFactory; diff --git a/src/main/java/io/vertx/core/parsetools/impl/RecordParserImpl.java b/src/main/java/io/vertx/core/parsetools/impl/RecordParserImpl.java index 0c646b103..d1b1af9b2 100644 --- a/src/main/java/io/vertx/core/parsetools/impl/RecordParserImpl.java +++ b/src/main/java/io/vertx/core/parsetools/impl/RecordParserImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.parsetools.impl; diff --git a/src/main/java/io/vertx/core/parsetools/package-info.java b/src/main/java/io/vertx/core/parsetools/package-info.java index 5d48d8428..eb5a8995e 100644 --- a/src/main/java/io/vertx/core/parsetools/package-info.java +++ b/src/main/java/io/vertx/core/parsetools/package-info.java @@ -1,17 +1,12 @@ /* * Copyright 2014 Red Hat, Inc. * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ /** diff --git a/src/main/java/io/vertx/core/shareddata/AsyncMap.java b/src/main/java/io/vertx/core/shareddata/AsyncMap.java index eb1840135..41c34d4d4 100644 --- a/src/main/java/io/vertx/core/shareddata/AsyncMap.java +++ b/src/main/java/io/vertx/core/shareddata/AsyncMap.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.shareddata; diff --git a/src/main/java/io/vertx/core/shareddata/Counter.java b/src/main/java/io/vertx/core/shareddata/Counter.java index 221ceafb5..8338a358d 100644 --- a/src/main/java/io/vertx/core/shareddata/Counter.java +++ b/src/main/java/io/vertx/core/shareddata/Counter.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.shareddata; diff --git a/src/main/java/io/vertx/core/shareddata/LocalMap.java b/src/main/java/io/vertx/core/shareddata/LocalMap.java index a0b80ccae..302a857e2 100644 --- a/src/main/java/io/vertx/core/shareddata/LocalMap.java +++ b/src/main/java/io/vertx/core/shareddata/LocalMap.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.shareddata; diff --git a/src/main/java/io/vertx/core/shareddata/Lock.java b/src/main/java/io/vertx/core/shareddata/Lock.java index 4edd821f8..0dc8e0f19 100644 --- a/src/main/java/io/vertx/core/shareddata/Lock.java +++ b/src/main/java/io/vertx/core/shareddata/Lock.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.shareddata; diff --git a/src/main/java/io/vertx/core/shareddata/Shareable.java b/src/main/java/io/vertx/core/shareddata/Shareable.java index 579a7b564..67e975f55 100644 --- a/src/main/java/io/vertx/core/shareddata/Shareable.java +++ b/src/main/java/io/vertx/core/shareddata/Shareable.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.shareddata; diff --git a/src/main/java/io/vertx/core/shareddata/SharedData.java b/src/main/java/io/vertx/core/shareddata/SharedData.java index be337d34b..ef55c1315 100644 --- a/src/main/java/io/vertx/core/shareddata/SharedData.java +++ b/src/main/java/io/vertx/core/shareddata/SharedData.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.shareddata; diff --git a/src/main/java/io/vertx/core/shareddata/impl/AsynchronousCounter.java b/src/main/java/io/vertx/core/shareddata/impl/AsynchronousCounter.java index cdf3b811a..f430ae596 100644 --- a/src/main/java/io/vertx/core/shareddata/impl/AsynchronousCounter.java +++ b/src/main/java/io/vertx/core/shareddata/impl/AsynchronousCounter.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.shareddata.impl; diff --git a/src/main/java/io/vertx/core/shareddata/impl/AsynchronousLock.java b/src/main/java/io/vertx/core/shareddata/impl/AsynchronousLock.java index 3f443ca98..778e38d20 100644 --- a/src/main/java/io/vertx/core/shareddata/impl/AsynchronousLock.java +++ b/src/main/java/io/vertx/core/shareddata/impl/AsynchronousLock.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.shareddata.impl; diff --git a/src/main/java/io/vertx/core/shareddata/impl/Checker.java b/src/main/java/io/vertx/core/shareddata/impl/Checker.java index 98faea69f..edec0fa4c 100644 --- a/src/main/java/io/vertx/core/shareddata/impl/Checker.java +++ b/src/main/java/io/vertx/core/shareddata/impl/Checker.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.shareddata.impl; diff --git a/src/main/java/io/vertx/core/shareddata/impl/ClusterSerializable.java b/src/main/java/io/vertx/core/shareddata/impl/ClusterSerializable.java index 2a004fbb1..2b3bf8497 100644 --- a/src/main/java/io/vertx/core/shareddata/impl/ClusterSerializable.java +++ b/src/main/java/io/vertx/core/shareddata/impl/ClusterSerializable.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.shareddata.impl; diff --git a/src/main/java/io/vertx/core/shareddata/impl/LocalMapImpl.java b/src/main/java/io/vertx/core/shareddata/impl/LocalMapImpl.java index a6fff5b62..3d5bcce29 100644 --- a/src/main/java/io/vertx/core/shareddata/impl/LocalMapImpl.java +++ b/src/main/java/io/vertx/core/shareddata/impl/LocalMapImpl.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.shareddata.impl; diff --git a/src/main/java/io/vertx/core/shareddata/impl/SharedDataImpl.java b/src/main/java/io/vertx/core/shareddata/impl/SharedDataImpl.java index f2a8b9a6a..7758f980a 100644 --- a/src/main/java/io/vertx/core/shareddata/impl/SharedDataImpl.java +++ b/src/main/java/io/vertx/core/shareddata/impl/SharedDataImpl.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.shareddata.impl; diff --git a/src/main/java/io/vertx/core/shareddata/package-info.java b/src/main/java/io/vertx/core/shareddata/package-info.java index ea03a16b6..ca4b9ea1c 100644 --- a/src/main/java/io/vertx/core/shareddata/package-info.java +++ b/src/main/java/io/vertx/core/shareddata/package-info.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ /** diff --git a/src/main/java/io/vertx/core/spi/BufferFactory.java b/src/main/java/io/vertx/core/spi/BufferFactory.java index 804ccddb0..6fc0479c8 100644 --- a/src/main/java/io/vertx/core/spi/BufferFactory.java +++ b/src/main/java/io/vertx/core/spi/BufferFactory.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.spi; diff --git a/src/main/java/io/vertx/core/spi/FutureFactory.java b/src/main/java/io/vertx/core/spi/FutureFactory.java index 7953c9f4b..4b0d021b5 100644 --- a/src/main/java/io/vertx/core/spi/FutureFactory.java +++ b/src/main/java/io/vertx/core/spi/FutureFactory.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.spi; diff --git a/src/main/java/io/vertx/core/spi/PumpFactory.java b/src/main/java/io/vertx/core/spi/PumpFactory.java index 43898d135..760013ef7 100644 --- a/src/main/java/io/vertx/core/spi/PumpFactory.java +++ b/src/main/java/io/vertx/core/spi/PumpFactory.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.spi; diff --git a/src/main/java/io/vertx/core/spi/VerticleFactory.java b/src/main/java/io/vertx/core/spi/VerticleFactory.java index abbf648d3..5d1419e47 100644 --- a/src/main/java/io/vertx/core/spi/VerticleFactory.java +++ b/src/main/java/io/vertx/core/spi/VerticleFactory.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.spi; diff --git a/src/main/java/io/vertx/core/spi/VertxFactory.java b/src/main/java/io/vertx/core/spi/VertxFactory.java index 8b8aa8f7a..cafffc4d1 100644 --- a/src/main/java/io/vertx/core/spi/VertxFactory.java +++ b/src/main/java/io/vertx/core/spi/VertxFactory.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.spi; import io.vertx.core.AsyncResult; diff --git a/src/main/java/io/vertx/core/spi/VertxMetricsFactory.java b/src/main/java/io/vertx/core/spi/VertxMetricsFactory.java index 8a6ee57b5..cfd95dd0d 100644 --- a/src/main/java/io/vertx/core/spi/VertxMetricsFactory.java +++ b/src/main/java/io/vertx/core/spi/VertxMetricsFactory.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.spi; diff --git a/src/main/java/io/vertx/core/spi/WebSocketFrameFactory.java b/src/main/java/io/vertx/core/spi/WebSocketFrameFactory.java index 34a864b93..fda9efbc0 100644 --- a/src/main/java/io/vertx/core/spi/WebSocketFrameFactory.java +++ b/src/main/java/io/vertx/core/spi/WebSocketFrameFactory.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.spi; diff --git a/src/main/java/io/vertx/core/spi/cluster/AsyncMultiMap.java b/src/main/java/io/vertx/core/spi/cluster/AsyncMultiMap.java index 2fabe00fc..5dd922696 100644 --- a/src/main/java/io/vertx/core/spi/cluster/AsyncMultiMap.java +++ b/src/main/java/io/vertx/core/spi/cluster/AsyncMultiMap.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.spi.cluster; diff --git a/src/main/java/io/vertx/core/spi/cluster/ChoosableIterable.java b/src/main/java/io/vertx/core/spi/cluster/ChoosableIterable.java index bc26d3179..12e3d35ab 100644 --- a/src/main/java/io/vertx/core/spi/cluster/ChoosableIterable.java +++ b/src/main/java/io/vertx/core/spi/cluster/ChoosableIterable.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.spi.cluster; diff --git a/src/main/java/io/vertx/core/spi/cluster/ClusterManager.java b/src/main/java/io/vertx/core/spi/cluster/ClusterManager.java index 72b4cb133..1699ec903 100644 --- a/src/main/java/io/vertx/core/spi/cluster/ClusterManager.java +++ b/src/main/java/io/vertx/core/spi/cluster/ClusterManager.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.spi.cluster; diff --git a/src/main/java/io/vertx/core/spi/cluster/NodeListener.java b/src/main/java/io/vertx/core/spi/cluster/NodeListener.java index f18caef21..b8e5719a4 100644 --- a/src/main/java/io/vertx/core/spi/cluster/NodeListener.java +++ b/src/main/java/io/vertx/core/spi/cluster/NodeListener.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.spi.cluster; /** diff --git a/src/main/java/io/vertx/core/spi/launcher/Command.java b/src/main/java/io/vertx/core/spi/launcher/Command.java index e7a8117be..00350fae0 100644 --- a/src/main/java/io/vertx/core/spi/launcher/Command.java +++ b/src/main/java/io/vertx/core/spi/launcher/Command.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.spi.launcher; diff --git a/src/main/java/io/vertx/core/spi/launcher/CommandFactory.java b/src/main/java/io/vertx/core/spi/launcher/CommandFactory.java index 5725056c4..52a699ac1 100644 --- a/src/main/java/io/vertx/core/spi/launcher/CommandFactory.java +++ b/src/main/java/io/vertx/core/spi/launcher/CommandFactory.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.spi.launcher; diff --git a/src/main/java/io/vertx/core/spi/launcher/CommandFactoryLookup.java b/src/main/java/io/vertx/core/spi/launcher/CommandFactoryLookup.java index 409700f6a..765da570f 100644 --- a/src/main/java/io/vertx/core/spi/launcher/CommandFactoryLookup.java +++ b/src/main/java/io/vertx/core/spi/launcher/CommandFactoryLookup.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.spi.launcher; import io.vertx.core.impl.launcher.ServiceCommandFactoryLoader; diff --git a/src/main/java/io/vertx/core/spi/launcher/DefaultCommand.java b/src/main/java/io/vertx/core/spi/launcher/DefaultCommand.java index 774709b2b..f1b6ee52e 100644 --- a/src/main/java/io/vertx/core/spi/launcher/DefaultCommand.java +++ b/src/main/java/io/vertx/core/spi/launcher/DefaultCommand.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.spi.launcher; diff --git a/src/main/java/io/vertx/core/spi/launcher/DefaultCommandFactory.java b/src/main/java/io/vertx/core/spi/launcher/DefaultCommandFactory.java index 3d27d8b27..eda7ea64e 100644 --- a/src/main/java/io/vertx/core/spi/launcher/DefaultCommandFactory.java +++ b/src/main/java/io/vertx/core/spi/launcher/DefaultCommandFactory.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.spi.launcher; diff --git a/src/main/java/io/vertx/core/spi/launcher/ExecutionContext.java b/src/main/java/io/vertx/core/spi/launcher/ExecutionContext.java index 03f148e4f..c5688aa00 100644 --- a/src/main/java/io/vertx/core/spi/launcher/ExecutionContext.java +++ b/src/main/java/io/vertx/core/spi/launcher/ExecutionContext.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.spi.launcher; import io.vertx.core.cli.CLI; diff --git a/src/main/java/io/vertx/core/spi/logging/LogDelegate.java b/src/main/java/io/vertx/core/spi/logging/LogDelegate.java index 097df4dd1..0c04ddf28 100644 --- a/src/main/java/io/vertx/core/spi/logging/LogDelegate.java +++ b/src/main/java/io/vertx/core/spi/logging/LogDelegate.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2009 Red Hat, Inc. - * ------------------------------------- - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright (c) 2009 Red Hat, Inc. and others * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.spi.logging; @@ -79,4 +74,4 @@ public interface LogDelegate { default Object unwrap() { return null; } -} \ No newline at end of file +} diff --git a/src/main/java/io/vertx/core/spi/logging/LogDelegateFactory.java b/src/main/java/io/vertx/core/spi/logging/LogDelegateFactory.java index efbcaa48c..170f8975c 100644 --- a/src/main/java/io/vertx/core/spi/logging/LogDelegateFactory.java +++ b/src/main/java/io/vertx/core/spi/logging/LogDelegateFactory.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2009 Red Hat, Inc. - * ------------------------------------- - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright (c) 2009 Red Hat, Inc. and others * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.spi.logging; diff --git a/src/main/java/io/vertx/core/spi/metrics/DatagramSocketMetrics.java b/src/main/java/io/vertx/core/spi/metrics/DatagramSocketMetrics.java index fc44a803b..3faad0412 100644 --- a/src/main/java/io/vertx/core/spi/metrics/DatagramSocketMetrics.java +++ b/src/main/java/io/vertx/core/spi/metrics/DatagramSocketMetrics.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.spi.metrics; diff --git a/src/main/java/io/vertx/core/spi/metrics/EventBusMetrics.java b/src/main/java/io/vertx/core/spi/metrics/EventBusMetrics.java index 2f9819116..ea23a8027 100644 --- a/src/main/java/io/vertx/core/spi/metrics/EventBusMetrics.java +++ b/src/main/java/io/vertx/core/spi/metrics/EventBusMetrics.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.spi.metrics; diff --git a/src/main/java/io/vertx/core/spi/metrics/HttpClientMetrics.java b/src/main/java/io/vertx/core/spi/metrics/HttpClientMetrics.java index 36eb719dc..ac390fcfd 100644 --- a/src/main/java/io/vertx/core/spi/metrics/HttpClientMetrics.java +++ b/src/main/java/io/vertx/core/spi/metrics/HttpClientMetrics.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.spi.metrics; diff --git a/src/main/java/io/vertx/core/spi/metrics/HttpServerMetrics.java b/src/main/java/io/vertx/core/spi/metrics/HttpServerMetrics.java index 87d654a99..43a2035ed 100644 --- a/src/main/java/io/vertx/core/spi/metrics/HttpServerMetrics.java +++ b/src/main/java/io/vertx/core/spi/metrics/HttpServerMetrics.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.spi.metrics; diff --git a/src/main/java/io/vertx/core/spi/metrics/Metrics.java b/src/main/java/io/vertx/core/spi/metrics/Metrics.java index 24ebdf21c..e4dd219d4 100644 --- a/src/main/java/io/vertx/core/spi/metrics/Metrics.java +++ b/src/main/java/io/vertx/core/spi/metrics/Metrics.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.spi.metrics; diff --git a/src/main/java/io/vertx/core/spi/metrics/MetricsProvider.java b/src/main/java/io/vertx/core/spi/metrics/MetricsProvider.java index 8129c7429..1e0e58cee 100644 --- a/src/main/java/io/vertx/core/spi/metrics/MetricsProvider.java +++ b/src/main/java/io/vertx/core/spi/metrics/MetricsProvider.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.spi.metrics; diff --git a/src/main/java/io/vertx/core/spi/metrics/NetworkMetrics.java b/src/main/java/io/vertx/core/spi/metrics/NetworkMetrics.java index 6c9f9c795..1beef3d7a 100644 --- a/src/main/java/io/vertx/core/spi/metrics/NetworkMetrics.java +++ b/src/main/java/io/vertx/core/spi/metrics/NetworkMetrics.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.spi.metrics; diff --git a/src/main/java/io/vertx/core/spi/metrics/PoolMetrics.java b/src/main/java/io/vertx/core/spi/metrics/PoolMetrics.java index 109fa04da..603a8c090 100644 --- a/src/main/java/io/vertx/core/spi/metrics/PoolMetrics.java +++ b/src/main/java/io/vertx/core/spi/metrics/PoolMetrics.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2015 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.spi.metrics; @@ -56,4 +51,4 @@ public interface PoolMetrics extends Metrics { */ void end(T t, boolean succeeded); -} \ No newline at end of file +} diff --git a/src/main/java/io/vertx/core/spi/metrics/TCPMetrics.java b/src/main/java/io/vertx/core/spi/metrics/TCPMetrics.java index e00ed459f..b695cffa3 100644 --- a/src/main/java/io/vertx/core/spi/metrics/TCPMetrics.java +++ b/src/main/java/io/vertx/core/spi/metrics/TCPMetrics.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.spi.metrics; diff --git a/src/main/java/io/vertx/core/spi/metrics/VertxMetrics.java b/src/main/java/io/vertx/core/spi/metrics/VertxMetrics.java index e959a82db..45b132dec 100644 --- a/src/main/java/io/vertx/core/spi/metrics/VertxMetrics.java +++ b/src/main/java/io/vertx/core/spi/metrics/VertxMetrics.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2014 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.spi.metrics; diff --git a/src/main/java/io/vertx/core/spi/resolver/ResolverProvider.java b/src/main/java/io/vertx/core/spi/resolver/ResolverProvider.java index b649faa7b..ba6751052 100644 --- a/src/main/java/io/vertx/core/spi/resolver/ResolverProvider.java +++ b/src/main/java/io/vertx/core/spi/resolver/ResolverProvider.java @@ -1,18 +1,14 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ + package io.vertx.core.spi.resolver; import io.netty.resolver.AddressResolverGroup; diff --git a/src/main/java/io/vertx/core/streams/Pump.java b/src/main/java/io/vertx/core/streams/Pump.java index b10c83758..97bdef47b 100644 --- a/src/main/java/io/vertx/core/streams/Pump.java +++ b/src/main/java/io/vertx/core/streams/Pump.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.streams; diff --git a/src/main/java/io/vertx/core/streams/ReadStream.java b/src/main/java/io/vertx/core/streams/ReadStream.java index 1d2133358..661ade93f 100644 --- a/src/main/java/io/vertx/core/streams/ReadStream.java +++ b/src/main/java/io/vertx/core/streams/ReadStream.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.streams; diff --git a/src/main/java/io/vertx/core/streams/StreamBase.java b/src/main/java/io/vertx/core/streams/StreamBase.java index fd60ce0a0..3440e897a 100644 --- a/src/main/java/io/vertx/core/streams/StreamBase.java +++ b/src/main/java/io/vertx/core/streams/StreamBase.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.streams; diff --git a/src/main/java/io/vertx/core/streams/WriteStream.java b/src/main/java/io/vertx/core/streams/WriteStream.java index 2c51eadf3..538c8a82e 100644 --- a/src/main/java/io/vertx/core/streams/WriteStream.java +++ b/src/main/java/io/vertx/core/streams/WriteStream.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.streams; diff --git a/src/main/java/io/vertx/core/streams/impl/PumpFactoryImpl.java b/src/main/java/io/vertx/core/streams/impl/PumpFactoryImpl.java index 1385481a0..07cba2c65 100644 --- a/src/main/java/io/vertx/core/streams/impl/PumpFactoryImpl.java +++ b/src/main/java/io/vertx/core/streams/impl/PumpFactoryImpl.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.streams.impl; diff --git a/src/main/java/io/vertx/core/streams/impl/PumpImpl.java b/src/main/java/io/vertx/core/streams/impl/PumpImpl.java index 9e8817538..b7fdc6e43 100644 --- a/src/main/java/io/vertx/core/streams/impl/PumpImpl.java +++ b/src/main/java/io/vertx/core/streams/impl/PumpImpl.java @@ -1,17 +1,12 @@ /* - * Copyright 2014 Red Hat, Inc. + * Copyright 2014 Red Hat, Inc. and others * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ package io.vertx.core.streams.impl; diff --git a/src/main/java/io/vertx/core/streams/package-info.java b/src/main/java/io/vertx/core/streams/package-info.java index 2f2036bc1..2f8d45db7 100644 --- a/src/main/java/io/vertx/core/streams/package-info.java +++ b/src/main/java/io/vertx/core/streams/package-info.java @@ -1,17 +1,12 @@ /* - * Copyright (c) 2011-2013 The original author or authors - * ------------------------------------------------------ - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * and Apache License v2.0 which accompanies this distribution. + * Copyright 2011-2017 Contributors to the Eclipse Foundation * - * The Eclipse Public License is available at - * http://www.eclipse.org/legal/epl-v10.html + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. * - * The Apache License v2.0 is available at - * http://www.opensource.org/licenses/apache2.0.php - * - * You may elect to redistribute this code under either of these licenses. + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 */ /** diff --git a/src/main/resources/META-INF/services/io.vertx.core.spi.launcher.CommandFactory b/src/main/resources/META-INF/services/io.vertx.core.spi.launcher.CommandFactory index f8fc9ead0..16b2868a3 100644 --- a/src/main/resources/META-INF/services/io.vertx.core.spi.launcher.CommandFactory +++ b/src/main/resources/META-INF/services/io.vertx.core.spi.launcher.CommandFactory @@ -1,18 +1,11 @@ +# Copyright 2011-2017 Contributors to the Eclipse Foundation # -# Copyright (c) 2011-2015 The original author or authors -# ------------------------------------------------------ -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# and Apache License v2.0 which accompanies this distribution. -# -# The Eclipse Public License is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# The Apache License v2.0 is available at -# http://www.opensource.org/licenses/apache2.0.php -# -# You may elect to redistribute this code under either of these licenses. +# This program and the accompanying materials are made available under the +# terms of the Eclipse Public License 2.0 which is available at +# http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +# which is available at https://www.apache.org/licenses/LICENSE-2.0. # +# SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 # Core commands io.vertx.core.impl.launcher.commands.RunCommandFactory