From 3f94cd7ee9d6aa433947a6f6bb2b56b1073e7563 Mon Sep 17 00:00:00 2001
From: Robert Munteanu <rombert@apache.org>
Date: Wed, 24 May 2017 20:53:49 +0300
Subject: [PATCH 2/2] OAK-6265 - Remove Mounts.defaultMount methods

The 3.0.0 version was never released so it's safe to remove these methods. Last
Oak release - 1.6.1 - exported this package at 2.2.0 .
---
 .../apache/jackrabbit/oak/spi/mount/Mounts.java    | 24 ----------------------
 1 file changed, 24 deletions(-)

diff --git a/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/mount/Mounts.java b/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/mount/Mounts.java
index bc7a94c3f8..20175101c8 100644
--- a/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/mount/Mounts.java
+++ b/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/mount/Mounts.java
@@ -157,30 +157,6 @@ public final class Mounts {
     }
 
     /**
-     * Returns the default {@link Mount}
-     * 
-     * @deprecated Obtain a <tt>MountInfoProvider</tt> and use {@link MountInfoProvider#getDefaultMount()} instead
-     * @return the default mount 
-     */
-    @Deprecated
-    public static Mount defaultMount() {
-        return DEFAULT_MOUNT;
-    }
-
-    /**
-     * Creates a new default (root) mount with the specified non-default mounts
-     * 
-     * @deprecated Deprecated as it breaks the MountIntoProvider abstraction. 
-     * Use {@link #defaultMountInfoProvider()} or {@link #newBuilder()}
-     * @param mounts the mounts to configure
-     * @return the created mount
-     */
-    @Deprecated
-    public static Mount defaultMount(Collection<Mount> mounts) {
-        return new DefaultMount(mounts);
-    }
-
-    /**
      * Creates a new Builder instance for configuring more complex mount setups
      * 
      * @return a new builder instance
-- 
2.13.0

