瀏覽代碼

Remove unnecessary constructors from exception class

Stuart Kent 9 年之前
父節點
當前提交
6d7fcdf6d0

+ 1
- 3
exercises/triangle/src/example/java/TriangleException.java 查看文件

1
-public class TriangleException extends Exception {
1
+class TriangleException extends Exception {
2
 
2
 
3
-    public TriangleException() {
4
-    }
5
 }
3
 }

+ 1
- 3
exercises/triangle/src/main/java/TriangleException.java 查看文件

1
-public class TriangleException extends Exception {
1
+class TriangleException extends Exception {
2
 
2
 
3
-    public TriangleException() {
4
-    }
5
 }
3
 }