BC-Bridge: supply 'old' classes/fields/methods for BC reason while correcting 
spelling


Project: http://git-wip-us.apache.org/repos/asf/ant-ivy/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant-ivy/commit/007939d9
Tree: http://git-wip-us.apache.org/repos/asf/ant-ivy/tree/007939d9
Diff: http://git-wip-us.apache.org/repos/asf/ant-ivy/diff/007939d9

Branch: refs/heads/master
Commit: 007939d9fe34faa83d4b242dcc37d2e1894c4f09
Parents: 096c5bd
Author: Jan Matèrne <j...@apache.org>
Authored: Mon May 29 12:28:28 2017 +0200
Committer: Jan Matèrne <j...@apache.org>
Committed: Mon May 29 12:28:28 2017 +0200

----------------------------------------------------------------------
 .../apache/ivy/core/cache/ArtifactOrigin.java   |  8 ++++++
 .../ivy/osgi/repo/FSManifestIterable.java       |  6 +++++
 .../apache/ivy/osgi/util/DelegatingHandler.java |  8 ++++++
 .../org/apache/ivy/util/EncrytedProperties.java | 26 ++++++++++++++++++++
 4 files changed, 48 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant-ivy/blob/007939d9/src/java/org/apache/ivy/core/cache/ArtifactOrigin.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/ivy/core/cache/ArtifactOrigin.java 
b/src/java/org/apache/ivy/core/cache/ArtifactOrigin.java
index 7e397af..82ab6c0 100644
--- a/src/java/org/apache/ivy/core/cache/ArtifactOrigin.java
+++ b/src/java/org/apache/ivy/core/cache/ArtifactOrigin.java
@@ -30,6 +30,14 @@ public class ArtifactOrigin {
     private static final String UNKNOWN = "UNKNOWN";
 
     /**
+     * Deprecated because of renaming due spell check.
+     */
+    @Deprecated
+    public static final ArtifactOrigin unkwnown(Artifact artifact) {
+        return unknown(artifact);
+    }
+
+    /**
      * ArtifactOrigin instance used when the origin is unknown.
      *
      * @param artifact ditto

http://git-wip-us.apache.org/repos/asf/ant-ivy/blob/007939d9/src/java/org/apache/ivy/osgi/repo/FSManifestIterable.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/ivy/osgi/repo/FSManifestIterable.java 
b/src/java/org/apache/ivy/osgi/repo/FSManifestIterable.java
index f6b2cb2..bfa97b5 100644
--- a/src/java/org/apache/ivy/osgi/repo/FSManifestIterable.java
+++ b/src/java/org/apache/ivy/osgi/repo/FSManifestIterable.java
@@ -58,6 +58,12 @@ public class FSManifestIterable extends 
AbstractFSManifestIterable<File> {
         }
     };
 
+    /**
+     * Deprecated because of renaming due spell check.
+     */
+    @Deprecated
+    public static final FilenameFilter DEFAULT_BUNLDE_FILTER = 
DEFAULT_BUNDLE_FILTER;
+
     private FilenameFilter dirFilter = DEFAULT_DIR_FILTER;
 
     private FilenameFilter bundleFilter = DEFAULT_BUNDLE_FILTER;

http://git-wip-us.apache.org/repos/asf/ant-ivy/blob/007939d9/src/java/org/apache/ivy/osgi/util/DelegatingHandler.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/ivy/osgi/util/DelegatingHandler.java 
b/src/java/org/apache/ivy/osgi/util/DelegatingHandler.java
index 7039ac5..5d5b2a3 100644
--- a/src/java/org/apache/ivy/osgi/util/DelegatingHandler.java
+++ b/src/java/org/apache/ivy/osgi/util/DelegatingHandler.java
@@ -302,6 +302,14 @@ public class DelegatingHandler extends DefaultHandler 
implements DTDHandler, Con
 
     public static abstract class ChildElementHandler<DH extends 
DelegatingHandler> {
 
+        /**
+         * Deprecated because of renaming due spell check.
+         */
+        @Deprecated
+        public void childHanlded(DH child) throws SAXParseException {
+            childHandled(child);
+        }
+
         public abstract void childHandled(DH child) throws SAXParseException;
 
         // because we know what we're doing

http://git-wip-us.apache.org/repos/asf/ant-ivy/blob/007939d9/src/java/org/apache/ivy/util/EncrytedProperties.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/ivy/util/EncrytedProperties.java 
b/src/java/org/apache/ivy/util/EncrytedProperties.java
new file mode 100644
index 0000000..3242de5
--- /dev/null
+++ b/src/java/org/apache/ivy/util/EncrytedProperties.java
@@ -0,0 +1,26 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *
+ */
+package org.apache.ivy.util;
+
+
+/**
+ * Deprecated because of renaming due spell check.
+ */
+@Deprecated
+public class EncrytedProperties extends EncryptedProperties {
+}
\ No newline at end of file

Reply via email to