Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Muskalla2012-05-08 10:21:06 -0400
committerSteffen Pingel2012-05-08 10:21:06 -0400
commitaa9a8b34ef6bc4246547e0c59679cc196b8a4a8b (patch)
tree08cd8d7a0f52a811fdcf683351998b5b40bb9094 /org.eclipse.mylyn.oslc.ui
parent60794da2e6020530526debe41ebfbd184fb85580 (diff)
downloadorg.eclipse.mylyn.tasks-aa9a8b34ef6bc4246547e0c59679cc196b8a4a8b.tar.gz
org.eclipse.mylyn.tasks-aa9a8b34ef6bc4246547e0c59679cc196b8a4a8b.tar.xz
org.eclipse.mylyn.tasks-aa9a8b34ef6bc4246547e0c59679cc196b8a4a8b.zip
NEW - bug 376939: provide default impl for isValidUrl in settings page
https://bugs.eclipse.org/bugs/show_bug.cgi?id=376939 Change-Id: Iabf75ddfc19781b759425420206a2f924aae93c7
Diffstat (limited to 'org.eclipse.mylyn.oslc.ui')
-rw-r--r--org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcRepositorySettingsPage.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcRepositorySettingsPage.java b/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcRepositorySettingsPage.java
index 09e4026e7..639482b6f 100644
--- a/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcRepositorySettingsPage.java
+++ b/org.eclipse.mylyn.oslc.ui/src/org/eclipse/mylyn/internal/oslc/ui/OslcRepositorySettingsPage.java
@@ -104,18 +104,6 @@ public abstract class OslcRepositorySettingsPage extends AbstractRepositorySetti
}
@Override
- protected boolean isValidUrl(String url) {
- if (url.startsWith(URL_PREFIX_HTTPS) || url.startsWith(URL_PREFIX_HTTP)) {
- try {
- new URL(url);
- return true;
- } catch (MalformedURLException e) {
- }
- }
- return false;
- }
-
- @Override
public void applyTo(TaskRepository repository) {
repository.setProperty(IOslcCoreConstants.OSLC_BASEURL, baseText.getText());
super.applyTo(repository);

Back to the top