ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject ignite git commit: IGNITE-4915: Removed deprecated methods from IgfsPath.
Date Fri, 14 Apr 2017 12:42:54 GMT
Repository: ignite
Updated Branches:
  refs/heads/master 0a2dd92f8 -> 45b51b809


IGNITE-4915: Removed deprecated methods from IgfsPath.


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

Branch: refs/heads/master
Commit: 45b51b8099f5aa4cecfc74c12d86ecbee881d426
Parents: 0a2dd92
Author: tledkov-gridgain <tledkov@gridgain.com>
Authored: Fri Apr 14 15:42:45 2017 +0300
Committer: devozerov <vozerov@gridgain.com>
Committed: Fri Apr 14 15:42:45 2017 +0300

----------------------------------------------------------------------
 .../java/org/apache/ignite/igfs/IgfsPath.java   | 31 +-------------------
 1 file changed, 1 insertion(+), 30 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/45b51b80/modules/core/src/main/java/org/apache/ignite/igfs/IgfsPath.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/igfs/IgfsPath.java b/modules/core/src/main/java/org/apache/ignite/igfs/IgfsPath.java
index d01e1db..eb3c3f6 100644
--- a/modules/core/src/main/java/org/apache/ignite/igfs/IgfsPath.java
+++ b/modules/core/src/main/java/org/apache/ignite/igfs/IgfsPath.java
@@ -66,11 +66,8 @@ public final class IgfsPath implements Comparable<IgfsPath>, Externalizable,
Bin
     public static final IgfsPath ROOT = new IgfsPath(SLASH);
 
     /**
-     * Constructs default root path.
-     *
-     * @deprecated Use {@link #ROOT} instead.
+     * Default constructor.
      */
-    @Deprecated
     public IgfsPath() {
         path = SLASH;
     }
@@ -149,17 +146,6 @@ public final class IgfsPath implements Comparable<IgfsPath>, Externalizable,
Bin
     }
 
     /**
-     * Returns a root for this path.
-     *
-     * @return Root for this path.
-     * @deprecated Use {@link #ROOT} instead.
-     */
-    @Deprecated
-    public IgfsPath root() {
-        return ROOT;
-    }
-
-    /**
      * Split full path on components.
      *
      * @return Path components.
@@ -247,21 +233,6 @@ public final class IgfsPath implements Comparable<IgfsPath>, Externalizable,
Bin
         return this.path.startsWith(path.path.endsWith(SLASH) ? path.path : path.path + SLASH);
     }
 
-    /**
-     * Checks if paths are identical.
-     *
-     * @param path Path to check.
-     * @return {@code True} if paths are identical.
-     * @deprecated Use {@link #equals(Object)} instead.
-     */
-    @SuppressWarnings("unused")
-    @Deprecated
-    public boolean isSame(IgfsPath path) {
-        A.notNull(path, "path");
-
-        return this == path || this.path.equals(path.path);
-    }
-
     /** {@inheritDoc} */
     @SuppressWarnings("NullableProblems")
     @Override public int compareTo(IgfsPath o) {


Mime
View raw message