[minor] removed redundant finally block in CardRepository

This commit is contained in:
North 2013-03-10 11:05:30 +02:00
parent 01eee3995c
commit e67620260c

View file

@ -132,9 +132,8 @@ public enum CardRepository {
setCodes.add(card.getSetCode());
}
} catch (SQLException ex) {
} finally {
return setCodes;
}
return setCodes;
}
public Set<String> getNames() {
@ -147,9 +146,8 @@ public enum CardRepository {
names.add(card.getName());
}
} catch (SQLException ex) {
} finally {
return names;
}
return names;
}
public Set<String> getNonLandNames() {
@ -163,9 +161,8 @@ public enum CardRepository {
names.add(card.getName());
}
} catch (SQLException ex) {
} finally {
return names;
}
return names;
}
public Set<String> getCreatureTypes() {
@ -179,9 +176,8 @@ public enum CardRepository {
subtypes.addAll(card.getSubTypes());
}
} catch (SQLException ex) {
} finally {
return subtypes;
}
return subtypes;
}
public CardInfo findCard(String setCode, int cardNumber) {