• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DataBiosphere / consent / #5301

26 Aug 2024 05:53PM UTC coverage: 78.013% (-0.03%) from 78.038%
#5301

push

web-flow
DCJ-630: Remove deprecated and unused create dataset endpoint (#2385)

10077 of 12917 relevant lines covered (78.01%)

0.78 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

70.0
/src/main/java/org/broadinstitute/consent/http/models/dto/DatasetPropertyDTO.java
1
package org.broadinstitute.consent.http.models.dto;
2

3
import com.fasterxml.jackson.annotation.JsonProperty;
4

5
@Deprecated
6
public class DatasetPropertyDTO {
7

8
  @JsonProperty
9
  private String propertyName;
10

11
  @JsonProperty
12
  private String propertyValue;
13

14
  public DatasetPropertyDTO(String propertyName, String propertyValue) {
1✔
15
    this.propertyName = propertyName;
1✔
16
    this.propertyValue = propertyValue;
1✔
17
  }
1✔
18

19

20
  public String getPropertyName() {
21
    return propertyName;
1✔
22
  }
23

24
  public void setPropertyKey(String propertyName) {
25
    this.propertyName = propertyName;
1✔
26
  }
1✔
27

28
  public String getPropertyValue() {
29
    return propertyValue;
1✔
30
  }
31

32
  public void setPropertyValue(String propertyValue) {
33
    this.propertyValue = propertyValue;
1✔
34
  }
1✔
35

36
  @Override
37
  public boolean equals(Object obj) {
38
    if (obj == null) {
1✔
39
      return false;
×
40
    }
41
    final DatasetPropertyDTO other = (DatasetPropertyDTO) obj;
1✔
42
    if (this.propertyName.equals(other.getPropertyName())) {
1✔
43
      return true;
1✔
44
    }
45
    return false;
×
46
  }
47

48
  @Override
49
  public int hashCode() {
50
    int hash = 3;
×
51
    hash = 53 * hash + (this.propertyName != null ? this.propertyName.hashCode() : 0);
×
52
    hash = 53 * hash + this.propertyValue.hashCode();
×
53
    return hash;
×
54
  }
55
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc