Skip to content

Commit 16a368c

Browse files
author
Emil Forslund
committed
Fix some javadoc issues
1 parent 9ca2b86 commit 16a368c

2 files changed

Lines changed: 12 additions & 13 deletions

File tree

pom.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@
5858
<url>git@github.com:pyknic/codegen.git</url>
5959
</scm>
6060

61+
<distributionManagement>
62+
<snapshotRepository>
63+
<id>ossrh</id>
64+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
65+
</snapshotRepository>
66+
</distributionManagement>
67+
6168
<build>
6269
<plugins>
6370
<plugin>
@@ -104,7 +111,7 @@
104111
<plugin>
105112
<groupId>org.apache.maven.plugins</groupId>
106113
<artifactId>maven-source-plugin</artifactId>
107-
<version>2.3</version>
114+
<version>3.0.0</version>
108115
<executions>
109116
<execution>
110117
<id>attach-sources</id>
@@ -147,7 +154,7 @@
147154
<plugin>
148155
<groupId>org.sonatype.plugins</groupId>
149156
<artifactId>nexus-staging-maven-plugin</artifactId>
150-
<version>1.6.6</version>
157+
<version>1.6.7</version>
151158
<extensions>true</extensions>
152159
<configuration>
153160
<serverId>ossrh</serverId>
@@ -164,15 +171,8 @@
164171
<dependency>
165172
<groupId>junit</groupId>
166173
<artifactId>junit</artifactId>
167-
<version>4.10</version>
174+
<version>4.12</version>
168175
<scope>test</scope>
169176
</dependency>
170177
</dependencies>
171-
172-
<distributionManagement>
173-
<snapshotRepository>
174-
<id>ossrh</id>
175-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
176-
</snapshotRepository>
177-
</distributionManagement>
178178
</project>

src/main/java/com/speedment/codegen/model/Type.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import com.speedment.codegen.model.trait.HasName;
2424
import com.speedment.internal.codegen.model.TypeImpl;
2525
import java.util.Optional;
26-
import java.util.function.Supplier;
2726
import static java.util.Objects.requireNonNull;
2827
import java.util.function.Function;
2928

@@ -89,7 +88,7 @@ enum Factory { INST;
8988
/**
9089
* Creates a new instance implementing this interface by using the class
9190
* supplied by the default factory. To change implementation, please use
92-
* the {@link #setMapper(java.util.function.Supplier) setSupplier} method.
91+
* the {@link #setMapper(Function)} method.
9392
*
9493
* @param name the type name
9594
* @return the new instance
@@ -101,7 +100,7 @@ static Type of(String name) {
101100
/**
102101
* Creates a new instance implementing this interface by using the class
103102
* supplied by the default factory. To change implementation, please use
104-
* the {@link #setMapper(Function) setSupplier} method.
103+
* the {@link #setMapper(Function)} method.
105104
*
106105
* @param clazz the java implementation
107106
* @return the new instance

0 commit comments

Comments
 (0)