Update copyright on all files

This commit is contained in:
Stuart Stock
2017-02-06 13:16:57 -06:00
parent d954dc6b23
commit 45ef37998e
27 changed files with 401 additions and 12 deletions

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2017 int08h LLC. All rights reserved.
*
* int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0
* (the "License"); you may not use this Software except in compliance with the License. You may
* obtain a copy of the License from the LICENSE file included with the Software or 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 nearenough.client;
import static nearenough.protocol.RtConstants.CERTIFICATE_CONTEXT;

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2017 int08h LLC. All rights reserved.
*
* int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0
* (the "License"); you may not use this Software except in compliance with the License. You may
* obtain a copy of the License from the LICENSE file included with the Software or 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 nearenough.exceptions;
/**

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2017 int08h LLC. All rights reserved.
*
* int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0
* (the "License"); you may not use this Software except in compliance with the License. You may
* obtain a copy of the License from the LICENSE file included with the Software or 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 nearenough.exceptions;
public class InvalidRoughTimeMessage extends RuntimeException {

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2017 int08h LLC. All rights reserved.
*
* int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0
* (the "License"); you may not use this Software except in compliance with the License. You may
* obtain a copy of the License from the LICENSE file included with the Software or 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 nearenough.exceptions;
/**

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2017 int08h LLC. All rights reserved.
*
* int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0
* (the "License"); you may not use this Software except in compliance with the License. You may
* obtain a copy of the License from the LICENSE file included with the Software or 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 nearenough.exceptions;
/**

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2017 int08h LLC. All rights reserved.
*
* int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0
* (the "License"); you may not use this Software except in compliance with the License. You may
* obtain a copy of the License from the LICENSE file included with the Software or 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 nearenough.exceptions;
/**

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2017 int08h LLC. All rights reserved.
*
* int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0
* (the "License"); you may not use this Software except in compliance with the License. You may
* obtain a copy of the License from the LICENSE file included with the Software or 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 nearenough.exceptions;
/**

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2017 int08h LLC. All rights reserved.
*
* int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0
* (the "License"); you may not use this Software except in compliance with the License. You may
* obtain a copy of the License from the LICENSE file included with the Software or 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 nearenough.exceptions;
public class MidpointInvalid extends InvalidRoughTimeMessage {

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2017 int08h LLC. All rights reserved.
*
* int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0
* (the "License"); you may not use this Software except in compliance with the License. You may
* obtain a copy of the License from the LICENSE file included with the Software or 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 nearenough.exceptions;
/**

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2017 int08h LLC. All rights reserved.
*
* int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0
* (the "License"); you may not use this Software except in compliance with the License. You may
* obtain a copy of the License from the LICENSE file included with the Software or 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 nearenough.exceptions;
/**

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2017 int08h LLC. All rights reserved.
*
* int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0
* (the "License"); you may not use this Software except in compliance with the License. You may
* obtain a copy of the License from the LICENSE file included with the Software or 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 nearenough.exceptions;
/**

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2017 int08h LLC. All rights reserved.
*
* int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0
* (the "License"); you may not use this Software except in compliance with the License. You may
* obtain a copy of the License from the LICENSE file included with the Software or 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 nearenough.exceptions;
/**

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2017 int08h LLC. All rights reserved.
*
* int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0
* (the "License"); you may not use this Software except in compliance with the License. You may
* obtain a copy of the License from the LICENSE file included with the Software or 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 nearenough.protocol;
/**

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2017 int08h LLC. All rights reserved.
*
* int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0
* (the "License"); you may not use this Software except in compliance with the License. You may
* obtain a copy of the License from the LICENSE file included with the Software or 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 nearenough.protocol;
import static nearenough.protocol.RtConstants.MIN_SEED_LENGTH;

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2017 int08h LLC. All rights reserved.
*
* int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0
* (the "License"); you may not use this Software except in compliance with the License. You may
* obtain a copy of the License from the LICENSE file included with the Software or 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 nearenough.protocol;
import static nearenough.util.Preconditions.checkNotNull;

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2017 int08h LLC. All rights reserved.
*
* int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0
* (the "License"); you may not use this Software except in compliance with the License. You may
* obtain a copy of the License from the LICENSE file included with the Software or 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 nearenough.protocol;
import static nearenough.util.Preconditions.checkNotNull;

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2017 int08h LLC. All rights reserved.
*
* int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0
* (the "License"); you may not use this Software except in compliance with the License. You may
* obtain a copy of the License from the LICENSE file included with the Software or 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 nearenough.protocol;
import static nearenough.protocol.RtConstants.MIN_REQUEST_LENGTH;

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2017 int08h LLC. All rights reserved.
*
* int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0
* (the "License"); you may not use this Software except in compliance with the License. You may
* obtain a copy of the License from the LICENSE file included with the Software or 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 nearenough.protocol;
import static nearenough.util.Preconditions.checkNotNull;

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2017 int08h LLC. All rights reserved.
*
* int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0
* (the "License"); you may not use this Software except in compliance with the License. You may
* obtain a copy of the License from the LICENSE file included with the Software or 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 nearenough.protocol;
import static nearenough.util.Preconditions.checkNotNull;

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2017 int08h LLC. All rights reserved.
*
* int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0
* (the "License"); you may not use this Software except in compliance with the License. You may
* obtain a copy of the License from the LICENSE file included with the Software or 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 nearenough.util;
/**

View File

@ -1,21 +1,20 @@
package nearenough.util;
/*
* Derived from Guava 21.0
* Copyright (c) 2017 int08h LLC. All rights reserved.
*
* Copyright (C) 2007 The Guava Authors
* int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0
* (the "License"); you may not use this Software except in compliance with the License. You may
* obtain a copy of the License from the LICENSE file included with the Software or at:
*
* 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. See the License for the specific language governing permissions and limitations under
* the License.
* 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 nearenough.util;
/**
* Static convenience methods that help a method or constructor check whether it was invoked
* correctly (whether its <i>preconditions</i> have been met). These methods generally accept a

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2017 int08h LLC. All rights reserved.
*
* int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0
* (the "License"); you may not use this Software except in compliance with the License. You may
* obtain a copy of the License from the LICENSE file included with the Software or 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 nearenough.util;
import static nearenough.util.BytesUtil.bytesToHex;

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2017 int08h LLC. All rights reserved.
*
* int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0
* (the "License"); you may not use this Software except in compliance with the License. You may
* obtain a copy of the License from the LICENSE file included with the Software or 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 nearenough.client;
import static nearenough.util.BytesUtil.hexToBytes;

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2017 int08h LLC. All rights reserved.
*
* int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0
* (the "License"); you may not use this Software except in compliance with the License. You may
* obtain a copy of the License from the LICENSE file included with the Software or 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 nearenough.protocol;
import static nearenough.util.BytesUtil.hexToBytes;

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2017 int08h LLC. All rights reserved.
*
* int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0
* (the "License"); you may not use this Software except in compliance with the License. You may
* obtain a copy of the License from the LICENSE file included with the Software or 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 nearenough.protocol;
import static org.hamcrest.MatcherAssert.assertThat;

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2017 int08h LLC. All rights reserved.
*
* int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0
* (the "License"); you may not use this Software except in compliance with the License. You may
* obtain a copy of the License from the LICENSE file included with the Software or 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 nearenough.protocol;
import static org.hamcrest.MatcherAssert.assertThat;

View File

@ -1,3 +1,18 @@
/*
* Copyright (c) 2017 int08h LLC. All rights reserved.
*
* int08h LLC licenses Nearenough (the "Software") to you under the Apache License, version 2.0
* (the "License"); you may not use this Software except in compliance with the License. You may
* obtain a copy of the License from the LICENSE file included with the Software or 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 nearenough.protocol;
import static org.hamcrest.MatcherAssert.assertThat;