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

openmrs / openmrs-core / 8193954499

07 Mar 2024 07:48PM CUT coverage: 64.702%. Remained the same
8193954499

push

github

web-flow
maven(deps): bump jakarta.xml.bind:jakarta.xml.bind-api (#4578)

Bumps [jakarta.xml.bind:jakarta.xml.bind-api](https://github.com/jakartaee/jaxb-api) from 4.0.0 to 4.0.2.
- [Release notes](https://github.com/jakartaee/jaxb-api/releases)
- [Commits](https://github.com/jakartaee/jaxb-api/compare/4.0.0...4.0.2)

---
updated-dependencies:
- dependency-name: jakarta.xml.bind:jakarta.xml.bind-api
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

22766 of 35186 relevant lines covered (64.7%)

0.65 hits per line

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

0.0
/api/src/main/java/org/openmrs/api/db/hibernate/search/bridge/OpenmrsObjectFieldBridge.java
1
/**
2
 * This Source Code Form is subject to the terms of the Mozilla Public License,
3
 * v. 2.0. If a copy of the MPL was not distributed with this file, You can
4
 * obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under
5
 * the terms of the Healthcare Disclaimer located at http://openmrs.org/license.
6
 *
7
 * Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
8
 * graphic logo is a trademark of OpenMRS Inc.
9
 */
10
package org.openmrs.api.db.hibernate.search.bridge;
11

12
import org.hibernate.search.bridge.StringBridge;
13
import org.openmrs.OpenmrsObject;
14

15
/**
16
 * Indexes {@link OpenmrsObject} as ID.
17
 */
18
public class OpenmrsObjectFieldBridge implements StringBridge {
×
19
        
20
        /**
21
         * @see org.hibernate.search.bridge.StringBridge#objectToString(java.lang.Object)
22
         */
23
        @Override
24
        public String objectToString(Object obj) {
25
                OpenmrsObject openmrsObject = (OpenmrsObject) obj;
×
26
                return openmrsObject.getId().toString();
×
27
        }
28
        
29
}
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

© 2025 Coveralls, Inc