summaryrefslogtreecommitdiffstats
path: root/src/com/gitblit/wicket/panels/BasePanel.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2011-11-04 17:21:30 -0400
committerJames Moger <james.moger@gitblit.com>2011-11-04 17:22:06 -0400
commit33d8d8b21c5586f1328c8c3e7f6049037ae5fd0d (patch)
tree63bb27e42dda5047704f3f66f99809ecb11f5016 /src/com/gitblit/wicket/panels/BasePanel.java
parentb7646f8a02db486a08c9b2951966aa8fdaf0ba7a (diff)
downloadgitblit-33d8d8b21c5586f1328c8c3e7f6049037ae5fd0d.tar.gz
gitblit-33d8d8b21c5586f1328c8c3e7f6049037ae5fd0d.zip
Moved SearchType enum to Constants
Diffstat (limited to 'src/com/gitblit/wicket/panels/BasePanel.java')
-rw-r--r--src/com/gitblit/wicket/panels/BasePanel.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/com/gitblit/wicket/panels/BasePanel.java b/src/com/gitblit/wicket/panels/BasePanel.java
index 9dda03c2..8ea2a697 100644
--- a/src/com/gitblit/wicket/panels/BasePanel.java
+++ b/src/com/gitblit/wicket/panels/BasePanel.java
@@ -22,9 +22,9 @@ import org.apache.wicket.Component;
import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.model.Model;
+import com.gitblit.Constants;
import com.gitblit.GitBlit;
import com.gitblit.Keys;
-import com.gitblit.utils.JGitUtils.SearchType;
import com.gitblit.wicket.GitBlitWebSession;
import com.gitblit.wicket.WicketUtils;
@@ -41,10 +41,10 @@ public abstract class BasePanel extends Panel {
.getTimezone() : TimeZone.getDefault();
}
- protected void setPersonSearchTooltip(Component component, String value, SearchType searchType) {
- if (searchType.equals(SearchType.AUTHOR)) {
+ protected void setPersonSearchTooltip(Component component, String value, Constants.SearchType searchType) {
+ if (searchType.equals(Constants.SearchType.AUTHOR)) {
WicketUtils.setHtmlTooltip(component, getString("gb.searchForAuthor") + " " + value);
- } else if (searchType.equals(SearchType.COMMITTER)) {
+ } else if (searchType.equals(Constants.SearchType.COMMITTER)) {
WicketUtils.setHtmlTooltip(component, getString("gb.searchForCommitter") + " " + value);
}
}