*/
package org.opendaylight.controller.config.manager.impl;
-import org.opendaylight.protocol.concepts.Identifier;
+import org.opendaylight.yangtools.concepts.Identifier;
public class TransactionIdentifier implements Identifier {
+ private static final long serialVersionUID = 1L;
private final String name;
public TransactionIdentifier(String name) {
@Override
public boolean equals(Object o) {
- if (this == 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;
}