String -> CharSequence

This commit is contained in:
Alexander Zolotov
2015-08-25 16:46:18 +03:00
parent fbedd18de2
commit 2a6f4dfeb8
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2012 JetBrains s.r.o.
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -92,7 +92,7 @@ public class IssueNavigationConfiguration implements PersistentStateComponent<Is
}
}
public List<LinkMatch> findIssueLinks(String text) {
public List<LinkMatch> findIssueLinks(CharSequence text) {
final List<LinkMatch> result = new ArrayList<LinkMatch>();
for(IssueNavigationLink link: myLinks) {
Pattern issuePattern = link.getIssuePattern();