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

Commonjava / indy-tracking-service / 44786446415

20 Nov 2026 05:46PM UTC coverage: 37.562% (-29.5%) from 67.036%
44786446415

push

github

rnc
Bump org.commonjava.atlas:atlas-relationships-api from 1.2.2 to 1.2.3

Bumps [org.commonjava.atlas:atlas-relationships-api](https://github.com/Commonjava/atlas) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/Commonjava/atlas/releases)
- [Commits](https://github.com/Commonjava/atlas/compare/atlas-parent-1.2.2...atlas-parent-1.2.3)

---
updated-dependencies:
- dependency-name: org.commonjava.atlas:atlas-relationships-api
  dependency-version: 1.2.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

678 of 1805 relevant lines covered (37.56%)

0.75 hits per line

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

39.13
/src/main/java/org/commonjava/indy/service/tracking/model/dto/TrackedContentDTO.java
1
/**
2
 * Copyright (C) 2022-2023 Red Hat, Inc. (https://github.com/Commonjava/indy-tracking-service)
3
 *
4
 * Licensed under the Apache License, Version 2.0 (the "License");
5
 * you may not use this file except in compliance with the License.
6
 * You may obtain a copy of the License at
7
 *
8
 *         http://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 * Unless required by applicable law or agreed to in writing, software
11
 * distributed under the License is distributed on an "AS IS" BASIS,
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 * See the License for the specific language governing permissions and
14
 * limitations under the License.
15
 */
16
package org.commonjava.indy.service.tracking.model.dto;
17

18
import com.fasterxml.jackson.annotation.JsonProperty;
19
import org.commonjava.indy.service.tracking.model.TrackingKey;
20
import org.eclipse.microprofile.openapi.annotations.enums.SchemaType;
21
import org.eclipse.microprofile.openapi.annotations.media.Schema;
22

23
import java.util.Set;
24

25
@Schema( type = SchemaType.OBJECT, discriminatorProperty = "type", description = "Representation of a simple boolean result of query, like if the stores data is empty" )
26
public class TrackedContentDTO
27
{
28

29
    @JsonProperty
30
    @Schema( description = "The description for this boolean result" )
31
    private TrackingKey key;
32

33
    private Set<TrackedContentEntryDTO> uploads;
34

35
    private Set<TrackedContentEntryDTO> downloads;
36

37
    public TrackedContentDTO()
38
    {
2 ✔
39
    }
2 ✔
40

41
    public TrackedContentDTO( final TrackingKey key, final Set<TrackedContentEntryDTO> uploads,
42
                              final Set<TrackedContentEntryDTO> downloads )
43
    {
×
44
        this.key = key;
×
45
        this.uploads = uploads;
×
46
        this.downloads = downloads;
×
47
    }
×
48

49
    public TrackingKey getKey()
50
    {
51
        return key;
2 ✔
52
    }
53

54
    public void setKey( final TrackingKey key )
55
    {
56
        this.key = key;
2 ✔
57
    }
2 ✔
58

59
    public Set<TrackedContentEntryDTO> getUploads()
60
    {
61
        return uploads;
2 ✔
62
    }
63

64
    public void setUploads( final Set<TrackedContentEntryDTO> uploads )
65
    {
66
        this.uploads = uploads;
2 ✔
67
    }
2 ✔
68

69
    public Set<TrackedContentEntryDTO> getDownloads()
70
    {
71
        return downloads;
2 ✔
72
    }
73

74
    public void setDownloads( final Set<TrackedContentEntryDTO> downloads )
75
    {
76
        this.downloads = downloads;
×
77
    }
×
78

79
    @Override
80
    public boolean equals( Object o )
81
    {
82
        if ( this == o )
×
83
        {
84
            return true;
×
85
        }
86
        if ( !( o instanceof TrackedContentDTO ) )
×
87
        {
88
            return false;
×
89
        }
90

91
        TrackedContentDTO that = (TrackedContentDTO) o;
×
92

93
        return getKey() != null ? getKey().equals( that.getKey() ) : that.getKey() == null;
×
94

95
    }
96

97
    @Override
98
    public int hashCode()
99
    {
100
        return getKey() != null ? getKey().hashCode() : 0;
×
101
    }
102
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc