m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/InvalidTypeException.java
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-11-17 11:29:05 +0100
committerMartin <marcin.j.chrzanowski@gmail.com>2019-11-17 11:28:25 +0100
commit42eef2f0804100728451afcc085f0940cbbc44c4 (patch)
treec4c6a95b4747fdba9bae07a74754812cb7ad67c8 /src/main/java/pl/edu/mimuw/cloudatlas/interpreter/InvalidTypeException.java
parent7e205586a8351b27323b26c9c6499718283c1995 (diff)
Cleanup whitespace
Diffstat (limited to 'src/main/java/pl/edu/mimuw/cloudatlas/interpreter/InvalidTypeException.java')
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/interpreter/InvalidTypeException.java26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/InvalidTypeException.java b/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/InvalidTypeException.java
index 23a325f..ba79359 100644
--- a/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/InvalidTypeException.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/interpreter/InvalidTypeException.java
@@ -28,20 +28,20 @@ import pl.edu.mimuw.cloudatlas.model.Type;
@SuppressWarnings("serial")
public class InvalidTypeException extends InterpreterException {
- private final Type expected;
- private final Type got;
+ private final Type expected;
+ private final Type got;
- protected InvalidTypeException(Type expected, Type got) {
- super("Invalid type. Expected " + expected + ", got " + got + ".");
- this.expected = expected;
- this.got = got;
- }
+ protected InvalidTypeException(Type expected, Type got) {
+ super("Invalid type. Expected " + expected + ", got " + got + ".");
+ this.expected = expected;
+ this.got = got;
+ }
- public Type getExpected() {
- return expected;
- }
+ public Type getExpected() {
+ return expected;
+ }
- public Type getGot() {
- return got;
- }
+ public Type getGot() {
+ return got;
+ }
}