File tree Expand file tree Collapse file tree
src/main/java/com/speedment/codegen/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 >
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 >
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 >
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 >
Original file line number Diff line number Diff line change 2323import com .speedment .codegen .model .trait .HasName ;
2424import com .speedment .internal .codegen .model .TypeImpl ;
2525import java .util .Optional ;
26- import java .util .function .Supplier ;
2726import static java .util .Objects .requireNonNull ;
2827import 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
You can’t perform that action at this time.
0 commit comments