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

wurstscript / WurstScript / 227

29 Nov 2023 11:46AM UTC coverage: 62.48% (-0.09%) from 62.574%
227

Pull #1083

circleci

Frotty
remove confusing mpq error, make some mpq loads readonly
Pull Request #1083: Show dialog for choosing game path

17295 of 27681 relevant lines covered (62.48%)

0.62 hits per line

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

60.0
de.peeeq.wurstscript/src/main/java/de/peeeq/wurstio/mpq/MpqEditorFactory.java
1
package de.peeeq.wurstio.mpq;
2

3
import javax.annotation.Nullable;
4
import java.io.File;
5
import java.util.Optional;
6

7

8
public class MpqEditorFactory {
×
9

10
    static public @Nullable MpqEditor getEditor(Optional<File> f) throws Exception {
11
        return getEditor(f, false);
1✔
12
    }
13

14
    static public @Nullable MpqEditor getEditor(Optional<File> f, boolean readOnly) throws Exception {
15
        if (!f.isPresent()) {
1✔
16
            return null;
×
17
        }
18
        return new Jmpq3BasedEditor(f.get(), readOnly);
1✔
19
    }
20
}
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