diff --git a/modules/core/String.js b/modules/core/String.js index 207fd332..d655127e 100644 --- a/modules/core/String.js +++ b/modules/core/String.js @@ -398,21 +398,6 @@ String.prototype.md5 = function() { }; -/** - * function returns true if the string ends with - * the string passed as argument - * @external - * @memberof {String} - * @param String string pattern to search for - * @return Boolean true in case it matches the end of - * the string, false otherwise - */ -String.prototype.endsWith = function(str) { - var javaObj = new java.lang.String(this); - return javaObj.endsWith(str); -}; - - /** * fills a string with another string up to a desired length * @external