mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-21 21:14:12 +08:00
Add Override annotation
This commit is contained in:
parent
0edfaf7d57
commit
dd5b4762e0
@ -13,11 +13,12 @@
|
||||
*/
|
||||
package com.mysema.query.codegen;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
import java.io.IOException;
|
||||
import java.lang.annotation.Annotation;
|
||||
import java.util.*;
|
||||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
import com.google.common.base.Function;
|
||||
import com.google.common.collect.Lists;
|
||||
import com.mysema.codegen.CodeWriter;
|
||||
@ -196,6 +197,7 @@ public class BeanSerializer implements Serializer{
|
||||
}
|
||||
|
||||
protected void addToString(EntityType model, CodeWriter writer) throws IOException {
|
||||
writer.line("@Override");
|
||||
writer.beginPublicMethod(Types.STRING, "toString");
|
||||
StringBuilder builder = new StringBuilder();
|
||||
for (Property property : model.getProperties()) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user