Skip to content

Commit e1b65a2

Browse files
idodeclaretarzanek
authored andcommitted
Remove unused constructors to improve test coverage
1 parent 243212b commit e1b65a2

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

src/org/opensolaris/opengrok/analysis/document/MandocException.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,13 @@
1818
*/
1919

2020
/*
21-
* Copyright (c) 2017, Chris Fraire <[email protected]>.
21+
* Copyright (c) 2017-2018, Chris Fraire <[email protected]>.
2222
*/
2323
package org.opensolaris.opengrok.analysis.document;
2424

2525
/**
2626
* Represents an exception that occurs when mandoc exits non-zero.
2727
*/
2828
public class MandocException extends Exception {
29-
public MandocException() { super(); }
3029
public MandocException(String message) { super(message); }
31-
public MandocException(String message, Throwable cause) {
32-
super(message, cause);
33-
}
34-
public MandocException(Throwable cause) { super(cause); }
3530
}

src/org/opensolaris/opengrok/util/ForbiddenSymlinkException.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,5 @@
2828
* encountered while evaluating a file system path.
2929
*/
3030
public class ForbiddenSymlinkException extends Exception {
31-
public ForbiddenSymlinkException() { super(); }
3231
public ForbiddenSymlinkException(String message) { super(message); }
33-
public ForbiddenSymlinkException(String message, Throwable cause) {
34-
super(message, cause);
35-
}
36-
public ForbiddenSymlinkException(Throwable cause) { super(cause); }
3732
}

0 commit comments

Comments
 (0)