Skip to content

Commit 00ec580

Browse files
committed
added missing license headers
1 parent e8abc88 commit 00ec580

2 files changed

Lines changed: 46 additions & 3 deletions

File tree

command-bus-core/src/main/java/de/triology/cb/decorator/ValidatingCommandBus.java

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
/**
2+
* MIT License
3+
*
4+
* Copyright (c) 2017 TRIOLOGY GmbH
5+
*
6+
* Permission is hereby granted, free of charge, to any person obtaining a copy
7+
* of this software and associated documentation files (the "Software"), to deal
8+
* in the Software without restriction, including without limitation the rights
9+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
* copies of the Software, and to permit persons to whom the Software is
11+
* furnished to do so, subject to the following conditions:
12+
*
13+
* The above copyright notice and this permission notice shall be included in all
14+
* copies or substantial portions of the Software.
15+
*
16+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
* SOFTWARE.
23+
*/
124
package de.triology.cb.decorator;
225

326
import de.triology.cb.Command;

command-bus-core/src/test/java/de/triology/cb/decorator/ValidatingCommandBusTest.java

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,41 @@
1+
/**
2+
* MIT License
3+
*
4+
* Copyright (c) 2017 TRIOLOGY GmbH
5+
*
6+
* Permission is hereby granted, free of charge, to any person obtaining a copy
7+
* of this software and associated documentation files (the "Software"), to deal
8+
* in the Software without restriction, including without limitation the rights
9+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
* copies of the Software, and to permit persons to whom the Software is
11+
* furnished to do so, subject to the following conditions:
12+
*
13+
* The above copyright notice and this permission notice shall be included in all
14+
* copies or substantial portions of the Software.
15+
*
16+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
* SOFTWARE.
23+
*/
124
package de.triology.cb.decorator;
225

326
import de.triology.cb.Command;
427
import de.triology.cb.CommandBus;
528
import org.junit.Before;
629
import org.junit.Test;
730
import org.junit.runner.RunWith;
8-
import org.mockito.InjectMocks;
931
import org.mockito.Mock;
1032
import org.mockito.junit.MockitoJUnitRunner;
1133

1234
import javax.validation.ConstraintViolationException;
1335
import javax.validation.Validation;
14-
import javax.validation.Validator;
1536
import javax.validation.ValidatorFactory;
1637
import javax.validation.constraints.NotNull;
1738

18-
import static org.junit.Assert.*;
1939
import static org.mockito.Mockito.verify;
2040

2141
@RunWith(MockitoJUnitRunner.class)

0 commit comments

Comments
 (0)