Skip to content

Commit 08a2800

Browse files
committed
Fix javadoc and add missing headers
1 parent a1a8065 commit 08a2800

8 files changed

Lines changed: 101 additions & 4 deletions

File tree

src/main/java/com/speedment/common/codegen/controller/package-info.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/**
2+
*
3+
* Copyright (c) 2006-2016, Speedment, Inc. All Rights Reserved.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); You may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at:
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
117
/**
218
* Controllers that automate certain tasks on the model hierarchy is located
319
* here. These components are useful to keep the model initialization short

src/main/java/com/speedment/common/codegen/internal/java/view/trait/HasFieldsView.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@
3232
public interface HasFieldsView<M extends HasFields<M>> extends Transform<M, String> {
3333

3434
/**
35-
* Render the fields-part of the model using the {@link #fieldSeparator()}
36-
* method to separate the fields and the {@link #fieldPrefix()}- and
37-
* {@link #fieldSuffix()}-methods on each field.
35+
* Render the fields-part of the model using the
36+
* {@link #fieldSeparator(HasFields)} method to separate the fields and
37+
* the {@link #fieldPrefix()}- and {@link #fieldSuffix()}-methods on each
38+
* field.
3839
*
3940
* @param gen the generator
4041
* @param model the model

src/main/java/com/speedment/common/codegen/model/modifier/package-info.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/**
2+
*
3+
* Copyright (c) 2006-2016, Speedment, Inc. All Rights Reserved.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); You may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at:
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
117
/**
218
* Implementations of the
319
* {@link com.speedment.common.codegen.model.modifier.Modifier} interface that

src/main/java/com/speedment/common/codegen/model/package-info.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/**
2+
*
3+
* Copyright (c) 2006-2016, Speedment, Inc. All Rights Reserved.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); You may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at:
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
117
/**
218
* Models for typical object-oriented language building blocks are located in
319
* this package. The ambition of codegen is to separate model, view and

src/main/java/com/speedment/common/codegen/model/trait/package-info.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/**
2+
*
3+
* Copyright (c) 2006-2016, Speedment, Inc. All Rights Reserved.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); You may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at:
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
117
/**
218
* Common traits used by the codegen models located in the
319
* {@code com.speedment.codegen.lang.model} package.

src/main/java/com/speedment/common/codegen/package-info.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/**
2+
*
3+
* Copyright (c) 2006-2016, Speedment, Inc. All Rights Reserved.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); You may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at:
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
117
/**
218
* The main interfaces of the codegen library are located in this package.
319
* <p>

src/main/java/com/speedment/common/codegen/util/Formatting.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ public static String alignTabs(String rows) {
374374
* this.age = age;
375375
* }
376376
*
377-
* @param rows
377+
* @param rows list of rows to operate on
378378
*/
379379
public static void alignTabs(List<String> rows) {
380380
while (true) {

src/main/java/com/speedment/common/codegen/util/package-info.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/**
2+
*
3+
* Copyright (c) 2006-2016, Speedment, Inc. All Rights Reserved.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); You may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at:
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
117
/**
218
* Utility methods for the codegen library are located in this package.
319
* <p>

0 commit comments

Comments
 (0)