Skip to content
Snippets Groups Projects
Commit 788cb049 authored by tjc's avatar tjc
Browse files

reformat

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@10219 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent ff4be7c8
No related branches found
No related tags found
No related merge requests found
......@@ -707,10 +707,8 @@ class TransferAnnotationTool extends JFrame
private boolean isDatabaseEntry;
private String[] geneNames;
public TransferFeaturePredicate(final String key,
final boolean sameKey,
final boolean isDatabaseEntry,
final String[] geneNames)
public TransferFeaturePredicate(final String key, final boolean sameKey,
final boolean isDatabaseEntry, final String[] geneNames)
{
this.key = key;
this.sameKey = sameKey;
......@@ -727,7 +725,8 @@ class TransferAnnotationTool extends JFrame
String chadoGeneName = null;
if (isDatabaseEntry)
{
GFFStreamFeature gffFeature = ((GFFStreamFeature)targetFeature.getEmblFeature());
GFFStreamFeature gffFeature =
((GFFStreamFeature) targetFeature.getEmblFeature());
if (gffFeature.getChadoGene() != null)
chadoGeneName = gffFeature.getChadoGene().getGeneUniqueName();
}
......@@ -736,8 +735,8 @@ class TransferAnnotationTool extends JFrame
for (int i = 0; i < geneNames.length; i++)
{
if( geneNames[i].equals(thisFeatureSystematicName) ||
(chadoGeneName != null && geneNames[i].equals(chadoGeneName)) )
if (geneNames[i].equals(thisFeatureSystematicName)
|| (chadoGeneName != null && geneNames[i].equals(chadoGeneName)))
{
geneName = geneNames[i];
return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment