Skip to content

Commit 2fa705a

Browse files
committed
issue iluwatar#333 snapshot version fixed
1 parent 8fabc86 commit 2fa705a

2 files changed

Lines changed: 38 additions & 11 deletions

File tree

factory-kit/pom.xml

Lines changed: 37 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,48 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
1+
<?xml version="1.0"?>
2+
<!--
3+
4+
The MIT License
5+
Copyright (c) 2014 Ilkka Seppälä
6+
7+
Permission is hereby granted, free of charge, to any person obtaining a copy
8+
of this software and associated documentation files (the "Software"), to deal
9+
in the Software without restriction, including without limitation the rights
10+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
copies of the Software, and to permit persons to whom the Software is
12+
furnished to do so, subject to the following conditions:
13+
14+
The above copyright notice and this permission notice shall be included in
15+
all copies or substantial portions of the Software.
16+
17+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23+
THE SOFTWARE.
24+
25+
-->
26+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
27+
xmlns="http://maven.apache.org/POM/4.0.0"
28+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
29+
<modelVersion>4.0.0</modelVersion>
530
<parent>
6-
<artifactId>java-design-patterns</artifactId>
731
<groupId>com.iluwatar</groupId>
8-
<version>1.10.0-SNAPSHOT</version>
32+
<artifactId>java-design-patterns</artifactId>
33+
<version>1.11.0-SNAPSHOT</version>
934
</parent>
10-
<modelVersion>4.0.0</modelVersion>
35+
<artifactId>factory-kit</artifactId>
1136
<dependencies>
1237
<dependency>
1338
<groupId>junit</groupId>
1439
<artifactId>junit</artifactId>
1540
<scope>test</scope>
1641
</dependency>
42+
<dependency>
43+
<groupId>org.mockito</groupId>
44+
<artifactId>mockito-core</artifactId>
45+
<scope>test</scope>
46+
</dependency>
1747
</dependencies>
18-
<artifactId>factory-kit</artifactId>
19-
20-
2148
</project>

factory-kit/src/main/java/com/iluwatar/factorykit/Builder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import java.util.function.Supplier;
44

55
/**
6-
* Functional interface that allows adding builder with name to the factory
6+
* Functional interface that allows adding builder with name to the factory.
77
*/
88
public interface Builder {
99
void add(WeaponType name, Supplier<Weapon> supplier);

0 commit comments

Comments
 (0)