fehler in reservation behoben
[staff/due1/sed-hs15-srs-purple.git] / src / main / java / ch / bfh / ti / srs / dataschema / Reservation.java
index b2bef3d..8ad99e9 100644 (file)
@@ -21,12 +21,12 @@ public class Reservation {
        private String remark;\r
 \r
        public Reservation(User user, Resource resource, DateRange DateRange, String remark) {\r
-               if (user == null)\r
-                       throw new IllegalArgumentException("User must not be null");\r
-               if (resource == null)\r
-                       throw new IllegalArgumentException("Resource must not be null");\r
-               if (dateRange == null)\r
-                       throw new IllegalArgumentException("DateRange must not be null");\r
+//             if (user == null)\r
+//                     throw new IllegalArgumentException("User must not be null");\r
+//             if (resource == null)\r
+//                     throw new IllegalArgumentException("Resource must not be null");\r
+//             if (dateRange == null)\r
+//                     throw new IllegalArgumentException("DateRange must not be null");\r
 \r
                this.user = user;\r
                this.resource = resource;\r