private static final long serialVersionUID = 1L;
private final String name;
- public TransactionIdentifier(String name) {
+ public TransactionIdentifier(final String name) {
this.name = name;
}
}
@Override
- public boolean equals(Object o) {
- if (this == o)
+ public boolean equals(final Object o) {
+ if (this == o) {
return true;
- if (o == null || getClass() != o.getClass())
+ }
+ if (o == null || getClass() != o.getClass()) {
return false;
+ }
TransactionIdentifier that = (TransactionIdentifier) o;
- if (name != null ? !name.equals(that.name) : that.name != null)
+ if (name != null ? !name.equals(that.name) : that.name != null) {
return false;
+ }
return true;
}