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

link-intersystems / lis-commons / #264

05 Nov 2023 11:38AM UTC coverage: 88.527% (-1.3%) from 89.804%
#264

Pull #7

renelink
Added tests.
Pull Request #7: Migrated swing-view stuff from java-swing-mvc-plugin-architecture.

249 of 400 new or added lines in 23 files covered. (62.25%)

7639 of 8629 relevant lines covered (88.53%)

0.89 hits per line

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

0.0
/lis-commons-util/src/main/java/com/link_intersystems/util/service/ServiceLocator.java
1
package com.link_intersystems.util.service;
2

3
public interface ServiceLocator {
4

5
    public static ServiceLocator nullInstance(){
NEW
6
        return new ServiceLocator() {
×
7
            @Override
8
            public <T> T getService(Class<T> type, String name) {
NEW
9
                return null;
×
10
            }
11
        };
12
    }
13

14
    default public <T> T getService(Class<T> type) {
NEW
15
        return getService(type, null);
×
16
    }
17

18
    <T> T getService(Class<T> type, String name);
19
}
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