# IGNITE-379 Fix compilation error.

Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/03b9ddbb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/03b9ddbb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/03b9ddbb

Branch: refs/heads/ignite-379-1
Commit: 03b9ddbb3e64a7793e95be9e2c211a654f83fe35
Parents: d1ffd0e
Author: sevdokimov <sergey.evdoki...@jetbrains.com>
Authored: Sun Mar 22 22:34:33 2015 +0300
Committer: sevdokimov <sergey.evdoki...@jetbrains.com>
Committed: Sun Mar 22 22:34:33 2015 +0300

----------------------------------------------------------------------
 .../processors/cache/transactions/TransactionEx.java      | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/03b9ddbb/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TransactionEx.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TransactionEx.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TransactionEx.java
index 7c21575..69b7b60 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TransactionEx.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TransactionEx.java
@@ -19,6 +19,8 @@ package 
org.apache.ignite.internal.processors.cache.transactions;
 
 import org.apache.ignite.transactions.*;
 
+import java.util.*;
+
 /**
  *
  */
@@ -27,10 +29,10 @@ public interface TransactionEx extends Transaction {
      * Removes metadata by name.
      *
      * @param name Name of the metadata to remove.
-     * @param <V> Type of the value.
+     * @param <V1> Type of the value.
      * @return Value of removed metadata or {@code null}.
      */
-    public <V> V removeMeta(String name);
+    public <V1> V1 removeMeta(UUID name);
 
     /**
      * Gets metadata by name.
@@ -39,7 +41,7 @@ public interface TransactionEx extends Transaction {
      * @param <V> Type of the value.
      * @return Metadata value or {@code null}.
      */
-    public <V> V meta(String name);
+    public <V> V meta(UUID name);
 
     /**
      * Adds a new metadata.
@@ -50,5 +52,5 @@ public interface TransactionEx extends Transaction {
      * @return Metadata previously associated with given name, or
      *      {@code null} if there was none.
      */
-    public <V> V addMeta(String name, V val);
+    public <V> V addMeta(UUID name, V val);
 }

Reply via email to