Parcourir la source

move constructor to top

tags/2.0.1
Jonathan Cobb il y a 4 ans
Parent
révision
6e882f2455
1 fichiers modifiés avec 2 ajouts et 3 suppressions
  1. +2
    -3
      wizard-common/src/main/java/org/cobbzilla/wizard/model/search/SearchBound.java

+ 2
- 3
wizard-common/src/main/java/org/cobbzilla/wizard/model/search/SearchBound.java Voir le fichier

@@ -14,13 +14,12 @@ import static org.cobbzilla.util.reflect.ReflectionUtil.instantiate;
@NoArgsConstructor @AllArgsConstructor @Accessors(chain=true)
public class SearchBound {

public SearchBound(SearchBound bound) { copy(this, bound); }

@Getter @Setter private String name;
@Getter @Setter private SearchBoundComparison comparison;

@Getter @Setter private SearchFieldType type;

public SearchBound(SearchBound bound) { copy(this, bound); }

public boolean hasType () { return type != null; }

@Getter @Setter private String[] params;


Chargement…
Annuler
Enregistrer