aesthetic fix to the processor-generated jdoc
This commit is contained in:
parent
bac64565cd
commit
3676a9249b
|
@ -92,13 +92,16 @@ public abstract class AbstractFinderMethod extends AbstractQueryMethod {
|
||||||
.append("\n * Find ")
|
.append("\n * Find ")
|
||||||
.append("{@link ")
|
.append("{@link ")
|
||||||
.append(annotationMetaEntity.importType(entity))
|
.append(annotationMetaEntity.importType(entity))
|
||||||
.append("} by ");
|
.append("}");
|
||||||
long paramCount = paramTypes.stream()
|
long paramCount = paramTypes.stream()
|
||||||
.filter(type -> !isSpecialParam(type))
|
.filter(type -> !isSpecialParam(type))
|
||||||
.count();
|
.count();
|
||||||
|
if ( paramCount> 0 ) {
|
||||||
|
declaration
|
||||||
|
.append(" by ");
|
||||||
int count = 0;
|
int count = 0;
|
||||||
for (int i = 0; i < paramTypes.size(); i++) {
|
for (int i = 0; i < paramTypes.size(); i++) {
|
||||||
String type = paramTypes.get(i);
|
final String type = paramTypes.get(i);
|
||||||
if ( !isSpecialParam(type) ) {
|
if ( !isSpecialParam(type) ) {
|
||||||
if ( count>0 ) {
|
if ( count>0 ) {
|
||||||
if ( count + 1 == paramCount) {
|
if ( count + 1 == paramCount) {
|
||||||
|
@ -122,6 +125,7 @@ public abstract class AbstractFinderMethod extends AbstractQueryMethod {
|
||||||
.append("}");
|
.append("}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
declaration
|
declaration
|
||||||
.append('.')
|
.append('.')
|
||||||
.append("\n *");
|
.append("\n *");
|
||||||
|
|
Loading…
Reference in New Issue