Fix bug that prevents loading Goby alignments with IGV version 485. Instead of calling locator.getType().equals("mage-tab"), we call "mage-tab".equals(locator.getType()). While these statements may seem equivalent at first glance, they are not. It is a good idea to call equals on a constant string, "mage-tab" here, rather than on an object that may be null (e.g., locator.getType() happens to be null when the file being loaded is a filename for a Goby alignment). In version 485, pushed today early morning, an NPE is raised and code that could load the filename never gets a chance to run.
Fix bug that prevents loading Goby alignments with IGV version 485. Instead of calling locator.getType().equals("mage-tab"), we call "mage-tab".equals(locator.getType()). While these statements may seem equivalent at first glance, they are not. It is a good idea to call equals on a constant string, "mage-tab" here, rather than on an object that may be null (e.g., locator.getType() happens to be null when the file being loaded is a filename for a Goby alignment). In version 485, pushed today early morning, an NPE is raised and code that could load the filename never gets a chance to run.

git-svn-id: b5cf87c434d9ee7c8f18865e4378c9faabe04646@488 17392f64-ead8-4cea-ae29-09b3ab513800

amwenger/igv,itenente/igv,godotgildor/igv,amwenger/igv,igvteam/igv,godotgildor/igv,itenente/igv,itenente/igv,igvteam/igv,amwenger/igv,igvteam/igv,amwenger/igv,itenente/igv,amwenger/igv,itenente/igv,godotgildor/igv,godotgildor/igv,godotgildor/igv,igvteam/igv,igvteam/igv