Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

Add the original misspelled method name back, though deprecated

Erik Hatcherd59b139f2101
diff --git a/src/java/org/apache/nutch/plugin/ExtensionPoint.java b/src/java/org/apache/nutch/plugin/ExtensionPoint.java
index d207ffef2..2d7043c83 100644
--- a/src/java/org/apache/nutch/plugin/ExtensionPoint.java
+++ b/src/java/org/apache/nutch/plugin/ExtensionPoint.java
@@ -108,4 +108,14 @@ public class ExtensionPoint {
return (Extension[]) fExtensions.toArray(new Extension[fExtensions
.size()]);
}
+
+ /**
+ * Returns a array of extensions that lsiten to this extension point
+ *
+ * @return Extension[]
+ * @deprecated Use the correctly spelled #{getExtensions} method instead.
+ */
+ public Extension[] getExtentens() {
+ return getExtensions();
+ }
}