40 |
|
boolean exc = false; |
41 |
|
try { |
42 |
|
m2.firstKey(); |
43 |
< |
} catch(NoSuchElementException e) { |
43 |
> |
} catch (NoSuchElementException e) { |
44 |
|
exc = true; |
45 |
|
} |
46 |
|
if (!exc) |
49 |
|
exc = false; |
50 |
|
try { |
51 |
|
m2.lastKey(); |
52 |
< |
} catch(NoSuchElementException e) { |
52 |
> |
} catch (NoSuchElementException e) { |
53 |
|
exc = true; |
54 |
|
} |
55 |
|
if (!exc) |
70 |
|
exc = false; |
71 |
|
try { |
72 |
|
s2.first(); |
73 |
< |
} catch(NoSuchElementException e) { |
73 |
> |
} catch (NoSuchElementException e) { |
74 |
|
exc = true; |
75 |
|
} |
76 |
|
if (!exc) |
79 |
|
exc = false; |
80 |
|
try { |
81 |
|
s2.last(); |
82 |
< |
} catch(NoSuchElementException e) { |
82 |
> |
} catch (NoSuchElementException e) { |
83 |
|
exc = true; |
84 |
|
} |
85 |
|
if (!exc) |