CommitInfo forward compatibility
[mdsal.git] / common / mdsal-common-api / src / main / java / org / opendaylight / mdsal / common / api / CommitInfo.java
index e4965fdacd289547add12f5c8a97b0a95e9551f9..08a409c4063c0c03b169f70fe838ce23c0acb74d 100644 (file)
@@ -15,8 +15,6 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
  * Base interface for tagging information about a successful commit. This can include various ways of identifying
  * the resulting changeset, timing information or any other piece of data about the commit itself the implementation
  * deems interesting to the client.
- *
- * @author Robert Varga
  */
 @Beta
 @NonNullByDefault
@@ -27,7 +25,7 @@ public interface CommitInfo {
      * @return An empty {@link CommitInfo} instance.
      */
     static CommitInfo empty() {
-        return EmptyCommitInfo.INSTANCE;
+        return CI.EMPTY;
     }
 
     /**
@@ -36,6 +34,6 @@ public interface CommitInfo {
      * @return An empty {@link CommitInfo} instance enclosed in a completed future.
      */
     static FluentFuture<CommitInfo> emptyFluentFuture() {
-        return EmptyCommitInfo.FLUENT_INSTANCE;
+        return CI.EMPTY_FUTURE;
     }
 }