-package org.simantics.ltk;\r
-\r
-public class Problem {\r
- Location location;\r
- String description;\r
- Severity severity;\r
- \r
- public Problem(Location location, String description,\r
- Severity severity) {\r
- this.location = location;\r
- this.description = description;\r
- this.severity = severity;\r
- }\r
- \r
- public Problem(Location location, String description) {\r
- this(location, description, Severity.ERROR);\r
- }\r
-\r
- public Location getLocation() {\r
- return location;\r
- }\r
- \r
- public void setLocation(Location location) {\r
- this.location = location;\r
- }\r
- \r
- public String getDescription() {\r
- return description;\r
- }\r
- \r
- public void setDescription(String description) {\r
- this.description = description;\r
- }\r
+package org.simantics.ltk;
+
+public class Problem {
+ Location location;
+ String description;
+ Severity severity;
+
+ public Problem(Location location, String description,
+ Severity severity) {
+ this.location = location;
+ this.description = description;
+ this.severity = severity;
+ }
+
+ public Problem(Location location, String description) {
+ this(location, description, Severity.ERROR);
+ }
+
+ public Location getLocation() {
+ return location;
+ }
+
+ public void setLocation(Location location) {
+ this.location = location;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
}
\ No newline at end of file