Skip to content
Snippets Groups Projects
Commit ea9d4c36 authored by tcarver's avatar tcarver
Browse files

remove DatabaseLocationParser from openDatabase()

parent af3e92dc
Branches
Tags
No related merge requests found
......@@ -76,7 +76,6 @@ import uk.ac.sanger.artemis.components.database.DatabaseEntrySource;
import uk.ac.sanger.artemis.components.database.DatabaseJPanel;
import uk.ac.sanger.artemis.util.Document;
import uk.ac.sanger.artemis.util.FileDocument;
import uk.ac.sanger.artemis.util.DatabaseLocationParser;
/**
* Project file management system using a properties file.
......@@ -726,14 +725,7 @@ public class ProjectProperty extends JFrame
*/
private void openDatabase(final Splash splash, final String featureName)
{
String loc = System.getProperty("chado");
DatabaseLocationParser dlp = new DatabaseLocationParser(loc);
// int idx;
// if((idx = loc.indexOf("?")) > -1 && loc.indexOf("?user=") == -1)
// loc = loc.substring(0, idx+1) + "user=" + loc.substring(idx+1);
final String loc = System.getProperty("chado");
if( entry_source == null ||
!entry_source.getLocation().endsWith(loc) )
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment