Deprecate an unused public API method

GitOrigin-RevId: 315726cbb8727eb01610fc6baa8290c1d489defe
This commit is contained in:
Kirill Likhodedov
2019-11-13 14:07:52 +00:00
committed by intellij-monorepo-bot
parent 63f912ebe6
commit bcb954642f
@@ -521,6 +521,11 @@ public class StringUtil extends StringUtilRt {
"per", "nor", "the", "to", "up", "upon", "via", "with"
};
/**
* @deprecated Use {@link #isPreposition(String, int, int, String[])}.
*/
@ApiStatus.ScheduledForRemoval(inVersion = "2020.1")
@Deprecated
@Contract(pure = true)
public static boolean isPreposition(@NotNull String s, int firstChar, int lastChar) {
return isPreposition(s, firstChar, lastChar, ourPrepositions);