From bc41908694d9982b0705951f6f05704b30fc5d7c Mon Sep 17 00:00:00 2001 From: Jeroen van Erp Date: Mon, 11 Apr 2016 15:48:43 +0200 Subject: [PATCH] Added gradle release and license plugins, and updated all license headers --- LICENSE_HEADER | 13 ++++++++ build.gradle | 33 ++++++++++++------- .../java/net/schmizz/sshj/examples/Exec.java | 15 --------- .../net/schmizz/sshj/examples/KeepAlive.java | 15 --------- .../net/schmizz/sshj/examples/LocalPF.java | 15 --------- .../net/schmizz/sshj/examples/RemotePF.java | 15 --------- .../schmizz/sshj/examples/RudimentaryPTY.java | 15 --------- .../schmizz/sshj/examples/SCPDownload.java | 17 +--------- .../net/schmizz/sshj/examples/SCPUpload.java | 17 +--------- .../schmizz/sshj/examples/SFTPDownload.java | 17 +--------- .../net/schmizz/sshj/examples/SFTPUpload.java | 17 +--------- .../java/net/schmizz/sshj/examples/X11.java | 17 +--------- .../hierynomus/sshj/backport/JavaVersion.java | 15 +++++++++ .../sshj/backport/Jdk7HttpProxySocket.java | 15 +++++++++ .../com/hierynomus/sshj/backport/Sockets.java | 15 +++++++++ .../com/hierynomus/sshj/secg/SecgUtils.java | 15 +++++++++ .../sshj/signature/Ed25519PublicKey.java | 15 +++++++++ .../sshj/signature/SignatureEdDSA.java | 15 +++++++++ .../sshj/transport/cipher/BlockCiphers.java | 15 +++++++++ .../cipher/ExtendedBlockCiphers.java | 15 +++++++++ .../sshj/transport/cipher/StreamCipher.java | 15 +++++++++ .../sshj/transport/cipher/StreamCiphers.java | 15 +++++++++ .../schmizz/concurrent/ErrorDeliveryUtil.java | 4 +-- .../java/net/schmizz/concurrent/Event.java | 6 ++-- .../schmizz/concurrent/ExceptionChainer.java | 6 ++-- .../java/net/schmizz/concurrent/Promise.java | 4 +-- .../net/schmizz/keepalive/Heartbeater.java | 4 +-- .../java/net/schmizz/keepalive/KeepAlive.java | 4 +-- .../schmizz/keepalive/KeepAliveProvider.java | 4 +-- .../schmizz/keepalive/KeepAliveRunner.java | 4 +-- .../net/schmizz/sshj/AbstractService.java | 4 +-- .../java/net/schmizz/sshj/AndroidConfig.java | 4 +-- src/main/java/net/schmizz/sshj/Config.java | 4 +-- .../java/net/schmizz/sshj/ConfigImpl.java | 4 +-- .../java/net/schmizz/sshj/DefaultConfig.java | 4 +-- src/main/java/net/schmizz/sshj/SSHClient.java | 4 +-- src/main/java/net/schmizz/sshj/Service.java | 4 +-- .../java/net/schmizz/sshj/SocketClient.java | 4 +-- .../java/net/schmizz/sshj/common/Base64.java | 4 +-- .../java/net/schmizz/sshj/common/Buffer.java | 4 +-- .../schmizz/sshj/common/ByteArrayUtils.java | 4 +-- .../schmizz/sshj/common/DisconnectReason.java | 4 +-- .../schmizz/sshj/common/ErrorNotifiable.java | 4 +-- .../java/net/schmizz/sshj/common/Factory.java | 4 +-- .../java/net/schmizz/sshj/common/IOUtils.java | 4 +-- .../java/net/schmizz/sshj/common/KeyType.java | 4 +-- .../java/net/schmizz/sshj/common/Message.java | 4 +-- .../net/schmizz/sshj/common/SSHException.java | 4 +-- .../net/schmizz/sshj/common/SSHPacket.java | 4 +-- .../schmizz/sshj/common/SSHPacketHandler.java | 4 +-- .../sshj/common/SSHRuntimeException.java | 4 +-- .../schmizz/sshj/common/SecurityUtils.java | 4 +-- .../net/schmizz/sshj/common/StreamCopier.java | 4 +-- .../schmizz/sshj/connection/Connection.java | 4 +-- .../sshj/connection/ConnectionException.java | 4 +-- .../sshj/connection/ConnectionImpl.java | 4 +-- .../connection/channel/AbstractChannel.java | 4 +-- .../sshj/connection/channel/Channel.java | 4 +-- .../channel/ChannelInputStream.java | 4 +-- .../channel/ChannelOutputStream.java | 4 +-- .../connection/channel/OpenFailException.java | 4 +-- .../channel/SocketStreamCopyMonitor.java | 4 +-- .../sshj/connection/channel/Window.java | 4 +-- .../channel/direct/AbstractDirectChannel.java | 4 +-- .../channel/direct/LocalPortForwarder.java | 4 +-- .../connection/channel/direct/PTYMode.java | 4 +-- .../connection/channel/direct/Session.java | 4 +-- .../channel/direct/SessionChannel.java | 4 +-- .../channel/direct/SessionFactory.java | 4 +-- .../connection/channel/direct/Signal.java | 4 +-- .../forwarded/AbstractForwardedChannel.java | 4 +-- .../AbstractForwardedChannelOpener.java | 4 +-- .../channel/forwarded/ConnectListener.java | 4 +-- .../forwarded/ForwardedChannelOpener.java | 4 +-- .../forwarded/RemotePortForwarder.java | 4 +-- .../SocketForwardingConnectListener.java | 4 +-- .../channel/forwarded/X11Forwarder.java | 4 +-- .../net/schmizz/sshj/sftp/FileAttributes.java | 4 +-- .../java/net/schmizz/sshj/sftp/FileMode.java | 4 +-- .../java/net/schmizz/sshj/sftp/OpenMode.java | 4 +-- .../net/schmizz/sshj/sftp/PacketReader.java | 4 +-- .../net/schmizz/sshj/sftp/PacketType.java | 4 +-- .../net/schmizz/sshj/sftp/PathComponents.java | 6 ++-- .../net/schmizz/sshj/sftp/PathHelper.java | 4 +-- .../sshj/sftp/RandomAccessRemoteFile.java | 4 +-- .../schmizz/sshj/sftp/RemoteDirectory.java | 4 +-- .../net/schmizz/sshj/sftp/RemoteFile.java | 12 +++---- .../net/schmizz/sshj/sftp/RemoteResource.java | 4 +-- .../sshj/sftp/RemoteResourceFilter.java | 4 +-- .../schmizz/sshj/sftp/RemoteResourceInfo.java | 4 +-- .../java/net/schmizz/sshj/sftp/Request.java | 4 +-- .../java/net/schmizz/sshj/sftp/Requester.java | 4 +-- .../java/net/schmizz/sshj/sftp/Response.java | 4 +-- .../net/schmizz/sshj/sftp/SFTPClient.java | 4 +-- .../net/schmizz/sshj/sftp/SFTPEngine.java | 4 +-- .../net/schmizz/sshj/sftp/SFTPException.java | 4 +-- .../schmizz/sshj/sftp/SFTPFileTransfer.java | 4 +-- .../net/schmizz/sshj/sftp/SFTPPacket.java | 4 +-- .../schmizz/sshj/sftp/StatefulSFTPClient.java | 4 +-- .../sshj/signature/AbstractSignature.java | 4 +-- .../net/schmizz/sshj/signature/Signature.java | 4 +-- .../schmizz/sshj/signature/SignatureDSA.java | 4 +-- .../sshj/signature/SignatureECDSA.java | 4 +-- .../schmizz/sshj/signature/SignatureRSA.java | 4 +-- .../net/schmizz/sshj/transport/Converter.java | 4 +-- .../net/schmizz/sshj/transport/Decoder.java | 4 +-- .../sshj/transport/DisconnectListener.java | 4 +-- .../net/schmizz/sshj/transport/Encoder.java | 4 +-- .../schmizz/sshj/transport/KeyExchanger.java | 4 +-- .../sshj/transport/NegotiatedAlgorithms.java | 4 +-- .../net/schmizz/sshj/transport/Proposal.java | 4 +-- .../net/schmizz/sshj/transport/Reader.java | 4 +-- .../net/schmizz/sshj/transport/Transport.java | 4 +-- .../sshj/transport/TransportException.java | 4 +-- .../schmizz/sshj/transport/TransportImpl.java | 4 +-- .../sshj/transport/cipher/AES128CBC.java | 4 +-- .../sshj/transport/cipher/AES128CTR.java | 4 +-- .../sshj/transport/cipher/AES192CBC.java | 4 +-- .../sshj/transport/cipher/AES192CTR.java | 4 +-- .../sshj/transport/cipher/AES256CBC.java | 4 +-- .../sshj/transport/cipher/AES256CTR.java | 4 +-- .../sshj/transport/cipher/BaseCipher.java | 4 +-- .../sshj/transport/cipher/BlockCipher.java | 15 +++++++++ .../sshj/transport/cipher/BlowfishCBC.java | 4 +-- .../schmizz/sshj/transport/cipher/Cipher.java | 4 +-- .../sshj/transport/cipher/NoneCipher.java | 4 +-- .../sshj/transport/cipher/TripleDESCBC.java | 4 +-- .../transport/compression/Compression.java | 4 +-- .../compression/DelayedZlibCompression.java | 4 +-- .../compression/NoneCompression.java | 4 +-- .../compression/ZlibCompression.java | 4 +-- .../sshj/transport/digest/BaseDigest.java | 4 +-- .../schmizz/sshj/transport/digest/Digest.java | 4 +-- .../schmizz/sshj/transport/digest/MD5.java | 4 +-- .../schmizz/sshj/transport/digest/SHA1.java | 4 +-- .../schmizz/sshj/transport/digest/SHA256.java | 15 +++++++++ .../schmizz/sshj/transport/digest/SHA384.java | 15 +++++++++ .../schmizz/sshj/transport/digest/SHA512.java | 15 +++++++++ .../sshj/transport/kex/AbstractDH.java | 15 +++++++++ .../sshj/transport/kex/AbstractDHG.java | 4 +-- .../sshj/transport/kex/AbstractDHGex.java | 15 +++++++++ .../sshj/transport/kex/Curve25519DH.java | 15 +++++++++ .../sshj/transport/kex/Curve25519SHA256.java | 15 +++++++++ .../net/schmizz/sshj/transport/kex/DH.java | 4 +-- .../schmizz/sshj/transport/kex/DHBase.java | 15 +++++++++ .../net/schmizz/sshj/transport/kex/DHG1.java | 4 +-- .../net/schmizz/sshj/transport/kex/DHG14.java | 4 +-- .../schmizz/sshj/transport/kex/DHGexSHA1.java | 15 +++++++++ .../sshj/transport/kex/DHGexSHA256.java | 15 +++++++++ .../sshj/transport/kex/DHGroupData.java | 4 +-- .../net/schmizz/sshj/transport/kex/ECDH.java | 15 +++++++++ .../schmizz/sshj/transport/kex/ECDHNistP.java | 15 +++++++++ .../sshj/transport/kex/KeyExchange.java | 4 +-- .../sshj/transport/kex/KeyExchangeBase.java | 15 +++++++++ .../schmizz/sshj/transport/mac/BaseMAC.java | 4 +-- .../schmizz/sshj/transport/mac/HMACMD5.java | 4 +-- .../schmizz/sshj/transport/mac/HMACMD596.java | 4 +-- .../schmizz/sshj/transport/mac/HMACSHA1.java | 4 +-- .../sshj/transport/mac/HMACSHA196.java | 4 +-- .../sshj/transport/mac/HMACSHA2256.java | 4 +-- .../sshj/transport/mac/HMACSHA2512.java | 4 +-- .../net/schmizz/sshj/transport/mac/MAC.java | 4 +-- .../transport/random/BouncyCastleRandom.java | 4 +-- .../sshj/transport/random/JCERandom.java | 4 +-- .../schmizz/sshj/transport/random/Random.java | 4 +-- .../random/SingletonRandomFactory.java | 4 +-- .../verification/AlgorithmsVerifier.java | 4 +-- .../ConsoleKnownHostsVerifier.java | 4 +-- .../verification/HostKeyVerifier.java | 4 +-- .../verification/OpenSSHKnownHosts.java | 4 +-- .../verification/PromiscuousVerifier.java | 4 +-- .../net/schmizz/sshj/userauth/AuthParams.java | 4 +-- .../net/schmizz/sshj/userauth/UserAuth.java | 4 +-- .../sshj/userauth/UserAuthException.java | 4 +-- .../schmizz/sshj/userauth/UserAuthImpl.java | 4 +-- .../userauth/keyprovider/FileKeyProvider.java | 4 +-- .../sshj/userauth/keyprovider/KeyFormat.java | 4 +-- .../userauth/keyprovider/KeyPairWrapper.java | 4 +-- .../userauth/keyprovider/KeyProvider.java | 4 +-- .../userauth/keyprovider/KeyProviderUtil.java | 4 +-- .../userauth/keyprovider/OpenSSHKeyFile.java | 4 +-- .../userauth/keyprovider/PKCS8KeyFile.java | 4 +-- .../userauth/keyprovider/PuTTYKeyFile.java | 4 +-- .../userauth/method/AbstractAuthMethod.java | 4 +-- .../userauth/method/AuthGssApiWithMic.java | 15 +++++++++ .../sshj/userauth/method/AuthHostbased.java | 4 +-- .../method/AuthKeyboardInteractive.java | 4 +-- .../sshj/userauth/method/AuthMethod.java | 4 +-- .../sshj/userauth/method/AuthNone.java | 4 +-- .../sshj/userauth/method/AuthPassword.java | 4 +-- .../sshj/userauth/method/AuthPublickey.java | 4 +-- .../method/ChallengeResponseProvider.java | 4 +-- .../sshj/userauth/method/KeyedAuthMethod.java | 4 +-- .../method/PasswordResponseProvider.java | 4 +-- .../userauth/password/AccountResource.java | 4 +-- .../userauth/password/PasswordFinder.java | 4 +-- .../password/PasswordUpdateProvider.java | 15 +++++++++ .../sshj/userauth/password/PasswordUtils.java | 4 +-- .../password/PrivateKeyFileResource.java | 4 +-- .../password/PrivateKeyReaderResource.java | 4 +-- .../password/PrivateKeyStringResource.java | 4 +-- .../sshj/userauth/password/Resource.java | 4 +-- .../sshj/xfer/AbstractFileTransfer.java | 4 +-- .../net/schmizz/sshj/xfer/FilePermission.java | 4 +-- .../net/schmizz/sshj/xfer/FileSystemFile.java | 4 +-- .../net/schmizz/sshj/xfer/FileTransfer.java | 4 +-- .../schmizz/sshj/xfer/InMemoryDestFile.java | 4 +-- .../schmizz/sshj/xfer/InMemorySourceFile.java | 4 +-- .../net/schmizz/sshj/xfer/LocalDestFile.java | 4 +-- .../schmizz/sshj/xfer/LocalFileFilter.java | 4 +-- .../schmizz/sshj/xfer/LocalSourceFile.java | 4 +-- .../sshj/xfer/LoggingTransferListener.java | 4 +-- .../schmizz/sshj/xfer/TransferListener.java | 4 +-- .../sshj/xfer/scp/AbstractSCPClient.java | 15 +++++++++ .../sshj/xfer/scp/SCPDownloadClient.java | 4 +-- .../net/schmizz/sshj/xfer/scp/SCPEngine.java | 4 +-- .../schmizz/sshj/xfer/scp/SCPException.java | 4 +-- .../sshj/xfer/scp/SCPFileTransfer.java | 4 +-- .../sshj/xfer/scp/SCPRemoteException.java | 15 +++++++++ .../sshj/xfer/scp/SCPUploadClient.java | 12 +++---- .../schmizz/sshj/xfer/scp/ScpCommandLine.java | 15 +++++++++ .../com/hierynomus/sshj/IntegrationTest.java | 15 +++++++++ .../channel/ChannelCloseEofTest.java | 15 +++++++++ .../channel/direct/CommandTest.java | 15 +++++++++ .../forwarded/RemotePortForwarderTest.java | 15 +++++++++ .../KeepAliveThreadTerminationTest.java | 15 +++++++++ .../hierynomus/sshj/sftp/RemoteFileTest.java | 15 +++++++++ .../hierynomus/sshj/sftp/SFTPClientTest.java | 17 ++++++++-- .../sshj/test/BaseAlgorithmTest.java | 15 +++++++++ .../com/hierynomus/sshj/test/HttpServer.java | 15 +++++++++ .../sshj/test/KnownFailingTests.java | 15 +++++++++ .../com/hierynomus/sshj/test/SlowTests.java | 15 +++++++++ .../com/hierynomus/sshj/test/SshFixture.java | 15 +++++++++ .../hierynomus/sshj/test/util/FileUtil.java | 15 +++++++++ .../sshj/transport/DisconnectionTest.java | 15 +++++++++ .../sshj/transport/kex/KeyExchangeTest.java | 15 +++++++++ .../hierynomus/sshj/userauth/GssApiTest.java | 15 +++++++++ .../userauth/method/AuthPasswordTest.java | 15 +++++++++ .../net/schmizz/sshj/LoadsOfConnects.java | 4 +-- src/test/java/net/schmizz/sshj/SmokeTest.java | 4 +-- .../net/schmizz/sshj/common/BufferTest.java | 4 +-- .../sshj/keyprovider/KeyProviderUtilTest.java | 15 +++++++++ .../sshj/keyprovider/OpenSSHKeyFileTest.java | 4 +-- .../sshj/keyprovider/PKCS8KeyFileTest.java | 4 +-- .../sshj/keyprovider/PuTTYKeyFileTest.java | 4 +-- .../net/schmizz/sshj/sftp/FileModeTest.java | 4 +-- .../schmizz/sshj/sftp/PacketReaderTest.java | 4 +-- .../net/schmizz/sshj/sftp/PathHelperTest.java | 4 +-- .../net/schmizz/sshj/sftp/SFTPClientTest.java | 4 +-- .../sshj/transport/mac/BaseMacTest.java | 4 +-- .../sshj/transport/mac/HMACMD596Test.java | 4 +-- .../sshj/transport/mac/HMACMD5Test.java | 4 +-- .../sshj/transport/mac/HMACSHA196Test.java | 4 +-- .../sshj/transport/mac/HMACSHA1Test.java | 4 +-- .../sshj/transport/mac/HMACSHA2256Test.java | 4 +-- .../sshj/transport/mac/HMACSHA2512Test.java | 4 +-- .../verification/OpenSSHKnownHostsTest.java | 4 +-- .../net/schmizz/sshj/util/BufferTest.java | 4 +-- .../java/net/schmizz/sshj/util/KeyUtil.java | 4 +-- .../sshj/util/gss/BogusGSSAuthenticator.java | 15 +++++++++ .../sshj/util/gss/BogusGSSContext.java | 15 +++++++++ .../sshj/util/gss/BogusGSSCredential.java | 15 +++++++++ .../sshj/util/gss/BogusGSSManager.java | 15 +++++++++ .../schmizz/sshj/util/gss/BogusGSSName.java | 15 +++++++++ .../sshj/xfer/scp/SCPFileTransferTest.java | 15 +++++++++ src/test/resources/logback-test.xml | 17 ++++++++++ 266 files changed, 1263 insertions(+), 579 deletions(-) create mode 100644 LICENSE_HEADER diff --git a/LICENSE_HEADER b/LICENSE_HEADER new file mode 100644 index 00000000..30e441c3 --- /dev/null +++ b/LICENSE_HEADER @@ -0,0 +1,13 @@ +Copyright (C)2009 - SSHJ Contributors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +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. diff --git a/build.gradle b/build.gradle index 8107687a..5cf86531 100644 --- a/build.gradle +++ b/build.gradle @@ -1,32 +1,43 @@ plugins { id "java" id "maven" + id "idea" id "signing" id "osgi" + id "org.ajoberstar.release-opinion" version "1.4.0-rc.1" + id "com.github.hierynomus.license" version "0.12.1" } -apply plugin: "java" -apply plugin: "maven" -apply plugin: "signing" -apply plugin: "osgi" - group = "com.hierynomus" -version = "0.16.0-SNAPSHOT" repositories { mavenCentral() - mavenLocal() } sourceCompatibility = 1.7 targetCompatibility = 1.7 -configurations { - compile { - transitive = false +configurations.compile.transitive = false + +idea { + module { + downloadJavadoc = true + downloadSources = true } } +license { + mapping { + java = 'SLASHSTAR_STYLE' + } + header rootProject.file('LICENSE_HEADER') + strictCheck true +} + +release { + grgit = org.ajoberstar.grgit.Grgit.open(project.projectDir) +} + test { testLogging { exceptionFormat = 'full' @@ -100,7 +111,7 @@ artifacts { } signing { - required { !version.contains("SNAPSHOT") && gradle.taskGraph.hasTask("uploadArchives") } + required { !version.toString().contains("SNAPSHOT") && gradle.taskGraph.hasTask("uploadArchives") } sign configurations.archives } diff --git a/examples/src/main/java/net/schmizz/sshj/examples/Exec.java b/examples/src/main/java/net/schmizz/sshj/examples/Exec.java index d02d6600..59a88448 100644 --- a/examples/src/main/java/net/schmizz/sshj/examples/Exec.java +++ b/examples/src/main/java/net/schmizz/sshj/examples/Exec.java @@ -1,18 +1,3 @@ -/** - * Copyright 2009 sshj contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * 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 net.schmizz.sshj.examples; import net.schmizz.sshj.SSHClient; diff --git a/examples/src/main/java/net/schmizz/sshj/examples/KeepAlive.java b/examples/src/main/java/net/schmizz/sshj/examples/KeepAlive.java index 8d6bdcf8..0049b4e4 100644 --- a/examples/src/main/java/net/schmizz/sshj/examples/KeepAlive.java +++ b/examples/src/main/java/net/schmizz/sshj/examples/KeepAlive.java @@ -1,18 +1,3 @@ -/** - * Copyright 2009 sshj contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * 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 net.schmizz.sshj.examples; import net.schmizz.keepalive.KeepAliveProvider; diff --git a/examples/src/main/java/net/schmizz/sshj/examples/LocalPF.java b/examples/src/main/java/net/schmizz/sshj/examples/LocalPF.java index fad22230..b4a10fad 100644 --- a/examples/src/main/java/net/schmizz/sshj/examples/LocalPF.java +++ b/examples/src/main/java/net/schmizz/sshj/examples/LocalPF.java @@ -1,18 +1,3 @@ -/** - * Copyright 2009 sshj contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * 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 net.schmizz.sshj.examples; import net.schmizz.sshj.SSHClient; diff --git a/examples/src/main/java/net/schmizz/sshj/examples/RemotePF.java b/examples/src/main/java/net/schmizz/sshj/examples/RemotePF.java index d6545207..af938e3d 100644 --- a/examples/src/main/java/net/schmizz/sshj/examples/RemotePF.java +++ b/examples/src/main/java/net/schmizz/sshj/examples/RemotePF.java @@ -1,18 +1,3 @@ -/** - * Copyright 2009 sshj contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * 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 net.schmizz.sshj.examples; import net.schmizz.sshj.SSHClient; diff --git a/examples/src/main/java/net/schmizz/sshj/examples/RudimentaryPTY.java b/examples/src/main/java/net/schmizz/sshj/examples/RudimentaryPTY.java index 1d1c7ae0..fde392f8 100644 --- a/examples/src/main/java/net/schmizz/sshj/examples/RudimentaryPTY.java +++ b/examples/src/main/java/net/schmizz/sshj/examples/RudimentaryPTY.java @@ -1,18 +1,3 @@ -/** - * Copyright 2009 sshj contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * 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 net.schmizz.sshj.examples; import net.schmizz.sshj.SSHClient; diff --git a/examples/src/main/java/net/schmizz/sshj/examples/SCPDownload.java b/examples/src/main/java/net/schmizz/sshj/examples/SCPDownload.java index d3b05335..a064db36 100644 --- a/examples/src/main/java/net/schmizz/sshj/examples/SCPDownload.java +++ b/examples/src/main/java/net/schmizz/sshj/examples/SCPDownload.java @@ -1,18 +1,3 @@ -/** - * Copyright 2009 sshj contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * 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 net.schmizz.sshj.examples; import net.schmizz.sshj.SSHClient; @@ -37,4 +22,4 @@ public class SCPDownload { } } -} \ No newline at end of file +} diff --git a/examples/src/main/java/net/schmizz/sshj/examples/SCPUpload.java b/examples/src/main/java/net/schmizz/sshj/examples/SCPUpload.java index b5dfe97b..5bc97989 100644 --- a/examples/src/main/java/net/schmizz/sshj/examples/SCPUpload.java +++ b/examples/src/main/java/net/schmizz/sshj/examples/SCPUpload.java @@ -1,18 +1,3 @@ -/** - * Copyright 2009 sshj contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * 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 net.schmizz.sshj.examples; import net.schmizz.sshj.SSHClient; @@ -42,4 +27,4 @@ public class SCPUpload { ssh.disconnect(); } } -} \ No newline at end of file +} diff --git a/examples/src/main/java/net/schmizz/sshj/examples/SFTPDownload.java b/examples/src/main/java/net/schmizz/sshj/examples/SFTPDownload.java index 27d6bdfb..6b8a79b0 100644 --- a/examples/src/main/java/net/schmizz/sshj/examples/SFTPDownload.java +++ b/examples/src/main/java/net/schmizz/sshj/examples/SFTPDownload.java @@ -1,18 +1,3 @@ -/** - * Copyright 2009 sshj contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * 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 net.schmizz.sshj.examples; import net.schmizz.sshj.SSHClient; @@ -42,4 +27,4 @@ public class SFTPDownload { } } -} \ No newline at end of file +} diff --git a/examples/src/main/java/net/schmizz/sshj/examples/SFTPUpload.java b/examples/src/main/java/net/schmizz/sshj/examples/SFTPUpload.java index 2a848f86..d8e39347 100644 --- a/examples/src/main/java/net/schmizz/sshj/examples/SFTPUpload.java +++ b/examples/src/main/java/net/schmizz/sshj/examples/SFTPUpload.java @@ -1,18 +1,3 @@ -/** - * Copyright 2009 sshj contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * 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 net.schmizz.sshj.examples; import net.schmizz.sshj.SSHClient; @@ -44,4 +29,4 @@ public class SFTPUpload { } } -} \ No newline at end of file +} diff --git a/examples/src/main/java/net/schmizz/sshj/examples/X11.java b/examples/src/main/java/net/schmizz/sshj/examples/X11.java index f79a141f..4eadf4fa 100644 --- a/examples/src/main/java/net/schmizz/sshj/examples/X11.java +++ b/examples/src/main/java/net/schmizz/sshj/examples/X11.java @@ -1,18 +1,3 @@ -/** - * Copyright 2009 sshj contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * 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 net.schmizz.sshj.examples; import net.schmizz.sshj.SSHClient; @@ -67,4 +52,4 @@ public class X11 { ssh.disconnect(); } } -} \ No newline at end of file +} diff --git a/src/main/java/com/hierynomus/sshj/backport/JavaVersion.java b/src/main/java/com/hierynomus/sshj/backport/JavaVersion.java index a07b7bab..20ebac6a 100644 --- a/src/main/java/com/hierynomus/sshj/backport/JavaVersion.java +++ b/src/main/java/com/hierynomus/sshj/backport/JavaVersion.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.hierynomus.sshj.backport; public class JavaVersion { diff --git a/src/main/java/com/hierynomus/sshj/backport/Jdk7HttpProxySocket.java b/src/main/java/com/hierynomus/sshj/backport/Jdk7HttpProxySocket.java index 38f7f329..2eba7695 100644 --- a/src/main/java/com/hierynomus/sshj/backport/Jdk7HttpProxySocket.java +++ b/src/main/java/com/hierynomus/sshj/backport/Jdk7HttpProxySocket.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.hierynomus.sshj.backport; import java.io.IOException; diff --git a/src/main/java/com/hierynomus/sshj/backport/Sockets.java b/src/main/java/com/hierynomus/sshj/backport/Sockets.java index 7b3f828a..797691cc 100644 --- a/src/main/java/com/hierynomus/sshj/backport/Sockets.java +++ b/src/main/java/com/hierynomus/sshj/backport/Sockets.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.hierynomus.sshj.backport; import java.io.Closeable; diff --git a/src/main/java/com/hierynomus/sshj/secg/SecgUtils.java b/src/main/java/com/hierynomus/sshj/secg/SecgUtils.java index 0e5be51f..7323ccd6 100644 --- a/src/main/java/com/hierynomus/sshj/secg/SecgUtils.java +++ b/src/main/java/com/hierynomus/sshj/secg/SecgUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.hierynomus.sshj.secg; import net.schmizz.sshj.common.SSHRuntimeException; diff --git a/src/main/java/com/hierynomus/sshj/signature/Ed25519PublicKey.java b/src/main/java/com/hierynomus/sshj/signature/Ed25519PublicKey.java index 4b1c4191..6796309f 100644 --- a/src/main/java/com/hierynomus/sshj/signature/Ed25519PublicKey.java +++ b/src/main/java/com/hierynomus/sshj/signature/Ed25519PublicKey.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.hierynomus.sshj.signature; import net.i2p.crypto.eddsa.EdDSAPublicKey; diff --git a/src/main/java/com/hierynomus/sshj/signature/SignatureEdDSA.java b/src/main/java/com/hierynomus/sshj/signature/SignatureEdDSA.java index c16b6125..dee8f275 100644 --- a/src/main/java/com/hierynomus/sshj/signature/SignatureEdDSA.java +++ b/src/main/java/com/hierynomus/sshj/signature/SignatureEdDSA.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.hierynomus.sshj.signature; import net.i2p.crypto.eddsa.EdDSAEngine; diff --git a/src/main/java/com/hierynomus/sshj/transport/cipher/BlockCiphers.java b/src/main/java/com/hierynomus/sshj/transport/cipher/BlockCiphers.java index 14d28292..ceb301e4 100644 --- a/src/main/java/com/hierynomus/sshj/transport/cipher/BlockCiphers.java +++ b/src/main/java/com/hierynomus/sshj/transport/cipher/BlockCiphers.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.hierynomus.sshj.transport.cipher; import net.schmizz.sshj.transport.cipher.BlockCipher; diff --git a/src/main/java/com/hierynomus/sshj/transport/cipher/ExtendedBlockCiphers.java b/src/main/java/com/hierynomus/sshj/transport/cipher/ExtendedBlockCiphers.java index fe039f16..8a977daa 100644 --- a/src/main/java/com/hierynomus/sshj/transport/cipher/ExtendedBlockCiphers.java +++ b/src/main/java/com/hierynomus/sshj/transport/cipher/ExtendedBlockCiphers.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.hierynomus.sshj.transport.cipher; import static com.hierynomus.sshj.transport.cipher.BlockCiphers.CIPHER_BLOCK_CHAINING_MODE; diff --git a/src/main/java/com/hierynomus/sshj/transport/cipher/StreamCipher.java b/src/main/java/com/hierynomus/sshj/transport/cipher/StreamCipher.java index 768f3ea2..eb17b3b2 100644 --- a/src/main/java/com/hierynomus/sshj/transport/cipher/StreamCipher.java +++ b/src/main/java/com/hierynomus/sshj/transport/cipher/StreamCipher.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.hierynomus.sshj.transport.cipher; import net.schmizz.sshj.transport.cipher.BaseCipher; diff --git a/src/main/java/com/hierynomus/sshj/transport/cipher/StreamCiphers.java b/src/main/java/com/hierynomus/sshj/transport/cipher/StreamCiphers.java index b08d4a7b..e30f50c7 100644 --- a/src/main/java/com/hierynomus/sshj/transport/cipher/StreamCiphers.java +++ b/src/main/java/com/hierynomus/sshj/transport/cipher/StreamCiphers.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.hierynomus.sshj.transport.cipher; import net.schmizz.sshj.transport.cipher.Cipher; diff --git a/src/main/java/net/schmizz/concurrent/ErrorDeliveryUtil.java b/src/main/java/net/schmizz/concurrent/ErrorDeliveryUtil.java index e8e66001..002a7077 100644 --- a/src/main/java/net/schmizz/concurrent/ErrorDeliveryUtil.java +++ b/src/main/java/net/schmizz/concurrent/ErrorDeliveryUtil.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/concurrent/Event.java b/src/main/java/net/schmizz/concurrent/Event.java index 92243d13..72f565bf 100644 --- a/src/main/java/net/schmizz/concurrent/Event.java +++ b/src/main/java/net/schmizz/concurrent/Event.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -143,4 +143,4 @@ public class Event { return promise.toString(); } -} \ No newline at end of file +} diff --git a/src/main/java/net/schmizz/concurrent/ExceptionChainer.java b/src/main/java/net/schmizz/concurrent/ExceptionChainer.java index a931c87c..cd3ed4e0 100644 --- a/src/main/java/net/schmizz/concurrent/ExceptionChainer.java +++ b/src/main/java/net/schmizz/concurrent/ExceptionChainer.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,4 +37,4 @@ public interface ExceptionChainer { Z chain(Throwable t); -} \ No newline at end of file +} diff --git a/src/main/java/net/schmizz/concurrent/Promise.java b/src/main/java/net/schmizz/concurrent/Promise.java index d09ced21..d568eacd 100644 --- a/src/main/java/net/schmizz/concurrent/Promise.java +++ b/src/main/java/net/schmizz/concurrent/Promise.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/keepalive/Heartbeater.java b/src/main/java/net/schmizz/keepalive/Heartbeater.java index 0026973d..e8756f64 100644 --- a/src/main/java/net/schmizz/keepalive/Heartbeater.java +++ b/src/main/java/net/schmizz/keepalive/Heartbeater.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/keepalive/KeepAlive.java b/src/main/java/net/schmizz/keepalive/KeepAlive.java index c60a629c..4ab39746 100644 --- a/src/main/java/net/schmizz/keepalive/KeepAlive.java +++ b/src/main/java/net/schmizz/keepalive/KeepAlive.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/keepalive/KeepAliveProvider.java b/src/main/java/net/schmizz/keepalive/KeepAliveProvider.java index 36c326a0..4e6a31e2 100644 --- a/src/main/java/net/schmizz/keepalive/KeepAliveProvider.java +++ b/src/main/java/net/schmizz/keepalive/KeepAliveProvider.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/keepalive/KeepAliveRunner.java b/src/main/java/net/schmizz/keepalive/KeepAliveRunner.java index 15b98302..974145cc 100644 --- a/src/main/java/net/schmizz/keepalive/KeepAliveRunner.java +++ b/src/main/java/net/schmizz/keepalive/KeepAliveRunner.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/AbstractService.java b/src/main/java/net/schmizz/sshj/AbstractService.java index 55423077..e2236ff5 100644 --- a/src/main/java/net/schmizz/sshj/AbstractService.java +++ b/src/main/java/net/schmizz/sshj/AbstractService.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/AndroidConfig.java b/src/main/java/net/schmizz/sshj/AndroidConfig.java index 1ed59b18..9bf01821 100644 --- a/src/main/java/net/schmizz/sshj/AndroidConfig.java +++ b/src/main/java/net/schmizz/sshj/AndroidConfig.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/Config.java b/src/main/java/net/schmizz/sshj/Config.java index a0b156e7..9bb9453c 100644 --- a/src/main/java/net/schmizz/sshj/Config.java +++ b/src/main/java/net/schmizz/sshj/Config.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/ConfigImpl.java b/src/main/java/net/schmizz/sshj/ConfigImpl.java index 9fb253f7..b070c394 100644 --- a/src/main/java/net/schmizz/sshj/ConfigImpl.java +++ b/src/main/java/net/schmizz/sshj/ConfigImpl.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/DefaultConfig.java b/src/main/java/net/schmizz/sshj/DefaultConfig.java index 04f46f64..37ecd2ad 100644 --- a/src/main/java/net/schmizz/sshj/DefaultConfig.java +++ b/src/main/java/net/schmizz/sshj/DefaultConfig.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/SSHClient.java b/src/main/java/net/schmizz/sshj/SSHClient.java index da0c00b7..b391a866 100644 --- a/src/main/java/net/schmizz/sshj/SSHClient.java +++ b/src/main/java/net/schmizz/sshj/SSHClient.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/Service.java b/src/main/java/net/schmizz/sshj/Service.java index 654616a7..67768e12 100644 --- a/src/main/java/net/schmizz/sshj/Service.java +++ b/src/main/java/net/schmizz/sshj/Service.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/SocketClient.java b/src/main/java/net/schmizz/sshj/SocketClient.java index 42f4b7a9..7d7dd9d1 100644 --- a/src/main/java/net/schmizz/sshj/SocketClient.java +++ b/src/main/java/net/schmizz/sshj/SocketClient.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/common/Base64.java b/src/main/java/net/schmizz/sshj/common/Base64.java index 04bbbe3a..aee0e82e 100644 --- a/src/main/java/net/schmizz/sshj/common/Base64.java +++ b/src/main/java/net/schmizz/sshj/common/Base64.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/common/Buffer.java b/src/main/java/net/schmizz/sshj/common/Buffer.java index cd1472cb..55a2dd42 100644 --- a/src/main/java/net/schmizz/sshj/common/Buffer.java +++ b/src/main/java/net/schmizz/sshj/common/Buffer.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/common/ByteArrayUtils.java b/src/main/java/net/schmizz/sshj/common/ByteArrayUtils.java index 3e5ff1ee..baf1048a 100644 --- a/src/main/java/net/schmizz/sshj/common/ByteArrayUtils.java +++ b/src/main/java/net/schmizz/sshj/common/ByteArrayUtils.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/common/DisconnectReason.java b/src/main/java/net/schmizz/sshj/common/DisconnectReason.java index 672d7d38..e73bf3f2 100644 --- a/src/main/java/net/schmizz/sshj/common/DisconnectReason.java +++ b/src/main/java/net/schmizz/sshj/common/DisconnectReason.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/common/ErrorNotifiable.java b/src/main/java/net/schmizz/sshj/common/ErrorNotifiable.java index db410861..6f80980a 100644 --- a/src/main/java/net/schmizz/sshj/common/ErrorNotifiable.java +++ b/src/main/java/net/schmizz/sshj/common/ErrorNotifiable.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/common/Factory.java b/src/main/java/net/schmizz/sshj/common/Factory.java index 51581b6e..cd80f0d0 100644 --- a/src/main/java/net/schmizz/sshj/common/Factory.java +++ b/src/main/java/net/schmizz/sshj/common/Factory.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/common/IOUtils.java b/src/main/java/net/schmizz/sshj/common/IOUtils.java index 6e79b2b3..53f3ada5 100644 --- a/src/main/java/net/schmizz/sshj/common/IOUtils.java +++ b/src/main/java/net/schmizz/sshj/common/IOUtils.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/common/KeyType.java b/src/main/java/net/schmizz/sshj/common/KeyType.java index 66c53a4d..d35fc6c5 100644 --- a/src/main/java/net/schmizz/sshj/common/KeyType.java +++ b/src/main/java/net/schmizz/sshj/common/KeyType.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/common/Message.java b/src/main/java/net/schmizz/sshj/common/Message.java index 37ffc8ee..82c1184b 100644 --- a/src/main/java/net/schmizz/sshj/common/Message.java +++ b/src/main/java/net/schmizz/sshj/common/Message.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/common/SSHException.java b/src/main/java/net/schmizz/sshj/common/SSHException.java index 31ea5a02..9f910e06 100644 --- a/src/main/java/net/schmizz/sshj/common/SSHException.java +++ b/src/main/java/net/schmizz/sshj/common/SSHException.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/common/SSHPacket.java b/src/main/java/net/schmizz/sshj/common/SSHPacket.java index 7c9fd0d3..35b096b9 100644 --- a/src/main/java/net/schmizz/sshj/common/SSHPacket.java +++ b/src/main/java/net/schmizz/sshj/common/SSHPacket.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/common/SSHPacketHandler.java b/src/main/java/net/schmizz/sshj/common/SSHPacketHandler.java index a3019e3f..39dec17c 100644 --- a/src/main/java/net/schmizz/sshj/common/SSHPacketHandler.java +++ b/src/main/java/net/schmizz/sshj/common/SSHPacketHandler.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/common/SSHRuntimeException.java b/src/main/java/net/schmizz/sshj/common/SSHRuntimeException.java index 8a41fbb6..022adcd8 100644 --- a/src/main/java/net/schmizz/sshj/common/SSHRuntimeException.java +++ b/src/main/java/net/schmizz/sshj/common/SSHRuntimeException.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/common/SecurityUtils.java b/src/main/java/net/schmizz/sshj/common/SecurityUtils.java index 0531ef4a..f6fcad3d 100644 --- a/src/main/java/net/schmizz/sshj/common/SecurityUtils.java +++ b/src/main/java/net/schmizz/sshj/common/SecurityUtils.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/common/StreamCopier.java b/src/main/java/net/schmizz/sshj/common/StreamCopier.java index f281932f..957ce796 100644 --- a/src/main/java/net/schmizz/sshj/common/StreamCopier.java +++ b/src/main/java/net/schmizz/sshj/common/StreamCopier.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/connection/Connection.java b/src/main/java/net/schmizz/sshj/connection/Connection.java index e6a5daef..257e86eb 100644 --- a/src/main/java/net/schmizz/sshj/connection/Connection.java +++ b/src/main/java/net/schmizz/sshj/connection/Connection.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/connection/ConnectionException.java b/src/main/java/net/schmizz/sshj/connection/ConnectionException.java index e8707ccd..e530ad83 100644 --- a/src/main/java/net/schmizz/sshj/connection/ConnectionException.java +++ b/src/main/java/net/schmizz/sshj/connection/ConnectionException.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/connection/ConnectionImpl.java b/src/main/java/net/schmizz/sshj/connection/ConnectionImpl.java index d20ed976..2f8ddc59 100644 --- a/src/main/java/net/schmizz/sshj/connection/ConnectionImpl.java +++ b/src/main/java/net/schmizz/sshj/connection/ConnectionImpl.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/connection/channel/AbstractChannel.java b/src/main/java/net/schmizz/sshj/connection/channel/AbstractChannel.java index f2461312..56979fa4 100644 --- a/src/main/java/net/schmizz/sshj/connection/channel/AbstractChannel.java +++ b/src/main/java/net/schmizz/sshj/connection/channel/AbstractChannel.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/connection/channel/Channel.java b/src/main/java/net/schmizz/sshj/connection/channel/Channel.java index 12daadc7..b13a23ca 100644 --- a/src/main/java/net/schmizz/sshj/connection/channel/Channel.java +++ b/src/main/java/net/schmizz/sshj/connection/channel/Channel.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/connection/channel/ChannelInputStream.java b/src/main/java/net/schmizz/sshj/connection/channel/ChannelInputStream.java index 4205fd21..4bc9561f 100644 --- a/src/main/java/net/schmizz/sshj/connection/channel/ChannelInputStream.java +++ b/src/main/java/net/schmizz/sshj/connection/channel/ChannelInputStream.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/connection/channel/ChannelOutputStream.java b/src/main/java/net/schmizz/sshj/connection/channel/ChannelOutputStream.java index 66e81bd3..e8bad1db 100644 --- a/src/main/java/net/schmizz/sshj/connection/channel/ChannelOutputStream.java +++ b/src/main/java/net/schmizz/sshj/connection/channel/ChannelOutputStream.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/connection/channel/OpenFailException.java b/src/main/java/net/schmizz/sshj/connection/channel/OpenFailException.java index 2ff0ef47..52845bdf 100644 --- a/src/main/java/net/schmizz/sshj/connection/channel/OpenFailException.java +++ b/src/main/java/net/schmizz/sshj/connection/channel/OpenFailException.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/connection/channel/SocketStreamCopyMonitor.java b/src/main/java/net/schmizz/sshj/connection/channel/SocketStreamCopyMonitor.java index c117dc32..9d373279 100644 --- a/src/main/java/net/schmizz/sshj/connection/channel/SocketStreamCopyMonitor.java +++ b/src/main/java/net/schmizz/sshj/connection/channel/SocketStreamCopyMonitor.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/connection/channel/Window.java b/src/main/java/net/schmizz/sshj/connection/channel/Window.java index 6ce56ea5..12309032 100644 --- a/src/main/java/net/schmizz/sshj/connection/channel/Window.java +++ b/src/main/java/net/schmizz/sshj/connection/channel/Window.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/connection/channel/direct/AbstractDirectChannel.java b/src/main/java/net/schmizz/sshj/connection/channel/direct/AbstractDirectChannel.java index f4978016..10595bd7 100644 --- a/src/main/java/net/schmizz/sshj/connection/channel/direct/AbstractDirectChannel.java +++ b/src/main/java/net/schmizz/sshj/connection/channel/direct/AbstractDirectChannel.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/connection/channel/direct/LocalPortForwarder.java b/src/main/java/net/schmizz/sshj/connection/channel/direct/LocalPortForwarder.java index fc605f5e..a3511cac 100644 --- a/src/main/java/net/schmizz/sshj/connection/channel/direct/LocalPortForwarder.java +++ b/src/main/java/net/schmizz/sshj/connection/channel/direct/LocalPortForwarder.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/connection/channel/direct/PTYMode.java b/src/main/java/net/schmizz/sshj/connection/channel/direct/PTYMode.java index a935420e..84c272be 100644 --- a/src/main/java/net/schmizz/sshj/connection/channel/direct/PTYMode.java +++ b/src/main/java/net/schmizz/sshj/connection/channel/direct/PTYMode.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/connection/channel/direct/Session.java b/src/main/java/net/schmizz/sshj/connection/channel/direct/Session.java index 9c480c39..6619131e 100644 --- a/src/main/java/net/schmizz/sshj/connection/channel/direct/Session.java +++ b/src/main/java/net/schmizz/sshj/connection/channel/direct/Session.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/connection/channel/direct/SessionChannel.java b/src/main/java/net/schmizz/sshj/connection/channel/direct/SessionChannel.java index 322425f4..57ccb08c 100644 --- a/src/main/java/net/schmizz/sshj/connection/channel/direct/SessionChannel.java +++ b/src/main/java/net/schmizz/sshj/connection/channel/direct/SessionChannel.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/connection/channel/direct/SessionFactory.java b/src/main/java/net/schmizz/sshj/connection/channel/direct/SessionFactory.java index 1e6f6150..c9d78c46 100644 --- a/src/main/java/net/schmizz/sshj/connection/channel/direct/SessionFactory.java +++ b/src/main/java/net/schmizz/sshj/connection/channel/direct/SessionFactory.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/connection/channel/direct/Signal.java b/src/main/java/net/schmizz/sshj/connection/channel/direct/Signal.java index fefc3777..bdc3a9b9 100644 --- a/src/main/java/net/schmizz/sshj/connection/channel/direct/Signal.java +++ b/src/main/java/net/schmizz/sshj/connection/channel/direct/Signal.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/connection/channel/forwarded/AbstractForwardedChannel.java b/src/main/java/net/schmizz/sshj/connection/channel/forwarded/AbstractForwardedChannel.java index c1406fda..dbf23b0f 100644 --- a/src/main/java/net/schmizz/sshj/connection/channel/forwarded/AbstractForwardedChannel.java +++ b/src/main/java/net/schmizz/sshj/connection/channel/forwarded/AbstractForwardedChannel.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/connection/channel/forwarded/AbstractForwardedChannelOpener.java b/src/main/java/net/schmizz/sshj/connection/channel/forwarded/AbstractForwardedChannelOpener.java index d8aa6684..e8679584 100644 --- a/src/main/java/net/schmizz/sshj/connection/channel/forwarded/AbstractForwardedChannelOpener.java +++ b/src/main/java/net/schmizz/sshj/connection/channel/forwarded/AbstractForwardedChannelOpener.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/connection/channel/forwarded/ConnectListener.java b/src/main/java/net/schmizz/sshj/connection/channel/forwarded/ConnectListener.java index 3add01ee..9ea00cf4 100644 --- a/src/main/java/net/schmizz/sshj/connection/channel/forwarded/ConnectListener.java +++ b/src/main/java/net/schmizz/sshj/connection/channel/forwarded/ConnectListener.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/connection/channel/forwarded/ForwardedChannelOpener.java b/src/main/java/net/schmizz/sshj/connection/channel/forwarded/ForwardedChannelOpener.java index 5b388197..54525424 100644 --- a/src/main/java/net/schmizz/sshj/connection/channel/forwarded/ForwardedChannelOpener.java +++ b/src/main/java/net/schmizz/sshj/connection/channel/forwarded/ForwardedChannelOpener.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/connection/channel/forwarded/RemotePortForwarder.java b/src/main/java/net/schmizz/sshj/connection/channel/forwarded/RemotePortForwarder.java index e52d7838..90b673e4 100644 --- a/src/main/java/net/schmizz/sshj/connection/channel/forwarded/RemotePortForwarder.java +++ b/src/main/java/net/schmizz/sshj/connection/channel/forwarded/RemotePortForwarder.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/connection/channel/forwarded/SocketForwardingConnectListener.java b/src/main/java/net/schmizz/sshj/connection/channel/forwarded/SocketForwardingConnectListener.java index 37ee125f..255902d6 100644 --- a/src/main/java/net/schmizz/sshj/connection/channel/forwarded/SocketForwardingConnectListener.java +++ b/src/main/java/net/schmizz/sshj/connection/channel/forwarded/SocketForwardingConnectListener.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/connection/channel/forwarded/X11Forwarder.java b/src/main/java/net/schmizz/sshj/connection/channel/forwarded/X11Forwarder.java index 4d97142f..ec133efe 100644 --- a/src/main/java/net/schmizz/sshj/connection/channel/forwarded/X11Forwarder.java +++ b/src/main/java/net/schmizz/sshj/connection/channel/forwarded/X11Forwarder.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/sftp/FileAttributes.java b/src/main/java/net/schmizz/sshj/sftp/FileAttributes.java index 5a011d79..f78cb45d 100644 --- a/src/main/java/net/schmizz/sshj/sftp/FileAttributes.java +++ b/src/main/java/net/schmizz/sshj/sftp/FileAttributes.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/sftp/FileMode.java b/src/main/java/net/schmizz/sshj/sftp/FileMode.java index 4d535d91..7ee09c44 100644 --- a/src/main/java/net/schmizz/sshj/sftp/FileMode.java +++ b/src/main/java/net/schmizz/sshj/sftp/FileMode.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/sftp/OpenMode.java b/src/main/java/net/schmizz/sshj/sftp/OpenMode.java index e9123cab..ed79254a 100644 --- a/src/main/java/net/schmizz/sshj/sftp/OpenMode.java +++ b/src/main/java/net/schmizz/sshj/sftp/OpenMode.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/sftp/PacketReader.java b/src/main/java/net/schmizz/sshj/sftp/PacketReader.java index 23f88e1d..5df50103 100644 --- a/src/main/java/net/schmizz/sshj/sftp/PacketReader.java +++ b/src/main/java/net/schmizz/sshj/sftp/PacketReader.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/sftp/PacketType.java b/src/main/java/net/schmizz/sshj/sftp/PacketType.java index dd57afa4..a3717a0c 100644 --- a/src/main/java/net/schmizz/sshj/sftp/PacketType.java +++ b/src/main/java/net/schmizz/sshj/sftp/PacketType.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/sftp/PathComponents.java b/src/main/java/net/schmizz/sshj/sftp/PathComponents.java index 3319d354..37ad0bed 100644 --- a/src/main/java/net/schmizz/sshj/sftp/PathComponents.java +++ b/src/main/java/net/schmizz/sshj/sftp/PathComponents.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -63,4 +63,4 @@ public class PathComponents { return "[parent=" + parent + "; name=" + name + "; path=" + path + "]"; } -} \ No newline at end of file +} diff --git a/src/main/java/net/schmizz/sshj/sftp/PathHelper.java b/src/main/java/net/schmizz/sshj/sftp/PathHelper.java index b12095b7..b9fb9e03 100644 --- a/src/main/java/net/schmizz/sshj/sftp/PathHelper.java +++ b/src/main/java/net/schmizz/sshj/sftp/PathHelper.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/sftp/RandomAccessRemoteFile.java b/src/main/java/net/schmizz/sshj/sftp/RandomAccessRemoteFile.java index 426782cb..9591d900 100644 --- a/src/main/java/net/schmizz/sshj/sftp/RandomAccessRemoteFile.java +++ b/src/main/java/net/schmizz/sshj/sftp/RandomAccessRemoteFile.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/sftp/RemoteDirectory.java b/src/main/java/net/schmizz/sshj/sftp/RemoteDirectory.java index 08e9cdf5..fa6b23c5 100644 --- a/src/main/java/net/schmizz/sshj/sftp/RemoteDirectory.java +++ b/src/main/java/net/schmizz/sshj/sftp/RemoteDirectory.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/sftp/RemoteFile.java b/src/main/java/net/schmizz/sshj/sftp/RemoteFile.java index 1de84b21..a2e8eb8b 100644 --- a/src/main/java/net/schmizz/sshj/sftp/RemoteFile.java +++ b/src/main/java/net/schmizz/sshj/sftp/RemoteFile.java @@ -1,12 +1,12 @@ -/** - * Copyright 2009 sshj contributors - *

+/* + * Copyright (C)2009 - SSHJ Contributors + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

+ * + * 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. diff --git a/src/main/java/net/schmizz/sshj/sftp/RemoteResource.java b/src/main/java/net/schmizz/sshj/sftp/RemoteResource.java index e3742d35..a71213e0 100644 --- a/src/main/java/net/schmizz/sshj/sftp/RemoteResource.java +++ b/src/main/java/net/schmizz/sshj/sftp/RemoteResource.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/sftp/RemoteResourceFilter.java b/src/main/java/net/schmizz/sshj/sftp/RemoteResourceFilter.java index a9264988..c29700ba 100644 --- a/src/main/java/net/schmizz/sshj/sftp/RemoteResourceFilter.java +++ b/src/main/java/net/schmizz/sshj/sftp/RemoteResourceFilter.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/sftp/RemoteResourceInfo.java b/src/main/java/net/schmizz/sshj/sftp/RemoteResourceInfo.java index 9e84251f..a73625f0 100644 --- a/src/main/java/net/schmizz/sshj/sftp/RemoteResourceInfo.java +++ b/src/main/java/net/schmizz/sshj/sftp/RemoteResourceInfo.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/sftp/Request.java b/src/main/java/net/schmizz/sshj/sftp/Request.java index e95c760a..2af9b136 100644 --- a/src/main/java/net/schmizz/sshj/sftp/Request.java +++ b/src/main/java/net/schmizz/sshj/sftp/Request.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/sftp/Requester.java b/src/main/java/net/schmizz/sshj/sftp/Requester.java index 4b82a185..bf46942c 100644 --- a/src/main/java/net/schmizz/sshj/sftp/Requester.java +++ b/src/main/java/net/schmizz/sshj/sftp/Requester.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/sftp/Response.java b/src/main/java/net/schmizz/sshj/sftp/Response.java index e78739f4..ff88830a 100644 --- a/src/main/java/net/schmizz/sshj/sftp/Response.java +++ b/src/main/java/net/schmizz/sshj/sftp/Response.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/sftp/SFTPClient.java b/src/main/java/net/schmizz/sshj/sftp/SFTPClient.java index 2db67d00..b474edb1 100644 --- a/src/main/java/net/schmizz/sshj/sftp/SFTPClient.java +++ b/src/main/java/net/schmizz/sshj/sftp/SFTPClient.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/sftp/SFTPEngine.java b/src/main/java/net/schmizz/sshj/sftp/SFTPEngine.java index 94a4fb46..40a9debe 100644 --- a/src/main/java/net/schmizz/sshj/sftp/SFTPEngine.java +++ b/src/main/java/net/schmizz/sshj/sftp/SFTPEngine.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/sftp/SFTPException.java b/src/main/java/net/schmizz/sshj/sftp/SFTPException.java index e53b2232..d43d0268 100644 --- a/src/main/java/net/schmizz/sshj/sftp/SFTPException.java +++ b/src/main/java/net/schmizz/sshj/sftp/SFTPException.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/sftp/SFTPFileTransfer.java b/src/main/java/net/schmizz/sshj/sftp/SFTPFileTransfer.java index 53bb20c0..2c77987c 100644 --- a/src/main/java/net/schmizz/sshj/sftp/SFTPFileTransfer.java +++ b/src/main/java/net/schmizz/sshj/sftp/SFTPFileTransfer.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/sftp/SFTPPacket.java b/src/main/java/net/schmizz/sshj/sftp/SFTPPacket.java index eef45737..e9341766 100644 --- a/src/main/java/net/schmizz/sshj/sftp/SFTPPacket.java +++ b/src/main/java/net/schmizz/sshj/sftp/SFTPPacket.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/sftp/StatefulSFTPClient.java b/src/main/java/net/schmizz/sshj/sftp/StatefulSFTPClient.java index e3ef3265..322bcf2a 100644 --- a/src/main/java/net/schmizz/sshj/sftp/StatefulSFTPClient.java +++ b/src/main/java/net/schmizz/sshj/sftp/StatefulSFTPClient.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/signature/AbstractSignature.java b/src/main/java/net/schmizz/sshj/signature/AbstractSignature.java index 73185a70..89b39917 100644 --- a/src/main/java/net/schmizz/sshj/signature/AbstractSignature.java +++ b/src/main/java/net/schmizz/sshj/signature/AbstractSignature.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/signature/Signature.java b/src/main/java/net/schmizz/sshj/signature/Signature.java index 76e9ffca..6fc143b1 100644 --- a/src/main/java/net/schmizz/sshj/signature/Signature.java +++ b/src/main/java/net/schmizz/sshj/signature/Signature.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/signature/SignatureDSA.java b/src/main/java/net/schmizz/sshj/signature/SignatureDSA.java index 8d6503cb..8b4edf74 100644 --- a/src/main/java/net/schmizz/sshj/signature/SignatureDSA.java +++ b/src/main/java/net/schmizz/sshj/signature/SignatureDSA.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/signature/SignatureECDSA.java b/src/main/java/net/schmizz/sshj/signature/SignatureECDSA.java index 27c47875..49a67768 100644 --- a/src/main/java/net/schmizz/sshj/signature/SignatureECDSA.java +++ b/src/main/java/net/schmizz/sshj/signature/SignatureECDSA.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/signature/SignatureRSA.java b/src/main/java/net/schmizz/sshj/signature/SignatureRSA.java index 0765d493..14758efa 100644 --- a/src/main/java/net/schmizz/sshj/signature/SignatureRSA.java +++ b/src/main/java/net/schmizz/sshj/signature/SignatureRSA.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/Converter.java b/src/main/java/net/schmizz/sshj/transport/Converter.java index b5d03330..df1b2ad3 100644 --- a/src/main/java/net/schmizz/sshj/transport/Converter.java +++ b/src/main/java/net/schmizz/sshj/transport/Converter.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/Decoder.java b/src/main/java/net/schmizz/sshj/transport/Decoder.java index 7d8179d3..a67c2891 100644 --- a/src/main/java/net/schmizz/sshj/transport/Decoder.java +++ b/src/main/java/net/schmizz/sshj/transport/Decoder.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/DisconnectListener.java b/src/main/java/net/schmizz/sshj/transport/DisconnectListener.java index de9d7a2c..35ec837c 100644 --- a/src/main/java/net/schmizz/sshj/transport/DisconnectListener.java +++ b/src/main/java/net/schmizz/sshj/transport/DisconnectListener.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/Encoder.java b/src/main/java/net/schmizz/sshj/transport/Encoder.java index c4b73fdc..c89d7542 100644 --- a/src/main/java/net/schmizz/sshj/transport/Encoder.java +++ b/src/main/java/net/schmizz/sshj/transport/Encoder.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/KeyExchanger.java b/src/main/java/net/schmizz/sshj/transport/KeyExchanger.java index 781805e7..44ebf686 100644 --- a/src/main/java/net/schmizz/sshj/transport/KeyExchanger.java +++ b/src/main/java/net/schmizz/sshj/transport/KeyExchanger.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/NegotiatedAlgorithms.java b/src/main/java/net/schmizz/sshj/transport/NegotiatedAlgorithms.java index 21362ff1..5dac8056 100644 --- a/src/main/java/net/schmizz/sshj/transport/NegotiatedAlgorithms.java +++ b/src/main/java/net/schmizz/sshj/transport/NegotiatedAlgorithms.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/Proposal.java b/src/main/java/net/schmizz/sshj/transport/Proposal.java index dbad451d..a0a9de26 100644 --- a/src/main/java/net/schmizz/sshj/transport/Proposal.java +++ b/src/main/java/net/schmizz/sshj/transport/Proposal.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/Reader.java b/src/main/java/net/schmizz/sshj/transport/Reader.java index 8db44636..aa6c4a71 100644 --- a/src/main/java/net/schmizz/sshj/transport/Reader.java +++ b/src/main/java/net/schmizz/sshj/transport/Reader.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/Transport.java b/src/main/java/net/schmizz/sshj/transport/Transport.java index 6992a52a..ab043ad3 100644 --- a/src/main/java/net/schmizz/sshj/transport/Transport.java +++ b/src/main/java/net/schmizz/sshj/transport/Transport.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/TransportException.java b/src/main/java/net/schmizz/sshj/transport/TransportException.java index 1c932b68..c3b92d6e 100644 --- a/src/main/java/net/schmizz/sshj/transport/TransportException.java +++ b/src/main/java/net/schmizz/sshj/transport/TransportException.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/TransportImpl.java b/src/main/java/net/schmizz/sshj/transport/TransportImpl.java index c2e790ce..4fef4081 100644 --- a/src/main/java/net/schmizz/sshj/transport/TransportImpl.java +++ b/src/main/java/net/schmizz/sshj/transport/TransportImpl.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/cipher/AES128CBC.java b/src/main/java/net/schmizz/sshj/transport/cipher/AES128CBC.java index 4504a5ec..20cf3d1a 100644 --- a/src/main/java/net/schmizz/sshj/transport/cipher/AES128CBC.java +++ b/src/main/java/net/schmizz/sshj/transport/cipher/AES128CBC.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/cipher/AES128CTR.java b/src/main/java/net/schmizz/sshj/transport/cipher/AES128CTR.java index a89d9ad6..bc838a44 100644 --- a/src/main/java/net/schmizz/sshj/transport/cipher/AES128CTR.java +++ b/src/main/java/net/schmizz/sshj/transport/cipher/AES128CTR.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/cipher/AES192CBC.java b/src/main/java/net/schmizz/sshj/transport/cipher/AES192CBC.java index 46112298..1ce379be 100644 --- a/src/main/java/net/schmizz/sshj/transport/cipher/AES192CBC.java +++ b/src/main/java/net/schmizz/sshj/transport/cipher/AES192CBC.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/cipher/AES192CTR.java b/src/main/java/net/schmizz/sshj/transport/cipher/AES192CTR.java index c7d36b76..0beea5d8 100644 --- a/src/main/java/net/schmizz/sshj/transport/cipher/AES192CTR.java +++ b/src/main/java/net/schmizz/sshj/transport/cipher/AES192CTR.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/cipher/AES256CBC.java b/src/main/java/net/schmizz/sshj/transport/cipher/AES256CBC.java index 276ceff2..330568ad 100644 --- a/src/main/java/net/schmizz/sshj/transport/cipher/AES256CBC.java +++ b/src/main/java/net/schmizz/sshj/transport/cipher/AES256CBC.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/cipher/AES256CTR.java b/src/main/java/net/schmizz/sshj/transport/cipher/AES256CTR.java index 78c8c90b..b2fa3bf0 100644 --- a/src/main/java/net/schmizz/sshj/transport/cipher/AES256CTR.java +++ b/src/main/java/net/schmizz/sshj/transport/cipher/AES256CTR.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/cipher/BaseCipher.java b/src/main/java/net/schmizz/sshj/transport/cipher/BaseCipher.java index 94095961..0dc5f1b9 100644 --- a/src/main/java/net/schmizz/sshj/transport/cipher/BaseCipher.java +++ b/src/main/java/net/schmizz/sshj/transport/cipher/BaseCipher.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/cipher/BlockCipher.java b/src/main/java/net/schmizz/sshj/transport/cipher/BlockCipher.java index d0a45695..1e96e4d8 100644 --- a/src/main/java/net/schmizz/sshj/transport/cipher/BlockCipher.java +++ b/src/main/java/net/schmizz/sshj/transport/cipher/BlockCipher.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 net.schmizz.sshj.transport.cipher; import javax.crypto.spec.IvParameterSpec; diff --git a/src/main/java/net/schmizz/sshj/transport/cipher/BlowfishCBC.java b/src/main/java/net/schmizz/sshj/transport/cipher/BlowfishCBC.java index a68c1260..378813c7 100644 --- a/src/main/java/net/schmizz/sshj/transport/cipher/BlowfishCBC.java +++ b/src/main/java/net/schmizz/sshj/transport/cipher/BlowfishCBC.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/cipher/Cipher.java b/src/main/java/net/schmizz/sshj/transport/cipher/Cipher.java index 66d5d707..6a6e51bd 100644 --- a/src/main/java/net/schmizz/sshj/transport/cipher/Cipher.java +++ b/src/main/java/net/schmizz/sshj/transport/cipher/Cipher.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/cipher/NoneCipher.java b/src/main/java/net/schmizz/sshj/transport/cipher/NoneCipher.java index 931e89da..e4f47fba 100644 --- a/src/main/java/net/schmizz/sshj/transport/cipher/NoneCipher.java +++ b/src/main/java/net/schmizz/sshj/transport/cipher/NoneCipher.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/cipher/TripleDESCBC.java b/src/main/java/net/schmizz/sshj/transport/cipher/TripleDESCBC.java index e572e6a9..3c4c30a6 100644 --- a/src/main/java/net/schmizz/sshj/transport/cipher/TripleDESCBC.java +++ b/src/main/java/net/schmizz/sshj/transport/cipher/TripleDESCBC.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/compression/Compression.java b/src/main/java/net/schmizz/sshj/transport/compression/Compression.java index 3453b5fa..6111480b 100644 --- a/src/main/java/net/schmizz/sshj/transport/compression/Compression.java +++ b/src/main/java/net/schmizz/sshj/transport/compression/Compression.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/compression/DelayedZlibCompression.java b/src/main/java/net/schmizz/sshj/transport/compression/DelayedZlibCompression.java index c3fa846f..b5a65077 100644 --- a/src/main/java/net/schmizz/sshj/transport/compression/DelayedZlibCompression.java +++ b/src/main/java/net/schmizz/sshj/transport/compression/DelayedZlibCompression.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/compression/NoneCompression.java b/src/main/java/net/schmizz/sshj/transport/compression/NoneCompression.java index 22ff8204..1f32f689 100644 --- a/src/main/java/net/schmizz/sshj/transport/compression/NoneCompression.java +++ b/src/main/java/net/schmizz/sshj/transport/compression/NoneCompression.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/compression/ZlibCompression.java b/src/main/java/net/schmizz/sshj/transport/compression/ZlibCompression.java index 6867a383..683d12ce 100644 --- a/src/main/java/net/schmizz/sshj/transport/compression/ZlibCompression.java +++ b/src/main/java/net/schmizz/sshj/transport/compression/ZlibCompression.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/digest/BaseDigest.java b/src/main/java/net/schmizz/sshj/transport/digest/BaseDigest.java index 81d620fa..6a5a630b 100644 --- a/src/main/java/net/schmizz/sshj/transport/digest/BaseDigest.java +++ b/src/main/java/net/schmizz/sshj/transport/digest/BaseDigest.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/digest/Digest.java b/src/main/java/net/schmizz/sshj/transport/digest/Digest.java index e585c109..8f565727 100644 --- a/src/main/java/net/schmizz/sshj/transport/digest/Digest.java +++ b/src/main/java/net/schmizz/sshj/transport/digest/Digest.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/digest/MD5.java b/src/main/java/net/schmizz/sshj/transport/digest/MD5.java index afd6da39..a7321522 100644 --- a/src/main/java/net/schmizz/sshj/transport/digest/MD5.java +++ b/src/main/java/net/schmizz/sshj/transport/digest/MD5.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/digest/SHA1.java b/src/main/java/net/schmizz/sshj/transport/digest/SHA1.java index 11b175a4..2d271773 100644 --- a/src/main/java/net/schmizz/sshj/transport/digest/SHA1.java +++ b/src/main/java/net/schmizz/sshj/transport/digest/SHA1.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/digest/SHA256.java b/src/main/java/net/schmizz/sshj/transport/digest/SHA256.java index 94f7c413..83bfb912 100644 --- a/src/main/java/net/schmizz/sshj/transport/digest/SHA256.java +++ b/src/main/java/net/schmizz/sshj/transport/digest/SHA256.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 net.schmizz.sshj.transport.digest; /** SHA256 Digest. */ diff --git a/src/main/java/net/schmizz/sshj/transport/digest/SHA384.java b/src/main/java/net/schmizz/sshj/transport/digest/SHA384.java index fcb96278..883f82d3 100644 --- a/src/main/java/net/schmizz/sshj/transport/digest/SHA384.java +++ b/src/main/java/net/schmizz/sshj/transport/digest/SHA384.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 net.schmizz.sshj.transport.digest; public class SHA384 extends BaseDigest { diff --git a/src/main/java/net/schmizz/sshj/transport/digest/SHA512.java b/src/main/java/net/schmizz/sshj/transport/digest/SHA512.java index b4d9d93d..976726aa 100644 --- a/src/main/java/net/schmizz/sshj/transport/digest/SHA512.java +++ b/src/main/java/net/schmizz/sshj/transport/digest/SHA512.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 net.schmizz.sshj.transport.digest; public class SHA512 extends BaseDigest { diff --git a/src/main/java/net/schmizz/sshj/transport/kex/AbstractDH.java b/src/main/java/net/schmizz/sshj/transport/kex/AbstractDH.java index 6156aed0..49a70201 100644 --- a/src/main/java/net/schmizz/sshj/transport/kex/AbstractDH.java +++ b/src/main/java/net/schmizz/sshj/transport/kex/AbstractDH.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 net.schmizz.sshj.transport.kex; import net.schmizz.sshj.transport.digest.Digest; diff --git a/src/main/java/net/schmizz/sshj/transport/kex/AbstractDHG.java b/src/main/java/net/schmizz/sshj/transport/kex/AbstractDHG.java index 3407ef53..067fd202 100644 --- a/src/main/java/net/schmizz/sshj/transport/kex/AbstractDHG.java +++ b/src/main/java/net/schmizz/sshj/transport/kex/AbstractDHG.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/kex/AbstractDHGex.java b/src/main/java/net/schmizz/sshj/transport/kex/AbstractDHGex.java index fbb0e237..da9c0df0 100644 --- a/src/main/java/net/schmizz/sshj/transport/kex/AbstractDHGex.java +++ b/src/main/java/net/schmizz/sshj/transport/kex/AbstractDHGex.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 net.schmizz.sshj.transport.kex; import net.schmizz.sshj.common.*; diff --git a/src/main/java/net/schmizz/sshj/transport/kex/Curve25519DH.java b/src/main/java/net/schmizz/sshj/transport/kex/Curve25519DH.java index 99d8fefa..9a28b38e 100644 --- a/src/main/java/net/schmizz/sshj/transport/kex/Curve25519DH.java +++ b/src/main/java/net/schmizz/sshj/transport/kex/Curve25519DH.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 net.schmizz.sshj.transport.kex; import net.schmizz.sshj.common.SecurityUtils; diff --git a/src/main/java/net/schmizz/sshj/transport/kex/Curve25519SHA256.java b/src/main/java/net/schmizz/sshj/transport/kex/Curve25519SHA256.java index b6053e03..692ac07b 100644 --- a/src/main/java/net/schmizz/sshj/transport/kex/Curve25519SHA256.java +++ b/src/main/java/net/schmizz/sshj/transport/kex/Curve25519SHA256.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 net.schmizz.sshj.transport.kex; import net.schmizz.sshj.common.*; diff --git a/src/main/java/net/schmizz/sshj/transport/kex/DH.java b/src/main/java/net/schmizz/sshj/transport/kex/DH.java index c5d0187a..a7d57e59 100644 --- a/src/main/java/net/schmizz/sshj/transport/kex/DH.java +++ b/src/main/java/net/schmizz/sshj/transport/kex/DH.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/kex/DHBase.java b/src/main/java/net/schmizz/sshj/transport/kex/DHBase.java index 7f53e210..18894c51 100644 --- a/src/main/java/net/schmizz/sshj/transport/kex/DHBase.java +++ b/src/main/java/net/schmizz/sshj/transport/kex/DHBase.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 net.schmizz.sshj.transport.kex; import net.schmizz.sshj.common.SSHRuntimeException; diff --git a/src/main/java/net/schmizz/sshj/transport/kex/DHG1.java b/src/main/java/net/schmizz/sshj/transport/kex/DHG1.java index 9366eff0..803217a3 100644 --- a/src/main/java/net/schmizz/sshj/transport/kex/DHG1.java +++ b/src/main/java/net/schmizz/sshj/transport/kex/DHG1.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/kex/DHG14.java b/src/main/java/net/schmizz/sshj/transport/kex/DHG14.java index fa925470..edfbc937 100644 --- a/src/main/java/net/schmizz/sshj/transport/kex/DHG14.java +++ b/src/main/java/net/schmizz/sshj/transport/kex/DHG14.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/kex/DHGexSHA1.java b/src/main/java/net/schmizz/sshj/transport/kex/DHGexSHA1.java index 61f66e20..ef3c97d4 100644 --- a/src/main/java/net/schmizz/sshj/transport/kex/DHGexSHA1.java +++ b/src/main/java/net/schmizz/sshj/transport/kex/DHGexSHA1.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 net.schmizz.sshj.transport.kex; import net.schmizz.sshj.transport.digest.SHA1; diff --git a/src/main/java/net/schmizz/sshj/transport/kex/DHGexSHA256.java b/src/main/java/net/schmizz/sshj/transport/kex/DHGexSHA256.java index 250443b3..055ccabf 100644 --- a/src/main/java/net/schmizz/sshj/transport/kex/DHGexSHA256.java +++ b/src/main/java/net/schmizz/sshj/transport/kex/DHGexSHA256.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 net.schmizz.sshj.transport.kex; import net.schmizz.sshj.transport.digest.SHA256; diff --git a/src/main/java/net/schmizz/sshj/transport/kex/DHGroupData.java b/src/main/java/net/schmizz/sshj/transport/kex/DHGroupData.java index cf470ed1..ebdd0b90 100644 --- a/src/main/java/net/schmizz/sshj/transport/kex/DHGroupData.java +++ b/src/main/java/net/schmizz/sshj/transport/kex/DHGroupData.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/kex/ECDH.java b/src/main/java/net/schmizz/sshj/transport/kex/ECDH.java index 419e071f..63178ccf 100644 --- a/src/main/java/net/schmizz/sshj/transport/kex/ECDH.java +++ b/src/main/java/net/schmizz/sshj/transport/kex/ECDH.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 net.schmizz.sshj.transport.kex; import net.schmizz.sshj.common.SecurityUtils; diff --git a/src/main/java/net/schmizz/sshj/transport/kex/ECDHNistP.java b/src/main/java/net/schmizz/sshj/transport/kex/ECDHNistP.java index 5421f2e0..d382234e 100644 --- a/src/main/java/net/schmizz/sshj/transport/kex/ECDHNistP.java +++ b/src/main/java/net/schmizz/sshj/transport/kex/ECDHNistP.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 net.schmizz.sshj.transport.kex; import net.schmizz.sshj.transport.digest.Digest; diff --git a/src/main/java/net/schmizz/sshj/transport/kex/KeyExchange.java b/src/main/java/net/schmizz/sshj/transport/kex/KeyExchange.java index 5b82d699..a235934e 100644 --- a/src/main/java/net/schmizz/sshj/transport/kex/KeyExchange.java +++ b/src/main/java/net/schmizz/sshj/transport/kex/KeyExchange.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/kex/KeyExchangeBase.java b/src/main/java/net/schmizz/sshj/transport/kex/KeyExchangeBase.java index d1a7269d..657ad572 100644 --- a/src/main/java/net/schmizz/sshj/transport/kex/KeyExchangeBase.java +++ b/src/main/java/net/schmizz/sshj/transport/kex/KeyExchangeBase.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 net.schmizz.sshj.transport.kex; import net.schmizz.sshj.common.Buffer; diff --git a/src/main/java/net/schmizz/sshj/transport/mac/BaseMAC.java b/src/main/java/net/schmizz/sshj/transport/mac/BaseMAC.java index 6019b4df..fa7fa251 100644 --- a/src/main/java/net/schmizz/sshj/transport/mac/BaseMAC.java +++ b/src/main/java/net/schmizz/sshj/transport/mac/BaseMAC.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/mac/HMACMD5.java b/src/main/java/net/schmizz/sshj/transport/mac/HMACMD5.java index e98d8ed1..1558052f 100644 --- a/src/main/java/net/schmizz/sshj/transport/mac/HMACMD5.java +++ b/src/main/java/net/schmizz/sshj/transport/mac/HMACMD5.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/mac/HMACMD596.java b/src/main/java/net/schmizz/sshj/transport/mac/HMACMD596.java index dbd6733e..3ad6d925 100644 --- a/src/main/java/net/schmizz/sshj/transport/mac/HMACMD596.java +++ b/src/main/java/net/schmizz/sshj/transport/mac/HMACMD596.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/mac/HMACSHA1.java b/src/main/java/net/schmizz/sshj/transport/mac/HMACSHA1.java index f41bbf38..e792b7fc 100644 --- a/src/main/java/net/schmizz/sshj/transport/mac/HMACSHA1.java +++ b/src/main/java/net/schmizz/sshj/transport/mac/HMACSHA1.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/mac/HMACSHA196.java b/src/main/java/net/schmizz/sshj/transport/mac/HMACSHA196.java index ab30672d..597fc820 100644 --- a/src/main/java/net/schmizz/sshj/transport/mac/HMACSHA196.java +++ b/src/main/java/net/schmizz/sshj/transport/mac/HMACSHA196.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/mac/HMACSHA2256.java b/src/main/java/net/schmizz/sshj/transport/mac/HMACSHA2256.java index d4f0aade..f1819687 100644 --- a/src/main/java/net/schmizz/sshj/transport/mac/HMACSHA2256.java +++ b/src/main/java/net/schmizz/sshj/transport/mac/HMACSHA2256.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/mac/HMACSHA2512.java b/src/main/java/net/schmizz/sshj/transport/mac/HMACSHA2512.java index 27c94c8d..d76ecdcf 100644 --- a/src/main/java/net/schmizz/sshj/transport/mac/HMACSHA2512.java +++ b/src/main/java/net/schmizz/sshj/transport/mac/HMACSHA2512.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/mac/MAC.java b/src/main/java/net/schmizz/sshj/transport/mac/MAC.java index 5852c87c..3699414f 100644 --- a/src/main/java/net/schmizz/sshj/transport/mac/MAC.java +++ b/src/main/java/net/schmizz/sshj/transport/mac/MAC.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/random/BouncyCastleRandom.java b/src/main/java/net/schmizz/sshj/transport/random/BouncyCastleRandom.java index 5bd31711..b7e9fe34 100644 --- a/src/main/java/net/schmizz/sshj/transport/random/BouncyCastleRandom.java +++ b/src/main/java/net/schmizz/sshj/transport/random/BouncyCastleRandom.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/random/JCERandom.java b/src/main/java/net/schmizz/sshj/transport/random/JCERandom.java index 4dec0884..50f487cf 100644 --- a/src/main/java/net/schmizz/sshj/transport/random/JCERandom.java +++ b/src/main/java/net/schmizz/sshj/transport/random/JCERandom.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/random/Random.java b/src/main/java/net/schmizz/sshj/transport/random/Random.java index 2954c9f4..9dabb7b2 100644 --- a/src/main/java/net/schmizz/sshj/transport/random/Random.java +++ b/src/main/java/net/schmizz/sshj/transport/random/Random.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/random/SingletonRandomFactory.java b/src/main/java/net/schmizz/sshj/transport/random/SingletonRandomFactory.java index a2eff32e..b2a1f9b0 100644 --- a/src/main/java/net/schmizz/sshj/transport/random/SingletonRandomFactory.java +++ b/src/main/java/net/schmizz/sshj/transport/random/SingletonRandomFactory.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/verification/AlgorithmsVerifier.java b/src/main/java/net/schmizz/sshj/transport/verification/AlgorithmsVerifier.java index 7ea1f510..2b0db380 100644 --- a/src/main/java/net/schmizz/sshj/transport/verification/AlgorithmsVerifier.java +++ b/src/main/java/net/schmizz/sshj/transport/verification/AlgorithmsVerifier.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/verification/ConsoleKnownHostsVerifier.java b/src/main/java/net/schmizz/sshj/transport/verification/ConsoleKnownHostsVerifier.java index f9da20ff..ac1020c0 100644 --- a/src/main/java/net/schmizz/sshj/transport/verification/ConsoleKnownHostsVerifier.java +++ b/src/main/java/net/schmizz/sshj/transport/verification/ConsoleKnownHostsVerifier.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/verification/HostKeyVerifier.java b/src/main/java/net/schmizz/sshj/transport/verification/HostKeyVerifier.java index 7a60def2..bcfc54d7 100644 --- a/src/main/java/net/schmizz/sshj/transport/verification/HostKeyVerifier.java +++ b/src/main/java/net/schmizz/sshj/transport/verification/HostKeyVerifier.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/verification/OpenSSHKnownHosts.java b/src/main/java/net/schmizz/sshj/transport/verification/OpenSSHKnownHosts.java index dcf68a49..b74131eb 100644 --- a/src/main/java/net/schmizz/sshj/transport/verification/OpenSSHKnownHosts.java +++ b/src/main/java/net/schmizz/sshj/transport/verification/OpenSSHKnownHosts.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/transport/verification/PromiscuousVerifier.java b/src/main/java/net/schmizz/sshj/transport/verification/PromiscuousVerifier.java index 773fddf9..a95cc41f 100644 --- a/src/main/java/net/schmizz/sshj/transport/verification/PromiscuousVerifier.java +++ b/src/main/java/net/schmizz/sshj/transport/verification/PromiscuousVerifier.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/AuthParams.java b/src/main/java/net/schmizz/sshj/userauth/AuthParams.java index 97e273f1..59bd6bb5 100644 --- a/src/main/java/net/schmizz/sshj/userauth/AuthParams.java +++ b/src/main/java/net/schmizz/sshj/userauth/AuthParams.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/UserAuth.java b/src/main/java/net/schmizz/sshj/userauth/UserAuth.java index 803d7226..f931cfe8 100644 --- a/src/main/java/net/schmizz/sshj/userauth/UserAuth.java +++ b/src/main/java/net/schmizz/sshj/userauth/UserAuth.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/UserAuthException.java b/src/main/java/net/schmizz/sshj/userauth/UserAuthException.java index 233fe4dc..e5ba56ec 100644 --- a/src/main/java/net/schmizz/sshj/userauth/UserAuthException.java +++ b/src/main/java/net/schmizz/sshj/userauth/UserAuthException.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/UserAuthImpl.java b/src/main/java/net/schmizz/sshj/userauth/UserAuthImpl.java index e199ea94..d4c351af 100644 --- a/src/main/java/net/schmizz/sshj/userauth/UserAuthImpl.java +++ b/src/main/java/net/schmizz/sshj/userauth/UserAuthImpl.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/keyprovider/FileKeyProvider.java b/src/main/java/net/schmizz/sshj/userauth/keyprovider/FileKeyProvider.java index 66a96acf..1fcaa242 100644 --- a/src/main/java/net/schmizz/sshj/userauth/keyprovider/FileKeyProvider.java +++ b/src/main/java/net/schmizz/sshj/userauth/keyprovider/FileKeyProvider.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/keyprovider/KeyFormat.java b/src/main/java/net/schmizz/sshj/userauth/keyprovider/KeyFormat.java index 5cd50af4..cc1a5b44 100644 --- a/src/main/java/net/schmizz/sshj/userauth/keyprovider/KeyFormat.java +++ b/src/main/java/net/schmizz/sshj/userauth/keyprovider/KeyFormat.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/keyprovider/KeyPairWrapper.java b/src/main/java/net/schmizz/sshj/userauth/keyprovider/KeyPairWrapper.java index 337f234a..08f97775 100644 --- a/src/main/java/net/schmizz/sshj/userauth/keyprovider/KeyPairWrapper.java +++ b/src/main/java/net/schmizz/sshj/userauth/keyprovider/KeyPairWrapper.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/keyprovider/KeyProvider.java b/src/main/java/net/schmizz/sshj/userauth/keyprovider/KeyProvider.java index 63124260..33a6a677 100644 --- a/src/main/java/net/schmizz/sshj/userauth/keyprovider/KeyProvider.java +++ b/src/main/java/net/schmizz/sshj/userauth/keyprovider/KeyProvider.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/keyprovider/KeyProviderUtil.java b/src/main/java/net/schmizz/sshj/userauth/keyprovider/KeyProviderUtil.java index f7f41d3e..4e897825 100644 --- a/src/main/java/net/schmizz/sshj/userauth/keyprovider/KeyProviderUtil.java +++ b/src/main/java/net/schmizz/sshj/userauth/keyprovider/KeyProviderUtil.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/keyprovider/OpenSSHKeyFile.java b/src/main/java/net/schmizz/sshj/userauth/keyprovider/OpenSSHKeyFile.java index bee86433..f85e1a67 100644 --- a/src/main/java/net/schmizz/sshj/userauth/keyprovider/OpenSSHKeyFile.java +++ b/src/main/java/net/schmizz/sshj/userauth/keyprovider/OpenSSHKeyFile.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/keyprovider/PKCS8KeyFile.java b/src/main/java/net/schmizz/sshj/userauth/keyprovider/PKCS8KeyFile.java index 3e65c49f..097490d0 100644 --- a/src/main/java/net/schmizz/sshj/userauth/keyprovider/PKCS8KeyFile.java +++ b/src/main/java/net/schmizz/sshj/userauth/keyprovider/PKCS8KeyFile.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/keyprovider/PuTTYKeyFile.java b/src/main/java/net/schmizz/sshj/userauth/keyprovider/PuTTYKeyFile.java index 5753dc65..84fcfedb 100644 --- a/src/main/java/net/schmizz/sshj/userauth/keyprovider/PuTTYKeyFile.java +++ b/src/main/java/net/schmizz/sshj/userauth/keyprovider/PuTTYKeyFile.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/method/AbstractAuthMethod.java b/src/main/java/net/schmizz/sshj/userauth/method/AbstractAuthMethod.java index 7f5e9bbd..82a12c4a 100644 --- a/src/main/java/net/schmizz/sshj/userauth/method/AbstractAuthMethod.java +++ b/src/main/java/net/schmizz/sshj/userauth/method/AbstractAuthMethod.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/method/AuthGssApiWithMic.java b/src/main/java/net/schmizz/sshj/userauth/method/AuthGssApiWithMic.java index eb800a13..751ebeca 100644 --- a/src/main/java/net/schmizz/sshj/userauth/method/AuthGssApiWithMic.java +++ b/src/main/java/net/schmizz/sshj/userauth/method/AuthGssApiWithMic.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 net.schmizz.sshj.userauth.method; import java.security.PrivilegedActionException; diff --git a/src/main/java/net/schmizz/sshj/userauth/method/AuthHostbased.java b/src/main/java/net/schmizz/sshj/userauth/method/AuthHostbased.java index 3acd2349..fe543ad5 100644 --- a/src/main/java/net/schmizz/sshj/userauth/method/AuthHostbased.java +++ b/src/main/java/net/schmizz/sshj/userauth/method/AuthHostbased.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/method/AuthKeyboardInteractive.java b/src/main/java/net/schmizz/sshj/userauth/method/AuthKeyboardInteractive.java index 058f3508..5254fdc5 100644 --- a/src/main/java/net/schmizz/sshj/userauth/method/AuthKeyboardInteractive.java +++ b/src/main/java/net/schmizz/sshj/userauth/method/AuthKeyboardInteractive.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/method/AuthMethod.java b/src/main/java/net/schmizz/sshj/userauth/method/AuthMethod.java index 6a6331c4..4401fc8b 100644 --- a/src/main/java/net/schmizz/sshj/userauth/method/AuthMethod.java +++ b/src/main/java/net/schmizz/sshj/userauth/method/AuthMethod.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/method/AuthNone.java b/src/main/java/net/schmizz/sshj/userauth/method/AuthNone.java index 430fe7df..4ae6cbd4 100644 --- a/src/main/java/net/schmizz/sshj/userauth/method/AuthNone.java +++ b/src/main/java/net/schmizz/sshj/userauth/method/AuthNone.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/method/AuthPassword.java b/src/main/java/net/schmizz/sshj/userauth/method/AuthPassword.java index dac967ee..e6cc028c 100644 --- a/src/main/java/net/schmizz/sshj/userauth/method/AuthPassword.java +++ b/src/main/java/net/schmizz/sshj/userauth/method/AuthPassword.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/method/AuthPublickey.java b/src/main/java/net/schmizz/sshj/userauth/method/AuthPublickey.java index 510c5ae5..2027a938 100644 --- a/src/main/java/net/schmizz/sshj/userauth/method/AuthPublickey.java +++ b/src/main/java/net/schmizz/sshj/userauth/method/AuthPublickey.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/method/ChallengeResponseProvider.java b/src/main/java/net/schmizz/sshj/userauth/method/ChallengeResponseProvider.java index fccf0bdb..6580c782 100644 --- a/src/main/java/net/schmizz/sshj/userauth/method/ChallengeResponseProvider.java +++ b/src/main/java/net/schmizz/sshj/userauth/method/ChallengeResponseProvider.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/method/KeyedAuthMethod.java b/src/main/java/net/schmizz/sshj/userauth/method/KeyedAuthMethod.java index a9201847..158e99d4 100644 --- a/src/main/java/net/schmizz/sshj/userauth/method/KeyedAuthMethod.java +++ b/src/main/java/net/schmizz/sshj/userauth/method/KeyedAuthMethod.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/method/PasswordResponseProvider.java b/src/main/java/net/schmizz/sshj/userauth/method/PasswordResponseProvider.java index 0ef0c8af..57bc6b8f 100644 --- a/src/main/java/net/schmizz/sshj/userauth/method/PasswordResponseProvider.java +++ b/src/main/java/net/schmizz/sshj/userauth/method/PasswordResponseProvider.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/password/AccountResource.java b/src/main/java/net/schmizz/sshj/userauth/password/AccountResource.java index 5dd6ff1e..b40e3360 100644 --- a/src/main/java/net/schmizz/sshj/userauth/password/AccountResource.java +++ b/src/main/java/net/schmizz/sshj/userauth/password/AccountResource.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/password/PasswordFinder.java b/src/main/java/net/schmizz/sshj/userauth/password/PasswordFinder.java index 55a464e9..4d003dc8 100644 --- a/src/main/java/net/schmizz/sshj/userauth/password/PasswordFinder.java +++ b/src/main/java/net/schmizz/sshj/userauth/password/PasswordFinder.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/password/PasswordUpdateProvider.java b/src/main/java/net/schmizz/sshj/userauth/password/PasswordUpdateProvider.java index 26bf0073..acce28b9 100644 --- a/src/main/java/net/schmizz/sshj/userauth/password/PasswordUpdateProvider.java +++ b/src/main/java/net/schmizz/sshj/userauth/password/PasswordUpdateProvider.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 net.schmizz.sshj.userauth.password; /** diff --git a/src/main/java/net/schmizz/sshj/userauth/password/PasswordUtils.java b/src/main/java/net/schmizz/sshj/userauth/password/PasswordUtils.java index f42252dd..6e385c55 100644 --- a/src/main/java/net/schmizz/sshj/userauth/password/PasswordUtils.java +++ b/src/main/java/net/schmizz/sshj/userauth/password/PasswordUtils.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/password/PrivateKeyFileResource.java b/src/main/java/net/schmizz/sshj/userauth/password/PrivateKeyFileResource.java index 83d742cd..78ba6c10 100644 --- a/src/main/java/net/schmizz/sshj/userauth/password/PrivateKeyFileResource.java +++ b/src/main/java/net/schmizz/sshj/userauth/password/PrivateKeyFileResource.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/password/PrivateKeyReaderResource.java b/src/main/java/net/schmizz/sshj/userauth/password/PrivateKeyReaderResource.java index e7988a0f..ad11dfbc 100644 --- a/src/main/java/net/schmizz/sshj/userauth/password/PrivateKeyReaderResource.java +++ b/src/main/java/net/schmizz/sshj/userauth/password/PrivateKeyReaderResource.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/password/PrivateKeyStringResource.java b/src/main/java/net/schmizz/sshj/userauth/password/PrivateKeyStringResource.java index e6fdfb38..eaed41e0 100644 --- a/src/main/java/net/schmizz/sshj/userauth/password/PrivateKeyStringResource.java +++ b/src/main/java/net/schmizz/sshj/userauth/password/PrivateKeyStringResource.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/userauth/password/Resource.java b/src/main/java/net/schmizz/sshj/userauth/password/Resource.java index 9fa7dd45..29d26d19 100644 --- a/src/main/java/net/schmizz/sshj/userauth/password/Resource.java +++ b/src/main/java/net/schmizz/sshj/userauth/password/Resource.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/xfer/AbstractFileTransfer.java b/src/main/java/net/schmizz/sshj/xfer/AbstractFileTransfer.java index 7b8175ac..d6f658e0 100644 --- a/src/main/java/net/schmizz/sshj/xfer/AbstractFileTransfer.java +++ b/src/main/java/net/schmizz/sshj/xfer/AbstractFileTransfer.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/xfer/FilePermission.java b/src/main/java/net/schmizz/sshj/xfer/FilePermission.java index 62bfa7b2..760445e8 100644 --- a/src/main/java/net/schmizz/sshj/xfer/FilePermission.java +++ b/src/main/java/net/schmizz/sshj/xfer/FilePermission.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/xfer/FileSystemFile.java b/src/main/java/net/schmizz/sshj/xfer/FileSystemFile.java index a50e3d0d..e15a46a3 100644 --- a/src/main/java/net/schmizz/sshj/xfer/FileSystemFile.java +++ b/src/main/java/net/schmizz/sshj/xfer/FileSystemFile.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/xfer/FileTransfer.java b/src/main/java/net/schmizz/sshj/xfer/FileTransfer.java index e58cb81e..f3b08169 100644 --- a/src/main/java/net/schmizz/sshj/xfer/FileTransfer.java +++ b/src/main/java/net/schmizz/sshj/xfer/FileTransfer.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/xfer/InMemoryDestFile.java b/src/main/java/net/schmizz/sshj/xfer/InMemoryDestFile.java index ca1603db..bd228573 100644 --- a/src/main/java/net/schmizz/sshj/xfer/InMemoryDestFile.java +++ b/src/main/java/net/schmizz/sshj/xfer/InMemoryDestFile.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/xfer/InMemorySourceFile.java b/src/main/java/net/schmizz/sshj/xfer/InMemorySourceFile.java index fe9bd314..da544a82 100644 --- a/src/main/java/net/schmizz/sshj/xfer/InMemorySourceFile.java +++ b/src/main/java/net/schmizz/sshj/xfer/InMemorySourceFile.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/xfer/LocalDestFile.java b/src/main/java/net/schmizz/sshj/xfer/LocalDestFile.java index e286ca97..7e4296a9 100644 --- a/src/main/java/net/schmizz/sshj/xfer/LocalDestFile.java +++ b/src/main/java/net/schmizz/sshj/xfer/LocalDestFile.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/xfer/LocalFileFilter.java b/src/main/java/net/schmizz/sshj/xfer/LocalFileFilter.java index 87314cf8..1ea82692 100644 --- a/src/main/java/net/schmizz/sshj/xfer/LocalFileFilter.java +++ b/src/main/java/net/schmizz/sshj/xfer/LocalFileFilter.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/xfer/LocalSourceFile.java b/src/main/java/net/schmizz/sshj/xfer/LocalSourceFile.java index ecb4f41f..3fc4e9ff 100644 --- a/src/main/java/net/schmizz/sshj/xfer/LocalSourceFile.java +++ b/src/main/java/net/schmizz/sshj/xfer/LocalSourceFile.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/xfer/LoggingTransferListener.java b/src/main/java/net/schmizz/sshj/xfer/LoggingTransferListener.java index 533d813d..c939a764 100644 --- a/src/main/java/net/schmizz/sshj/xfer/LoggingTransferListener.java +++ b/src/main/java/net/schmizz/sshj/xfer/LoggingTransferListener.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/xfer/TransferListener.java b/src/main/java/net/schmizz/sshj/xfer/TransferListener.java index abb41ef4..dba6f5d0 100644 --- a/src/main/java/net/schmizz/sshj/xfer/TransferListener.java +++ b/src/main/java/net/schmizz/sshj/xfer/TransferListener.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/xfer/scp/AbstractSCPClient.java b/src/main/java/net/schmizz/sshj/xfer/scp/AbstractSCPClient.java index af455da0..6db42de2 100644 --- a/src/main/java/net/schmizz/sshj/xfer/scp/AbstractSCPClient.java +++ b/src/main/java/net/schmizz/sshj/xfer/scp/AbstractSCPClient.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 net.schmizz.sshj.xfer.scp; abstract class AbstractSCPClient { diff --git a/src/main/java/net/schmizz/sshj/xfer/scp/SCPDownloadClient.java b/src/main/java/net/schmizz/sshj/xfer/scp/SCPDownloadClient.java index d9408b06..d175a874 100644 --- a/src/main/java/net/schmizz/sshj/xfer/scp/SCPDownloadClient.java +++ b/src/main/java/net/schmizz/sshj/xfer/scp/SCPDownloadClient.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/xfer/scp/SCPEngine.java b/src/main/java/net/schmizz/sshj/xfer/scp/SCPEngine.java index 67a672f6..71096349 100644 --- a/src/main/java/net/schmizz/sshj/xfer/scp/SCPEngine.java +++ b/src/main/java/net/schmizz/sshj/xfer/scp/SCPEngine.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/xfer/scp/SCPException.java b/src/main/java/net/schmizz/sshj/xfer/scp/SCPException.java index 06ff324a..13b8a0cf 100644 --- a/src/main/java/net/schmizz/sshj/xfer/scp/SCPException.java +++ b/src/main/java/net/schmizz/sshj/xfer/scp/SCPException.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/xfer/scp/SCPFileTransfer.java b/src/main/java/net/schmizz/sshj/xfer/scp/SCPFileTransfer.java index c25cdde6..1fa1c82c 100644 --- a/src/main/java/net/schmizz/sshj/xfer/scp/SCPFileTransfer.java +++ b/src/main/java/net/schmizz/sshj/xfer/scp/SCPFileTransfer.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/main/java/net/schmizz/sshj/xfer/scp/SCPRemoteException.java b/src/main/java/net/schmizz/sshj/xfer/scp/SCPRemoteException.java index 25a257b4..2de95188 100644 --- a/src/main/java/net/schmizz/sshj/xfer/scp/SCPRemoteException.java +++ b/src/main/java/net/schmizz/sshj/xfer/scp/SCPRemoteException.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 net.schmizz.sshj.xfer.scp; public class SCPRemoteException extends SCPException diff --git a/src/main/java/net/schmizz/sshj/xfer/scp/SCPUploadClient.java b/src/main/java/net/schmizz/sshj/xfer/scp/SCPUploadClient.java index 15a36b51..d7b74a2e 100644 --- a/src/main/java/net/schmizz/sshj/xfer/scp/SCPUploadClient.java +++ b/src/main/java/net/schmizz/sshj/xfer/scp/SCPUploadClient.java @@ -1,12 +1,12 @@ -/** - * Copyright 2009 sshj contributors - *

+/* + * Copyright (C)2009 - SSHJ Contributors + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

+ * + * 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. diff --git a/src/main/java/net/schmizz/sshj/xfer/scp/ScpCommandLine.java b/src/main/java/net/schmizz/sshj/xfer/scp/ScpCommandLine.java index f910c0fc..946d7409 100644 --- a/src/main/java/net/schmizz/sshj/xfer/scp/ScpCommandLine.java +++ b/src/main/java/net/schmizz/sshj/xfer/scp/ScpCommandLine.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 net.schmizz.sshj.xfer.scp; import java.util.LinkedHashMap; diff --git a/src/test/java/com/hierynomus/sshj/IntegrationTest.java b/src/test/java/com/hierynomus/sshj/IntegrationTest.java index e2a9dc7e..52af7e7f 100644 --- a/src/test/java/com/hierynomus/sshj/IntegrationTest.java +++ b/src/test/java/com/hierynomus/sshj/IntegrationTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.hierynomus.sshj; import net.schmizz.sshj.DefaultConfig; diff --git a/src/test/java/com/hierynomus/sshj/connection/channel/ChannelCloseEofTest.java b/src/test/java/com/hierynomus/sshj/connection/channel/ChannelCloseEofTest.java index 06861885..917e60c1 100644 --- a/src/test/java/com/hierynomus/sshj/connection/channel/ChannelCloseEofTest.java +++ b/src/test/java/com/hierynomus/sshj/connection/channel/ChannelCloseEofTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.hierynomus.sshj.connection.channel; import com.hierynomus.sshj.test.SshFixture; diff --git a/src/test/java/com/hierynomus/sshj/connection/channel/direct/CommandTest.java b/src/test/java/com/hierynomus/sshj/connection/channel/direct/CommandTest.java index 6c2e52a3..bdd11947 100644 --- a/src/test/java/com/hierynomus/sshj/connection/channel/direct/CommandTest.java +++ b/src/test/java/com/hierynomus/sshj/connection/channel/direct/CommandTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.hierynomus.sshj.connection.channel.direct; import com.hierynomus.sshj.test.SshFixture; diff --git a/src/test/java/com/hierynomus/sshj/connection/channel/forwarded/RemotePortForwarderTest.java b/src/test/java/com/hierynomus/sshj/connection/channel/forwarded/RemotePortForwarderTest.java index 4ecf3914..2277d4fa 100644 --- a/src/test/java/com/hierynomus/sshj/connection/channel/forwarded/RemotePortForwarderTest.java +++ b/src/test/java/com/hierynomus/sshj/connection/channel/forwarded/RemotePortForwarderTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.hierynomus.sshj.connection.channel.forwarded; import com.hierynomus.sshj.test.HttpServer; diff --git a/src/test/java/com/hierynomus/sshj/keepalive/KeepAliveThreadTerminationTest.java b/src/test/java/com/hierynomus/sshj/keepalive/KeepAliveThreadTerminationTest.java index 57fbcf45..9a539fa9 100644 --- a/src/test/java/com/hierynomus/sshj/keepalive/KeepAliveThreadTerminationTest.java +++ b/src/test/java/com/hierynomus/sshj/keepalive/KeepAliveThreadTerminationTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.hierynomus.sshj.keepalive; import com.hierynomus.sshj.test.KnownFailingTests; diff --git a/src/test/java/com/hierynomus/sshj/sftp/RemoteFileTest.java b/src/test/java/com/hierynomus/sshj/sftp/RemoteFileTest.java index 68e158ff..30b84d1e 100644 --- a/src/test/java/com/hierynomus/sshj/sftp/RemoteFileTest.java +++ b/src/test/java/com/hierynomus/sshj/sftp/RemoteFileTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.hierynomus.sshj.sftp; import com.hierynomus.sshj.test.SshFixture; diff --git a/src/test/java/com/hierynomus/sshj/sftp/SFTPClientTest.java b/src/test/java/com/hierynomus/sshj/sftp/SFTPClientTest.java index 37591360..a44716f0 100644 --- a/src/test/java/com/hierynomus/sshj/sftp/SFTPClientTest.java +++ b/src/test/java/com/hierynomus/sshj/sftp/SFTPClientTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.hierynomus.sshj.sftp; import com.hierynomus.sshj.test.SshFixture; @@ -24,8 +39,6 @@ public class SFTPClientTest { SSHClient sshClient = fixture.setupConnectedDefaultClient(); sshClient.authPassword("test", "test"); SFTPClient sftpClient = sshClient.newSFTPClient(); - // TODO workaround for bug in Mina 1.0.0 --> Should be fixed in 1.1.0 - sftpClient.getFileTransfer().setPreserveAttributes(false); File file = temp.newFile("source.txt"); FileUtil.writeToFile(file, "This is the source"); try { diff --git a/src/test/java/com/hierynomus/sshj/test/BaseAlgorithmTest.java b/src/test/java/com/hierynomus/sshj/test/BaseAlgorithmTest.java index 95b45716..d2f6ac7c 100644 --- a/src/test/java/com/hierynomus/sshj/test/BaseAlgorithmTest.java +++ b/src/test/java/com/hierynomus/sshj/test/BaseAlgorithmTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.hierynomus.sshj.test; import net.schmizz.sshj.Config; diff --git a/src/test/java/com/hierynomus/sshj/test/HttpServer.java b/src/test/java/com/hierynomus/sshj/test/HttpServer.java index 9f6044fa..5d02adf8 100644 --- a/src/test/java/com/hierynomus/sshj/test/HttpServer.java +++ b/src/test/java/com/hierynomus/sshj/test/HttpServer.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.hierynomus.sshj.test; import org.junit.rules.ExternalResource; diff --git a/src/test/java/com/hierynomus/sshj/test/KnownFailingTests.java b/src/test/java/com/hierynomus/sshj/test/KnownFailingTests.java index 3423fd80..dbf6cb59 100644 --- a/src/test/java/com/hierynomus/sshj/test/KnownFailingTests.java +++ b/src/test/java/com/hierynomus/sshj/test/KnownFailingTests.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.hierynomus.sshj.test; /** diff --git a/src/test/java/com/hierynomus/sshj/test/SlowTests.java b/src/test/java/com/hierynomus/sshj/test/SlowTests.java index 37a4f004..50906e9d 100644 --- a/src/test/java/com/hierynomus/sshj/test/SlowTests.java +++ b/src/test/java/com/hierynomus/sshj/test/SlowTests.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.hierynomus.sshj.test; public interface SlowTests { diff --git a/src/test/java/com/hierynomus/sshj/test/SshFixture.java b/src/test/java/com/hierynomus/sshj/test/SshFixture.java index 22cf9040..93cbb3fb 100644 --- a/src/test/java/com/hierynomus/sshj/test/SshFixture.java +++ b/src/test/java/com/hierynomus/sshj/test/SshFixture.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.hierynomus.sshj.test; import net.schmizz.sshj.Config; diff --git a/src/test/java/com/hierynomus/sshj/test/util/FileUtil.java b/src/test/java/com/hierynomus/sshj/test/util/FileUtil.java index 0c1404c2..19ccff1d 100644 --- a/src/test/java/com/hierynomus/sshj/test/util/FileUtil.java +++ b/src/test/java/com/hierynomus/sshj/test/util/FileUtil.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.hierynomus.sshj.test.util; import net.schmizz.sshj.common.IOUtils; diff --git a/src/test/java/com/hierynomus/sshj/transport/DisconnectionTest.java b/src/test/java/com/hierynomus/sshj/transport/DisconnectionTest.java index a5da41be..0d2d41d1 100644 --- a/src/test/java/com/hierynomus/sshj/transport/DisconnectionTest.java +++ b/src/test/java/com/hierynomus/sshj/transport/DisconnectionTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.hierynomus.sshj.transport; import com.hierynomus.sshj.test.SshFixture; diff --git a/src/test/java/com/hierynomus/sshj/transport/kex/KeyExchangeTest.java b/src/test/java/com/hierynomus/sshj/transport/kex/KeyExchangeTest.java index 3c528d1e..f517a407 100644 --- a/src/test/java/com/hierynomus/sshj/transport/kex/KeyExchangeTest.java +++ b/src/test/java/com/hierynomus/sshj/transport/kex/KeyExchangeTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.hierynomus.sshj.transport.kex; import com.hierynomus.sshj.test.BaseAlgorithmTest; diff --git a/src/test/java/com/hierynomus/sshj/userauth/GssApiTest.java b/src/test/java/com/hierynomus/sshj/userauth/GssApiTest.java index c4c74c3e..20cf906f 100644 --- a/src/test/java/com/hierynomus/sshj/userauth/GssApiTest.java +++ b/src/test/java/com/hierynomus/sshj/userauth/GssApiTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.hierynomus.sshj.userauth; import com.hierynomus.sshj.test.SshFixture; diff --git a/src/test/java/com/hierynomus/sshj/userauth/method/AuthPasswordTest.java b/src/test/java/com/hierynomus/sshj/userauth/method/AuthPasswordTest.java index aca2ab1b..74a542c7 100644 --- a/src/test/java/com/hierynomus/sshj/userauth/method/AuthPasswordTest.java +++ b/src/test/java/com/hierynomus/sshj/userauth/method/AuthPasswordTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 com.hierynomus.sshj.userauth.method; import com.hierynomus.sshj.test.SshFixture; diff --git a/src/test/java/net/schmizz/sshj/LoadsOfConnects.java b/src/test/java/net/schmizz/sshj/LoadsOfConnects.java index e450aad2..126a2498 100644 --- a/src/test/java/net/schmizz/sshj/LoadsOfConnects.java +++ b/src/test/java/net/schmizz/sshj/LoadsOfConnects.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/net/schmizz/sshj/SmokeTest.java b/src/test/java/net/schmizz/sshj/SmokeTest.java index de9322a8..468a1ec6 100644 --- a/src/test/java/net/schmizz/sshj/SmokeTest.java +++ b/src/test/java/net/schmizz/sshj/SmokeTest.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/net/schmizz/sshj/common/BufferTest.java b/src/test/java/net/schmizz/sshj/common/BufferTest.java index 7e7c25a7..f142a4e3 100644 --- a/src/test/java/net/schmizz/sshj/common/BufferTest.java +++ b/src/test/java/net/schmizz/sshj/common/BufferTest.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/net/schmizz/sshj/keyprovider/KeyProviderUtilTest.java b/src/test/java/net/schmizz/sshj/keyprovider/KeyProviderUtilTest.java index a599657c..fbb64c12 100644 --- a/src/test/java/net/schmizz/sshj/keyprovider/KeyProviderUtilTest.java +++ b/src/test/java/net/schmizz/sshj/keyprovider/KeyProviderUtilTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 net.schmizz.sshj.keyprovider; import static org.junit.Assert.assertEquals; diff --git a/src/test/java/net/schmizz/sshj/keyprovider/OpenSSHKeyFileTest.java b/src/test/java/net/schmizz/sshj/keyprovider/OpenSSHKeyFileTest.java index 1fd2cca1..478a3399 100644 --- a/src/test/java/net/schmizz/sshj/keyprovider/OpenSSHKeyFileTest.java +++ b/src/test/java/net/schmizz/sshj/keyprovider/OpenSSHKeyFileTest.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/net/schmizz/sshj/keyprovider/PKCS8KeyFileTest.java b/src/test/java/net/schmizz/sshj/keyprovider/PKCS8KeyFileTest.java index 10769294..d9e9abdb 100644 --- a/src/test/java/net/schmizz/sshj/keyprovider/PKCS8KeyFileTest.java +++ b/src/test/java/net/schmizz/sshj/keyprovider/PKCS8KeyFileTest.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/net/schmizz/sshj/keyprovider/PuTTYKeyFileTest.java b/src/test/java/net/schmizz/sshj/keyprovider/PuTTYKeyFileTest.java index 136cc814..19b25389 100644 --- a/src/test/java/net/schmizz/sshj/keyprovider/PuTTYKeyFileTest.java +++ b/src/test/java/net/schmizz/sshj/keyprovider/PuTTYKeyFileTest.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/net/schmizz/sshj/sftp/FileModeTest.java b/src/test/java/net/schmizz/sshj/sftp/FileModeTest.java index 896b26db..2f90a9d3 100644 --- a/src/test/java/net/schmizz/sshj/sftp/FileModeTest.java +++ b/src/test/java/net/schmizz/sshj/sftp/FileModeTest.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/net/schmizz/sshj/sftp/PacketReaderTest.java b/src/test/java/net/schmizz/sshj/sftp/PacketReaderTest.java index 9b00004a..ff78618c 100644 --- a/src/test/java/net/schmizz/sshj/sftp/PacketReaderTest.java +++ b/src/test/java/net/schmizz/sshj/sftp/PacketReaderTest.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/net/schmizz/sshj/sftp/PathHelperTest.java b/src/test/java/net/schmizz/sshj/sftp/PathHelperTest.java index cc130320..f5465978 100644 --- a/src/test/java/net/schmizz/sshj/sftp/PathHelperTest.java +++ b/src/test/java/net/schmizz/sshj/sftp/PathHelperTest.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/net/schmizz/sshj/sftp/SFTPClientTest.java b/src/test/java/net/schmizz/sshj/sftp/SFTPClientTest.java index fd9c5cf7..72346cdf 100644 --- a/src/test/java/net/schmizz/sshj/sftp/SFTPClientTest.java +++ b/src/test/java/net/schmizz/sshj/sftp/SFTPClientTest.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/net/schmizz/sshj/transport/mac/BaseMacTest.java b/src/test/java/net/schmizz/sshj/transport/mac/BaseMacTest.java index 79bfa265..4c548016 100644 --- a/src/test/java/net/schmizz/sshj/transport/mac/BaseMacTest.java +++ b/src/test/java/net/schmizz/sshj/transport/mac/BaseMacTest.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/net/schmizz/sshj/transport/mac/HMACMD596Test.java b/src/test/java/net/schmizz/sshj/transport/mac/HMACMD596Test.java index a5b049da..0f34024a 100644 --- a/src/test/java/net/schmizz/sshj/transport/mac/HMACMD596Test.java +++ b/src/test/java/net/schmizz/sshj/transport/mac/HMACMD596Test.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/net/schmizz/sshj/transport/mac/HMACMD5Test.java b/src/test/java/net/schmizz/sshj/transport/mac/HMACMD5Test.java index 1128c38b..e7b545b8 100644 --- a/src/test/java/net/schmizz/sshj/transport/mac/HMACMD5Test.java +++ b/src/test/java/net/schmizz/sshj/transport/mac/HMACMD5Test.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/net/schmizz/sshj/transport/mac/HMACSHA196Test.java b/src/test/java/net/schmizz/sshj/transport/mac/HMACSHA196Test.java index 9d984c44..fffee1af 100644 --- a/src/test/java/net/schmizz/sshj/transport/mac/HMACSHA196Test.java +++ b/src/test/java/net/schmizz/sshj/transport/mac/HMACSHA196Test.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/net/schmizz/sshj/transport/mac/HMACSHA1Test.java b/src/test/java/net/schmizz/sshj/transport/mac/HMACSHA1Test.java index 06da284d..515aa161 100644 --- a/src/test/java/net/schmizz/sshj/transport/mac/HMACSHA1Test.java +++ b/src/test/java/net/schmizz/sshj/transport/mac/HMACSHA1Test.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/net/schmizz/sshj/transport/mac/HMACSHA2256Test.java b/src/test/java/net/schmizz/sshj/transport/mac/HMACSHA2256Test.java index d8fda23a..04c99948 100644 --- a/src/test/java/net/schmizz/sshj/transport/mac/HMACSHA2256Test.java +++ b/src/test/java/net/schmizz/sshj/transport/mac/HMACSHA2256Test.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/net/schmizz/sshj/transport/mac/HMACSHA2512Test.java b/src/test/java/net/schmizz/sshj/transport/mac/HMACSHA2512Test.java index ae006465..5c5973ed 100644 --- a/src/test/java/net/schmizz/sshj/transport/mac/HMACSHA2512Test.java +++ b/src/test/java/net/schmizz/sshj/transport/mac/HMACSHA2512Test.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/net/schmizz/sshj/transport/verification/OpenSSHKnownHostsTest.java b/src/test/java/net/schmizz/sshj/transport/verification/OpenSSHKnownHostsTest.java index 019a5ccc..4559f4e7 100644 --- a/src/test/java/net/schmizz/sshj/transport/verification/OpenSSHKnownHostsTest.java +++ b/src/test/java/net/schmizz/sshj/transport/verification/OpenSSHKnownHostsTest.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/net/schmizz/sshj/util/BufferTest.java b/src/test/java/net/schmizz/sshj/util/BufferTest.java index 746c0dad..49d1c4c8 100644 --- a/src/test/java/net/schmizz/sshj/util/BufferTest.java +++ b/src/test/java/net/schmizz/sshj/util/BufferTest.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/net/schmizz/sshj/util/KeyUtil.java b/src/test/java/net/schmizz/sshj/util/KeyUtil.java index 60ebad25..b7a27c89 100644 --- a/src/test/java/net/schmizz/sshj/util/KeyUtil.java +++ b/src/test/java/net/schmizz/sshj/util/KeyUtil.java @@ -1,5 +1,5 @@ -/** - * Copyright 2009 sshj contributors +/* + * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/src/test/java/net/schmizz/sshj/util/gss/BogusGSSAuthenticator.java b/src/test/java/net/schmizz/sshj/util/gss/BogusGSSAuthenticator.java index 9528b390..e4777816 100644 --- a/src/test/java/net/schmizz/sshj/util/gss/BogusGSSAuthenticator.java +++ b/src/test/java/net/schmizz/sshj/util/gss/BogusGSSAuthenticator.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 net.schmizz.sshj.util.gss; import org.apache.sshd.server.auth.gss.GSSAuthenticator; diff --git a/src/test/java/net/schmizz/sshj/util/gss/BogusGSSContext.java b/src/test/java/net/schmizz/sshj/util/gss/BogusGSSContext.java index 597768d5..bc6c9d8e 100644 --- a/src/test/java/net/schmizz/sshj/util/gss/BogusGSSContext.java +++ b/src/test/java/net/schmizz/sshj/util/gss/BogusGSSContext.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 net.schmizz.sshj.util.gss; import static net.schmizz.sshj.util.gss.BogusGSSManager.unavailable; diff --git a/src/test/java/net/schmizz/sshj/util/gss/BogusGSSCredential.java b/src/test/java/net/schmizz/sshj/util/gss/BogusGSSCredential.java index c1d9803b..e653697b 100644 --- a/src/test/java/net/schmizz/sshj/util/gss/BogusGSSCredential.java +++ b/src/test/java/net/schmizz/sshj/util/gss/BogusGSSCredential.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 net.schmizz.sshj.util.gss; import static net.schmizz.sshj.util.gss.BogusGSSManager.unavailable; diff --git a/src/test/java/net/schmizz/sshj/util/gss/BogusGSSManager.java b/src/test/java/net/schmizz/sshj/util/gss/BogusGSSManager.java index c083ecfe..e38e0002 100644 --- a/src/test/java/net/schmizz/sshj/util/gss/BogusGSSManager.java +++ b/src/test/java/net/schmizz/sshj/util/gss/BogusGSSManager.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 net.schmizz.sshj.util.gss; import java.security.Provider; diff --git a/src/test/java/net/schmizz/sshj/util/gss/BogusGSSName.java b/src/test/java/net/schmizz/sshj/util/gss/BogusGSSName.java index 8b39864a..f91b5da7 100644 --- a/src/test/java/net/schmizz/sshj/util/gss/BogusGSSName.java +++ b/src/test/java/net/schmizz/sshj/util/gss/BogusGSSName.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 net.schmizz.sshj.util.gss; import static net.schmizz.sshj.util.gss.BogusGSSManager.unavailable; diff --git a/src/test/java/net/schmizz/sshj/xfer/scp/SCPFileTransferTest.java b/src/test/java/net/schmizz/sshj/xfer/scp/SCPFileTransferTest.java index e3634370..87119ce9 100644 --- a/src/test/java/net/schmizz/sshj/xfer/scp/SCPFileTransferTest.java +++ b/src/test/java/net/schmizz/sshj/xfer/scp/SCPFileTransferTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (C)2009 - SSHJ Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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 net.schmizz.sshj.xfer.scp; import com.hierynomus.sshj.test.SshFixture; diff --git a/src/test/resources/logback-test.xml b/src/test/resources/logback-test.xml index 75135b4d..b9ed14e8 100644 --- a/src/test/resources/logback-test.xml +++ b/src/test/resources/logback-test.xml @@ -1,3 +1,20 @@ +