Git Repository Public Repository

RRRRHHHH_Code

URLs

Copy to Clipboard

Diff Revisions 578bec ... vs ad3773 ... for ruralHouses client/src/gui/HouseFeaturesGUI.java

Diff revisions: vs.
  @@ -237,8 +237,7 @@
237 237 Enumeration<Offer> rhs = rh.getAllOffers().elements();
238 238 while (rhs.hasMoreElements()) {
239 239 Offer of = rhs.nextElement();
240 - if (of.getBookings() == null
241 - || of.isBooked()) {
240 + if (of.getBookings() != null) {
242 241 Vector<Object> row = new Vector<Object>();
243 242 row.add(of.getOfferNumber());
244 243 row.add(of.getFirstDay());
  @@ -288,7 +287,6 @@
288 287 + e1.toString());
289 288 }
290 289
291 - //RegExp to see if telephone number is correct??TODO
292 290 if (telIn.getText().matches("[976]\\d{2}[.\\- ]?\\d{3}[.\\- ]?\\d{3}")
293 291 && mailField
294 292 .getText()