"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tc-messaging/src/main/java/com/tc/object/tx/TransactionID.java" between
terracotta-core-5.7.0.tar.gz and terracotta-core-5.7.1.tar.gz

About: Terracotta - Clustering technology for Java ("Network Attached Memory", "Distributed Cache"). Source code of the server (5.x) core components.

TransactionID.java  (terracotta-core-5.7.0):TransactionID.java  (terracotta-core-5.7.1)
skipping to change at line 22 skipping to change at line 22
* *
* The Covered Software is Terracotta Core. * The Covered Software is Terracotta Core.
* *
* The Initial Developer of the Covered Software is * The Initial Developer of the Covered Software is
* Terracotta, Inc., a Software AG company * Terracotta, Inc., a Software AG company
* *
*/ */
package com.tc.object.tx; package com.tc.object.tx;
import com.tc.util.AbstractIdentifier; import com.tc.util.AbstractIdentifier;
import static com.tc.util.Assert.assertTrue;
/** /**
* @author steve
*/ */
public class TransactionID extends AbstractIdentifier { public class TransactionID extends AbstractIdentifier {
public final static TransactionID NULL_ID = new TransactionID(); public final static TransactionID NULL_ID = new TransactionID();
public final static TransactionID FIRST_ID = new TransactionID(0L);
public TransactionID(long id) { public TransactionID(long id) {
super(id); super(id);
assertTrue(id != 0L);
} }
private TransactionID() { private TransactionID() {
super(); super();
} }
@Override @Override
public String getIdentifierType() { public String getIdentifierType() {
return "TransactionID"; return "TransactionID";
} }
 End of changes. 4 change blocks. 
3 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)